Crop

Permalink Browser Info Environment
Crop effect would be awesome on this addon!

Type: Discussion
Status: New
jimmybj
View Replies:
jordanlev replied on at Permalink Reply
jordanlev
Thanks for the feedback. How exactly would the cropping work? Like would someone have to crop each image individually? Or would it just crop every image in the fileset automatically? If it cropped them automatically, how would it know which portions of the image to crop out (just centered I guess)?

There was a discussion about this in the forums recently -- seehttp://www.concrete5.org/index.php?cID=70847... if you're interested.
jimmybj replied on at Permalink Reply
jimmybj
I would like it to Crop every image automatically like i want a thumbnail set to (150x120px) it crops the image to fit the gallery like the rest on the images! :)
jordanlev replied on at Permalink Reply
jordanlev
I probably won't have time to get to this for a while, but if I ever do, it looks like there are 2 ways to crop images: just cut out the center, or try to resize it down to either the width or the height (whichever is smaller), then chop off the other dimension so it fits.
Which of these do you think would be better visually? (I'm thinking the resize-then-crop makes more sense, but curious what others think).
chameleondesign replied on at Permalink Reply
chameleondesign
change this in the controller - line 49

$thumb = $ih->getThumbnail($file, $this->thumbWidth, $this->thumbHeight);

$thumb = $ih->getThumbnail($file, $this->thumbWidth, $this->thumbHeight, true);

This will crop them automatically to fit
jordanlev replied on at Permalink Reply
jordanlev
Wanted to let you know that there is a new, more advanced (but not free) version of this gallery that includes image cropping:
http://www.concrete5.org/marketplace/addons/deluxe-image-gallery/...

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.