Page 1 of 1

Photo Uploader and Viewer - PHP MySQL

Posted: Wed Aug 12, 2009 2:41 am
by edkellett
Can anyone please point me in the right direction.

I am looking for a photo uploader tutorial that will take photos and reduce them in size, create two copies (one thumb and one larger version) and upload them to a specified directory and enter into mysql database. Something like what is in facebook would be great.

Also, along the same line, can anyone tell me how I can design using mysql database and php (and maybe flash) so my photos open in a really nice gallery. The kind that resizes the photos and opens in front of the screen.

Thanks a mill in advance...

Re: Photo Uploader and Viewer - PHP MySQL

Posted: Wed Aug 12, 2009 10:05 am
by pickle
I'm almost positive you're never going to find one tutorial that shows you how to do all that stuff. Break the problem down into smaller chunks & you might have more luck:
  • How to upload files
  • How to move uploaded files
  • How to create thumbnails of images with PHP (and GD)
  • Lightbox

Re: Photo Uploader and Viewer - PHP MySQL

Posted: Wed Aug 12, 2009 10:41 am
by edkellett
Thanks for your response...

I actually have some script that does most of what I want. Uploads and stores in a database and even makes a thumbnail version.

But it works using a normal form and the interface is a bit shoddy... It tends to get stuck quite a bit too...

Surely almost all web designers come across this exact issue with many of their sites...

What is lightbox by the way?

Cheers

Re: Photo Uploader and Viewer - PHP MySQL

Posted: Wed Aug 12, 2009 10:45 am
by pickle
I don't know exactly what your issue is, so it's hard to say how wide-spread it is.

If you're having specific problems with specific parts of your code, please post the relevant snippet & we can help. It's impossible to help when the problem isn't clear.

Google has a pretty good idea of what Lightbox is ;)