Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2009
    Posts
    27
    Plugin Contributions
    0

    Default What am I doing wrong with sub dirs in small,medium,large images directorys

    Am I doing something wrong?????

    I have a number of suppliers images so I want to keep them in seperate directorys.

    So in images/
    the directorys are:
    supplier1/
    supplier2/
    etc......

    then in the sized directorys
    images/small/supplier1/
    images/small/supplier2/

    images/medium/supplier1/
    images/medium/supplier2/
    etc.....


    but the only images recognised are in:
    images/supplier1/*
    images/supplier2/*

    what am I doing wrong?

    The data was uploaded with easypopulate with the image column data set as "supplier1/imagename.jpg"


    have I made a mistake in some other config?????

  2. #2
    Join Date
    Aug 2004
    Posts
    247
    Plugin Contributions
    0

    Default Re: What am I doing wrong with sub dirs in small,medium,large images directorys

    I do not separate my images my manufacturer, I just make sure the image names are different. But, from what you posted, I did not see your custom-template file. My image files look like this: store/images/large/CUSTOM_TEMPLATE/

    then the image name follows.

    I think that this would work: store/images/large/CUSTOM_TEMPLATE/supplier1/

    followed by the image name.

    give it a try and let us know if it works. But, you definitely need to put in your custom template, so that when you upgrade your images will not be lost.

  3. #3
    Join Date
    Dec 2007
    Location
    Acton, California
    Posts
    427
    Plugin Contributions
    1

    Default Re: What am I doing wrong with sub dirs in small,medium,large images directorys

    Did you follow this tutorial?
    http://tutorials.zen-cart.com/index.php?article=58

    Be sure to add the trailing _MED _LRG

    I use just the image name for my small images and also in EP for that's what will be used the most.

    Medium images should be something like this.. images/medium/supplier2/someimage_MED.jpg

    large images should be something like this.. images/large/supplier2/someimage_LRG.jpg
    Dave
    FourSaleBuyU.com (true Auction and 'Make-an-Offer' site)

  4. #4
    Join Date
    Feb 2009
    Posts
    27
    Plugin Contributions
    0

    Default Re: What am I doing wrong with sub dirs in small,medium,large images directorys

    Sorry sorted it out, I assumed the _SML _MED _LRG were not required as the files were in the small medium large directorys.

    It just seemed that would be the logical way to do it, but now I think about it I suppose requiring the "_size" is logical as it prevents data loss if someone moves all files into one directory, does a search and see multiple files with the same name, etc.....

    (I SHOULD HAVE RTFD PROPERLY)

    What do you mean by requiring CUSTOM_TEMPLATE??

    I was thinking of having the images directory as a symbolic link to another directory so the rest of my site could share images, how does CUSTOM_TEMPLATE work?

 

 

Similar Threads

  1. Product images setup Small-Medium-large?
    By hara in forum General Questions
    Replies: 8
    Last Post: 9 Oct 2008, 06:55 AM
  2. Small, Medium, Large Images in New Folder
    By monkeytastic in forum General Questions
    Replies: 1
    Last Post: 7 Mar 2008, 01:24 AM

Bookmarks

Posting Permissions

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