Link to home
Start Free TrialLog in
Avatar of detox1978
detox1978Flag for United Kingdom of Great Britain and Northern Ireland

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?

Avatar of Raynard7
Raynard7

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.
Avatar of detox1978

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/

You say you'd like to have something similar to phpthumb; why not use phpthumb itself?  What would you like to see different?
i can use phpthumb, just though someone might have a script i could modify.  Save me having to make myself.
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
ASKER CERTIFIED SOLUTION
Avatar of detox1978
detox1978
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Closed, 500 points refunded.
Vee_Mod
Community Support Moderator