sewpafly / post-thumbnail-editor

Wordpress Plugin to manually edit post thumbnails
http://wordpress.org/extend/plugins/post-thumbnail-editor/
32 stars 18 forks source link

Add selection indicator for crop area #52

Closed sewpafly closed 11 years ago

sewpafly commented 12 years ago

From http://wordpress.org/support/topic/plugin-post-thumbnail-editor-minimum-pixelamount-indicator

When you have you post thumbnail size set to crop, your plugin actually allows me to resize the frame, that actually defines the crop area, proportionally, which is great. But it would be even better, when this little fram would turn green once the amount of pixels inside the frame is higher than the amount of pixels you need for a non-stretched image in that postthumbnail size.

Example: Let's say my postthumbnail size is called "small-tile" and has a size of 100x200 pixels with cropped enabled.

Now I can change the crop area, but I don't actually see when I have at least 100x200, so I could end up with a 50x100 area selected which means the image is getting scaled up and so loses quality.

If you could just add this little feature the frame would turn green once you reach at least 100x200 and then stays green. So if you resize the cropping-frame to 50x100 it would stay white and if you resize it to 100x200 or above it would turn green and stay green, because this indicates that the image area that we are about to crop is actually big enough for the system so that it doesn't have to stretch the image.

Maybe you can also add a field that shows the actual size of the selected area. If it is too hard to turn the cropping frame green you can also just color these fields green once you reach at least the size of the actual thumbnailsize you are working on.

sewpafly commented 11 years ago

Fixed with 7cb9359ab85b8dcab92b79c00793198dce00f94f