christo16 Posted September 4, 2007 Share Posted September 4, 2007 I am trying to write a gallery script that will auto crop an image to make it look right in a specific size thumbnail. For example, If you have a picture that is 1024 x 768, it won't look right if you make it into a thumbnail (200 x 200) without cropping it. This is something that flickr does with all their thumbnails. I have no idea where to start. Thank you for any help!! -Chris Quote Link to comment https://forums.phpfreaks.com/topic/67873-auto-cropping-of-images/ Share on other sites More sharing options...
matthewhaworth Posted September 4, 2007 Share Posted September 4, 2007 http://uk3.php.net/manual/en/function.imagecopyresized.php That function may help you . Edit: haha someone's just had another problem in another thread about something similar. Quote Link to comment https://forums.phpfreaks.com/topic/67873-auto-cropping-of-images/#findComment-341159 Share on other sites More sharing options...
wildteen88 Posted September 4, 2007 Share Posted September 4, 2007 Prehaps have a look at this post. The script does exactly as you want but it creates three different sized thumbnails, it can be easily changed so it creates just one thumbnail. Quote Link to comment https://forums.phpfreaks.com/topic/67873-auto-cropping-of-images/#findComment-341412 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.