Hello, i've got a question about making thumbnails;
Here's the deal. I'm using a pre-made script that stores images inside a database.
If it were up to me, I would have written the code to store them on the filesystem, but I didn't write it.
anyway, I know of a way to do this by copying an image to a temporary folder then using imagecreatefromjpeg() or png..
[ The source for the above mentioned code can be viewed here: http://www.deadlysin3.net/thumbnail_image.phps ]
That code works pretty good - if you only want to display one image at a time.
I'm looking to display 5+ images at any given time, and i'm looking for a way to write each and every requested image to a temporary file, so the thumb can be created on the fly.
Using the above code, only one image with the name temp1.jpg is created, though re-written five different times in order to show all 5 images. And the images aren't showing up in the correct area. Every time I reload the page the images are re-arranged.
I know the method i'm wanting to use isn't the most efficient way, but either way i'm interested in learning how it can be done.
If you need more information than this please let me know 🙂
Thanks!
-DeadlySin3