AXM Posted July 31, 2004 Share Posted July 31, 2004 Nate, Great update to your wonderful OTF mod I already installed a couple months ago. I haven't installed this one yet, but i'm sure it'll work fine. Yeah it would be nice for it to save the image in a cache directory with a filename such as "imagename_small.jpg" or something like that. Here's my thoughts on that: I was actually going to attempt to modify your contribution to search the manufacturer directory (I have a folder for each manufacturer, an image subfolder, and soon to be a thumbnail subfolder) for the desired image in the thumbnail subfolder. If it does exist then it'll load that image unmodifed as it is already resized manually (Photoshop resizes a little cleaner and small filesized than the GD Library). If the thumbnail image does not exist then it'll check the image cache folder for the thumbnail. If no image cache thumbnail is found, one will be created. I don't think everyone is going to want to manually create multiple sized thumbnails, but i'm obsessive compulsive so I don't mind :rolleyes: . But it still gives the flexibility whether I do it for everything or just some products. My only concern is whether check to see if a file exist takes extra unnecessary resources. I'm sure the one check to see if the cached image exists is going to be A LOT faster than command GD to create a new one everytime. Well i'm going to attempt this pretty soon as my estimated download times are in the upper mid range compared to my competitors :( . Once again...another great contribution Nate. Thanks. Quote I ♥ PHP/MYSQL/CSS Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.