Forums / Templates, Stylesheets, Page Layout / Some small thumbnails still scaling on the fly

Some small thumbnails still scaling on the fly

Locked

Started by otakushark on 8 Jan 2008, 7:21 PM · Views: 1,001

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
8 Jan 2008, 7:21 PM
#1
otakushark avatar

otakushark

New Zenner

Join Date:
Dec 2007
Location:
Northern California
Posts:
45
Plugin Contributions:
0

Some small thumbnails still scaling on the fly

I've been putting pre-scaled thumbnails (the _MED and _LRG thing) on the site, and it's working for 85% of the product listings. There are four small thumbnails that are still being dynamically scaled by Zen Cart, and I can't figure out why. I've confirmed that the image files are all present, named properly, scaled to the right sizes, and open in an image viewer.

I've tried flushing the cache and even running Window Washer. I've also tried this in FF, IE, Opera and Maxthon with the same result.

On a side note, I noticed that the "graininess" of the dynamically scaled images is worse in FF than the other browsers. IE does a little better job, and Opera smoothed them out so much that for a moment I thought it was working properly. I added a small red do to the lower right corner of the small thumbnails so I could tell at a glance whether the image was pre-scaled or not. None of the browsers show the thumbs in question with the red dot, so they are definitely still being scaled on the fly.

The site is Nelson Fine Arts

The problem thumbs are:
Landscapes|Napali Sunset
Marine Life|Grotto Rhapsody
Marine Life|Passage to Paradise
Marine Life|Racing the Wind

Here's what the thumbs should look like if they aren't still being dynamically scaled:




8 Jan 2008, 7:37 PM
#2
otakushark avatar

otakushark

New Zenner

Join Date:
Dec 2007
Location:
Northern California
Posts:
45
Plugin Contributions:
0

Re: Some small thumbnails still scaling on the fly

Oops. forgot the link!

Nelson Fine Arts

8 Jan 2008, 7:39 PM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,691
Plugin Contributions:
0

Re: Some small thumbnails still scaling on the fly

The ones that are getting confused all have spaces in their names - have you tried renaming them with an underscore or dash between words?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

8 Jan 2008, 9:42 PM
#4
otakushark avatar

otakushark

New Zenner

Join Date:
Dec 2007
Location:
Northern California
Posts:
45
Plugin Contributions:
0

Re: Some small thumbnails still scaling on the fly

All the images on the site have spaces, but I decided to try your suggestion anyway, and I'm glad I did, since it led me to the actual solution. When I went to the admin Categories|Products to upload the renamed file, I discovered that the directory had been set to the default /images instead of /images/nfa when I had made those four entries. Therefore, Zen Cart wasn't seeing the _MED and _LRG entries for those items because it expected to see them in a different directory.

Thanks! I think that was the last item on the punchlist for this site!

8 Jan 2008, 9:53 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,691
Plugin Contributions:
0

Re: Some small thumbnails still scaling on the fly

Glad to hear you found the problem, but your should still rename all of the images. Spaces in file names can cause problems.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.