echoninja Posted March 6, 2006 Share Posted March 6, 2006 Ive looked on various forums and websites but cant find any results. I want to upload an image twice, 1st will be normal size, 2nd will be a cropped 100x100 image, now, I DONT want to resize it, i want a 100x100 area of the image displayed. Is it possible to do with php? Quote Link to comment https://forums.phpfreaks.com/topic/4179-cropping-an-image/ Share on other sites More sharing options...
litebearer Posted March 6, 2006 Share Posted March 6, 2006 There are loads of scripts to do what you desire.Here is just one of them --- [a href=\"http://php.amnuts.com/index.php?do=view&id=12\" target=\"_blank\"]http://php.amnuts.com/index.php?do=view&id=12[/a]Lite... Quote Link to comment https://forums.phpfreaks.com/topic/4179-cropping-an-image/#findComment-14532 Share on other sites More sharing options...
echoninja Posted March 6, 2006 Author Share Posted March 6, 2006 Ok ill explain a bit moreIm looking to learn how to do it on the fly so when I hit "upload" it uploads 2 images and one gets cropped by a defined variable of width and hieght Quote Link to comment https://forums.phpfreaks.com/topic/4179-cropping-an-image/#findComment-14556 Share on other sites More sharing options...
echoninja Posted March 7, 2006 Author Share Posted March 7, 2006 *ahem* page 4 i think not Quote Link to comment https://forums.phpfreaks.com/topic/4179-cropping-an-image/#findComment-14998 Share on other sites More sharing options...
echoninja Posted March 8, 2006 Author Share Posted March 8, 2006 :( Quote Link to comment https://forums.phpfreaks.com/topic/4179-cropping-an-image/#findComment-15361 Share on other sites More sharing options...
AV1611 Posted March 8, 2006 Share Posted March 8, 2006 I'm no expert on this, but it seems to me you should be able to do this in PHP with the GD/GD2 extensions if they are installed on you PHP server.... You should read up on that for starters... Quote Link to comment https://forums.phpfreaks.com/topic/4179-cropping-an-image/#findComment-15365 Share on other sites More sharing options...
echoninja Posted March 12, 2006 Author Share Posted March 12, 2006 thanks ill give a shot looking up GD Quote Link to comment https://forums.phpfreaks.com/topic/4179-cropping-an-image/#findComment-16570 Share on other sites More sharing options...
keeB Posted March 12, 2006 Share Posted March 12, 2006 [!--quoteo(post=354082:date=Mar 12 2006, 04:42 AM:name=EchoNinja)--][div class=\'quotetop\']QUOTE(EchoNinja @ Mar 12 2006, 04:42 AM) [snapback]354082[/snapback][/div][div class=\'quotemain\'][!--quotec--]thanks ill give a shot looking up GD[/quote]easier would be to use imagemagick,,, Quote Link to comment https://forums.phpfreaks.com/topic/4179-cropping-an-image/#findComment-16614 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.