Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Posts
    166
    Plugin Contributions
    0

    Default Additional IMages

    Hi All,


    Quick Question. I name my images the model number. However some products are model number PCA-223 & another PCA-223A

    When viewing the page PCA-223 both images appear.

    I need additional images turned on as I use them but all additional images are suffixed with _01 _02 etc.

    What can I do?

  2. #2
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    541
    Plugin Contributions
    0

    Default Re: Additional IMages

    1. Change the way how zencart looks for additional images. Maybe allow only the underscore as a delimiter for additional images. in /includes/modules/additional_images.php or similar

    or

    2. Change your names so that one is not part of onther product's image name.

  3. #3
    Join Date
    Dec 2008
    Posts
    166
    Plugin Contributions
    0

    Default Re: Additional IMages

    Hi,

    I am trying to edit module/additional_images.php but cannot get it to work.

    Does anyone now what code to change?

    thanks

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

    Default Re: Additional IMages

    It would probably be much easier to rename the images. For example, rename PCA-223A to PC-A-223A. It'll still be readable for you, but Zen Cart will see it as completely different from PCA-223.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  5. #5
    Join Date
    Dec 2008
    Posts
    166
    Plugin Contributions
    0

    Default Re: Additional IMages

    The problem is there are a lot of images all with there model numbers so it would take a lot of effot to rename them all. surely it must be possible..

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

    Default Re: Additional IMages

    WHen a product's images are in a subfolder like /images/books/ instead of /images/, the _ is required as an additional images delimiter. Finding the code that does that would be a first step to making it required everywhere.

  7. #7
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: Additional IMages

    I use the model number as the image name on my website too, if you want to go that route you should consider splitting the images folder into sub folder, in my case I have a different folder for each brand.

    Second you can download a utility tool that will do bulk rename for you, I am using bulk rename utility its free and does wonder.

    Or you can change the way Zen Cart handle the image name. I am using image handler so I changed the additional image reference from (-) to (_).

 

 

Similar Threads

  1. Replies: 2
    Last Post: 5 Sep 2014, 03:28 AM
  2. v150 Attribute Images & Additional Images Replace Main Image Onclick w/ Zoom
    By rbarbour in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 1 Mar 2013, 10:46 PM
  3. Additional Product Images - Add title below all images
    By sports guy in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 Dec 2011, 05:54 AM
  4. Layout of Additional of Additional Product Images - Possible Bug?
    By RatMonkey in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Mar 2011, 02:21 PM
  5. Additional Large Images WITHOUT additional Thumbnails
    By haasPlay in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Sep 2006, 04:54 PM

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