Have you tried using just a session ID with all the fields stored locally? Use the session ID as the key to find all the values, e.g. session ID is a column name in a database, or session ID is key of a tied hash. CGI::Session has a cookbook and a nice tutorial if you want to try it.
Also, why don't you use the "height" and "width" attributes in the <img> tag to create your thumbnail images? For example, the original image is 400x600, you could put a thumbnail using just the attributes, i.e. <img height="40" width="60" src="img.gif">. Unless you are doing other transformations with Magick, this may work a little faster for you.
-- hiseldl What time is it? It's Camel Time!
| [reply] [d/l] [select] |
Also, why don't you use the "height" and "width" attributes in the <img> tag to create your thumbnail images? For example, the original image is 400x600, you could put a thumbnail using just the attributes, i.e. <img height="40" width="60" src="img.gif">.
ARRRGGGHHHH. The world would be a better place if people would STOP DOING THIS. The point of a thumbnail is to give you a preview of the image before you download the whole thing. By doing your thumbnails in this manner, you force the browser to download the entire 400x600 image, and then display it as a tiny representation of itself. You didn't save anything, you might as well have just shown it full size. It may work great for you when you view the page from your hard drive while you develop it, but it's a huge waste of time and bandwidth to do this over the net.
We're not surrounded, we're in a target-rich environment! |
---|
| [reply] |
That's a great answer! Thanks. I'll add that to my tips and techniques page. :-)
dek did say it is on an intranet, so I didn't think that the bandwidth issues would be so great.
-- hiseldl What time is it? It's Camel Time!
| [reply] |