Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Image suffixs not working

Image suffixs not working

Locked

Views: 716

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
6 Nov 2010, 4:10 PM
#1
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Image suffixs not working

So I have a image, it's called picture.png

I want to make a med, and lrg version of it so i make to more files name them picture_MED.png, picture_LRG.png and put them into the same folder as picture.png... That doesnt work it just comes up as additional images... then I try to make a large folder and a medium folder, the images wont even show up. What am I doing wrong!

Zen Cart Version: 1.3.9d

6 Nov 2010, 4:30 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Image suffixs not working

If you peek in the Tutorials/FAQ and search on:
image

you can get a lot more details ... but the basic issue is where you have loaded the files ...

/images/picture.png
/images/medium/picture_MED.png
/images/large/picture_LRG.png

additional images:
/images/picture_something.png

additional large images:
/images/large/picture_something_LRG.png

8 Nov 2010, 11:20 PM
#3
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Image suffixs not working

Thanks it works perfect now!!!

8 Nov 2010, 11:32 PM
#4
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Image suffixs not working

what do you mean by "Something"

I have for additional images...

root/images/tshirts/4stars/stars_01.png
root/images/tshirts/4stars/medium/stars_01_MED.png
root/images/tshirts/4stars/large/stars_01_LRG.png

And it's not working for additional images...

Click here to link to product...

8 Nov 2010, 11:54 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Image suffixs not working

Your "something" is using the:
stars.png
stars**_01**.png
starts**_02**.png

the base products_image is:
stars.png

the extention is:
stars**.png**

stars.png "owns" all files that start with:
stars

and end in .png

NOE: there is only 1 Medium image for display on the product _info page ... there are not multiple Medium images ...

9 Nov 2010, 12:02 AM
#6
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Image suffixs not working

So i cannot have medium and large images for "additional images"

Because what i wanted was you see the color, lets say, "blue" (in additional images) so click on it, and a blue t shirt comes up... Your saying that is not possible...

P.S. Not talking about main image...

9 Nov 2010, 2:25 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Image suffixs not working

Additional images use the small image for page display and the large image for popup display. They do not use the medium images for anything.

17 Nov 2010, 12:36 AM
#8
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Image suffixs not working

gjh42

I tried putting stars_01_LRG in the large folder and it did not come up when I clicked enlarge link for additional images.

Not sure if you understand me, but I have 20 additional images and was wondering if the _medium (for product info) and _large (for popup) image suffix's work for additional images because my additional images are taking too long to load.

17 Nov 2010, 1:30 AM
#9
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Image suffixs not working

btw i have a folder for each t-shirt
the folder for this shirt is:
/images/tshirts/4stars/

then /images/tshirts/4stars/stars_01.png
and /images/tshirts/4stars/large/stars_01_LRG.png

17 Nov 2010, 1:31 AM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Image suffixs not working

Forget the medium images for additional images - they are not used, only small (base) and large.
Here is your problem:

root/images/tshirts/4stars/stars_01.png
root/images/tshirts/4stars/medium/stars_01_MED.png
root/images/tshirts/4stars/large/stars_01_LRG.png

The folder structure needs to be

root/images/tshirts/4stars/stars_01.png
root/images/medium/tshirts/4stars/stars_01_MED.png
root/images/large/tshirts/4stars/stars_01_LRG.png

17 Nov 2010, 1:37 AM
#11
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Image suffixs not working

Thanks!!!! Finally!!!!

17 Nov 2010, 1:41 AM
#12
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Image suffixs not working

:) Thanksss again!