Results 1 to 10 of 10
  1. #1
    Join Date
    Dec 2007
    Posts
    4
    Plugin Contributions
    0

    Default Let's Contribute & Make This Happen!

    Hello,

    The only thing annoying me is that on main page, sideboxes and other pages, including additional images, below product description ....... all are being taken from the folder where big images of the products are kept ..... that means, if on your home page you have 12 products shown in each of the modules, i.e., New Products, Upcoming Products, Featured Products, all together they will sum up to 36 product images and if each image size is approx. 25kb, 36 images will weigh 900 KB, which will obviously make you page load extremely slow.

    Although all images are shown in small dimensions, but they are all big images, which also makes them look very poor.

    I have created two folder inside the images folder 'big' and 'thumgs'. I have created images in two dimensions with same name and kept the bigger ones in the folder 'big' and smaller ones in the folder 'thumbs'.

    Now I have modified modified the code of the file includes/modules/additional_images.php. What it does is, it now shows smaller images in Additional Images on product page, but if you click any one of them, they will open the same image in the folder 'big'.

    Now I want the same to happen on main page in the boxes of "New Products", "Special Products", "Upcoming Products", etc. and also in the side boxes with product images.

    Any contribution will be very much appreciated, thanks.

    I am attaching the file "additional_products.php" but with extension '.txt', please change the extension after the download.
    Attached Files Attached Files

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Let's Contribute & Make This Happen!

    Zen Cart already has support for multiple images-per-product: small, medium, large.

    FAQ: https://www.zen-cart.com/tutorials/index.php?article=58
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Let's Contribute & Make This Happen!

    The Image Handler 2 mod is very good as well and will take care of the details for you.

    You can download it here...
    http://www.zen-cart.com/index.php?ma...roducts_id=117

    Regards,
    Christian.

  4. #4
    Join Date
    Dec 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Let's Contribute & Make This Happen!

    Dear DrByte and CJPinder,

    I will read about it, it would be great if this support is built-in, thanks.

  5. #5
    Join Date
    Dec 2005
    Posts
    1,059
    Plugin Contributions
    2

    Default Re: Let's Contribute & Make This Happen!

    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

  6. #6
    Join Date
    Dec 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Let's Contribute & Make This Happen!

    CJPinder,

    I have downloaded and installed IH2 and installed it, its a very good product, but it lacks the support of multiple images, I wish it had that functionality.

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Let's Contribute & Make This Happen!

    You don't need IH2 for multiple images. That is a built-in function of Zen Cart - read the FAQ referenced above.

  8. #8
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Let's Contribute & Make This Happen!

    Hi, Sheril
    Quote Originally Posted by Sheril View Post
    I have downloaded and installed IH2 and installed it, its a very good product, but it lacks the support of multiple images, I wish it had that functionality.
    It does support multiple images, you just have to name the images correctly. If you read the tutorials at the links posted above it will be more clear.

    Regards,
    Christian.

  9. #9
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Let's Contribute & Make This Happen!

    If you go into your admin->tools->Image Handler 2, threre's a box tat says "Click to add a new image to this product". I'd say that handles multiple images per product.

  10. #10
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Let's Contribute & Make This Happen!

    IH2 works for main images as well as additional images,
    Zen cart PCI compliant Hosting

 

 

Similar Threads

  1. Ever seen this happen?
    By CnTGifts in forum General Questions
    Replies: 3
    Last Post: 10 May 2009, 07:42 AM
  2. How can I make this happen?
    By NJ2NC06 in forum General Questions
    Replies: 2
    Last Post: 2 Nov 2008, 10:25 AM
  3. Why would this happen?
    By jinjeet in forum General Questions
    Replies: 2
    Last Post: 23 Nov 2007, 06:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg