[SOLVED] auto thumb image from a blob problem
Posted: Mon Apr 17, 2006 9:24 am
OK, i am having a problem, i have got lots of images stored on my database, and i want to display them, easy enough, but how would i auto thumbnail then?
I can thumnail images, and i can retrieve images from database but how would i do them together?!
to make that a bit more clear,
to thumbnail an image i would call thumb.php (img src = thumbnail.php?im=imagename.jpg)
to get image from database i call <img src="display.php?id=<? echo "$row[0]"; ?>">
but i just cant see a way round getting the image from the database then thumnailing it as calling from database is just getting the data from blob field then displaying it as an image. I have looked and looked for a solution with nu luck so far
Hope this explains it a bit better
Cheers for any help
I can thumnail images, and i can retrieve images from database but how would i do them together?!
to make that a bit more clear,
to thumbnail an image i would call thumb.php (img src = thumbnail.php?im=imagename.jpg)
to get image from database i call <img src="display.php?id=<? echo "$row[0]"; ?>">
but i just cant see a way round getting the image from the database then thumnailing it as calling from database is just getting the data from blob field then displaying it as an image. I have looked and looked for a solution with nu luck so far
Hope this explains it a bit better
Cheers for any help