Using catch_the_image to get the thumbnail size

You can add your own named image size by adding code to your functions.php. Something in the line of add_theme_support(‘post-thumbnails’);//might not be necessary add_image_size(‘front-end-150’, 300, 300); Now you should be able to use in your catch_that_image() wp_get_attachment_image($post->ID, ‘front-end-150′) for all newly uploaded images. Your past images don’t have the front-end-150, so you might want to … Read more

Cropping thumbnails to specific dimensions on front end post

media_handle_sideload handles the uploads in the same way the normal upload does. That means, when you upload a remote image (YouTube thumbnails in your case) it will automatically create the thumbnails of sizes registered using add_image_size. So, what you need to do is create a thumbnail of desired size and call it in your loop. … Read more

VT-resize (great alternative to timthumb) : Errors cropping (litespeed, centos 6.3)

The Problem here lies within the Plugin, which utilizes the deprecated Function image_resize. I’m not 100% sure that this is the only Problem, but try rewriting the Plugin using the new [WP_Image_Editor][1] Class. The next Step to check is if the Plugin can write the files, and if the directory permissions are set correctly. See … Read more

Auto-crop width, not height

WordPress cant do it alone. You need a script called Timthumb.php to do it. This is really simple to use. Check it out: https://code.google.com/p/timthumb/ And the best: wordpress will not store multiple versions of your images when crop. It will be done by the script on demand.

Thumbnail generating and posting

How image gets cropped depends on how the respective size was defined with add_image_size(). In the past it was limited to soft or hard crop modes, always respective to the center of image. Now you can also pass more elaborate directions for the crop, such as array( ‘left’, ‘top’ ). See the linked documentation for … Read more

Force square image crop during upload?

Your assumption that all images are uploaded from a browser is false. Currently images can be uploaded via the XML-RPC protocol and once the REST API will be merged it will also be used to upload images. Images can also be imported from other sites. The point is that you should not assume that images … Read more