Photo Uploader and Viewer - PHP MySQL

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
edkellett
Forum Newbie
Posts: 8
Joined: Wed May 07, 2008 11:20 am
Location: ireland

Photo Uploader and Viewer - PHP MySQL

Post 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...
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Photo Uploader and Viewer - PHP MySQL

Post 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
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
edkellett
Forum Newbie
Posts: 8
Joined: Wed May 07, 2008 11:20 am
Location: ireland

Re: Photo Uploader and Viewer - PHP MySQL

Post 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
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Photo Uploader and Viewer - PHP MySQL

Post 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 ;)
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply