Forum Moderators: coopster

Message Too Old, No Replies

thumbnail creation

simple script

         

WhosAWhata

8:44 pm on Mar 11, 2004 (gmt 0)

10+ Year Member



i know that php can be very good at image creation,
what is the best way to index a folder "./img" and make thumbnails for all jpeg files with the same name in folder "./thumbs"
so from the root you'd have

-resize.php

/img
-pic1.jpg
-pic2.jpg
-index.php

/thumbs
-pic1.jpg
-pic2.jpg

i would really appreciate it if someone would help me with this script or direct me to a similar thread or website...thanks

Timotheos

9:31 pm on Mar 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There's one in the PHP Bag-O-Tricks [webmasterworld.com] but it uses a MySQL database. Hopefully you can use it or at least get some ideas from it.

WhosAWhata

9:48 pm on Mar 11, 2004 (gmt 0)

10+ Year Member



thanks...i'll try to decode it...i really don't need anything fancy

if you know anyother good ones, post links for them to, i love reading this kind of code to see how it works