edkellett Posted August 12, 2009 Share Posted August 12, 2009 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... Quote Link to comment Share on other sites More sharing options...
waynewex Posted August 12, 2009 Share Posted August 12, 2009 For a thumb, you'll need to look for code that will crop your images. And I'm guessing that you'll also want to resize the original in order to make sure that it's less than a specified width? If so, you'll want to resize the image. So, just crop and resize and leave the original in the temp folder for cleanup - note that crop and resize are two very different things. Cropping makes sure that the thumb is equal on both sides, width and height-wise. Resizing really only makes sure that an image is less than a certain width. There's plenty of code examples out there. Good luck. Quote Link to comment Share on other sites More sharing options...
guyfromfl Posted August 12, 2009 Share Posted August 12, 2009 this guy wrote alot of good articles. really jump started my phping. One of the articles is how to make a photo gallery http://www.php-mysql-tutorial.com/wikis/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.