detox1978
asked on
upload photo and create thumbnail with PHP
Hi All,
I need a PHP script(s) that will allow me to upload photos' and create a thumbnail at the same time. I've two folders /images/ and /thunbnails/ - ideally i'd llike it to rename the photo to the same thing in both folders?
Any suggestions?
I need a PHP script(s) that will allow me to upload photos' and create a thumbnail at the same time. I've two folders /images/ and /thunbnails/ - ideally i'd llike it to rename the photo to the same thing in both folders?
Any suggestions?
I'd suggest that you have a look at php photo album - http://www.phpalbum.net/ - this uploads the photos, and stores thumbnails, you should be able to modify this for your exact requirements.
ASKER
i've made a front-end for displaying the photo's. Currently i'm manually creating the thumbnails and using FTP to transer them.
But i'd like to do this via a web-based from using soimething similar to this function; http://phpthumb.sourceforge.net/
But i'd like to do this via a web-based from using soimething similar to this function; http://phpthumb.sourceforge.net/
You say you'd like to have something similar to phpthumb; why not use phpthumb itself? What would you like to see different?
ASKER
i can use phpthumb, just though someone might have a script i could modify. Save me having to make myself.
ASKER
not sure if phpthumb() can be used to create thumbnails, it looks like its used to create them on the fly (i.e when users browsing).
Here is a function that seems to do it, but i'm not sure how to use it....
http://www.thescripts.com/forum/thread563773.html
Here is a function that seems to do it, but i'm not sure how to use it....
http://www.thescripts.com/forum/thread563773.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Closed, 500 points refunded.
Vee_Mod
Community Support Moderator
Vee_Mod
Community Support Moderator