Cropping

Permalink
Seriously,

It would be very nice to add some kind of thumbnail cropping app in relation with the image chooser in concrete. ( User profile avatar photo as one in flash )

90% of my concrete client ask for a way to crop the thumbnails of a chosen picture.

I hope it's in the list of future feature coming.

Cheers,

olacom
 
bryanlewis replied on at Permalink Reply
bryanlewis
You can upload the same image 2 times and use the picnik integration for cropping one image (the thumbnail) and making it smaller. This is what I've been doing. Picnik works nicely too.
andrew replied on at Permalink Reply
andrew
Yep. I second this. If you upload an image, click "Edit" from that image in the file manager and you'll be able to use the image editor found at picnik.com. It's very, very nice. Don't have to setup an account or anything.

Very soon we'll be adding "duplicate image" to the file manager to make this process even easier.
olacom replied on at Permalink Reply
olacom
If you add a duplicate option to make that process easier, it would be interesting but it won't give website developers a way of controlling a thumbnail look for the client. I mean, if I don't want my clients to have to manually crop and set sizes, ect. most of them barely know how to check a email lol.

Picnik is very nice for when you want to edit a single files and achieve adjustment.

I'm thinking if you could add some extra options to the getThumbnail function. A cropping ratio to make square, rectangular shapes based on a % Top Left - Bottom Right ratio for cropping.

Andrew or Frz, I would like to see your point of view on this.

Cheers
jordanlev replied on at Permalink Reply
jordanlev
I've uploaded a modified image helper class which does this cropping for thumbnails (well, it always centers the crop -- no choice for position):
http://www.concrete5.org/index.php?cID=70847#89293...
olacom replied on at Permalink Reply
olacom
Thanks Jordan, i'll give it a try tomorrow!

Cheers,
melat0nin replied on at Permalink Best Answer Reply
melat0nin
Could the avatar editor not achieve this? It's extremely simple - it could take an image from the content block in a page then generate a thumbnail which is automatically made the 'thumbnail' attribute of that page.
frz replied on at Permalink Reply
frz
picnik does this and more. there's a duplicate asset in 5.4.1
olacom replied on at Permalink Reply
olacom
I don't know for anyone else Frz but all my clients hate picniks. Most of them don't want to edit, they just want the system to auto crop it for the layout. This is what we are talking about :) Auto crop on a ratio based is a must for web designer. :-)

My 2 cents
jbx replied on at Permalink Reply 1 Attachment
jbx
I actually uploaded this somewhere a while ago, but can't find it any more :S

But anyways, add this image helper to your helpers folder and then when you use getThumbnail, you can add in a crop ratio (4:3, or 1:1 for square) It will crop to the center of the image, but scale first to ensure you get the maximum image displayed.

Hope it helps someone...

Jon