Hello.
This is my first post on phpbuilder; I've read though several threads, but can't quite find the solution to what I'm trying to do...
I'm building a CMS for a client whose website features a photo image gallery. I've written the necessary scripts to be able to 1) display the records from the db (mySQL), 2) add/edit the record, and 3) handle a jpeg file upload. Is there any way with php to clone an uploaded jpeg file, resize it, and save it into my db as a "thumbnail"?
I know the easiest solution would be to require my client to upload two images, one large, detailed image, and a smaller thumbnail, but I doubt my client has either a) the equipment, b) the knowledge, and/or c) the time to be able to create thumbnails for all of their imaeges.
Any help would be appreciated!