Featured Images on Front Page

Two categories should do the trick. Featured posts – This category should be applied to posts that you want to show on your home page, with that images grid. You can limit the number of posts (so only the, for example, 6 newest ones would appear) and select the featured image for them on each … Read more

Exact image sizes

You’ll want to use add_image_size() in your functions.php to tell WordPress you’d like it to create a new image size when you upload images: add_image_size( ‘custom_image_size_name’, 290, 180, true ); Using the value true will tell WordPress you want it to crop the image to those exact dimensions. Once you do that and upload an … Read more

Media sizes aren’t being created – server config?

It looks like “Easy Apache” handles both Apache and PHP. Only a guess, but you have recompiled Apache/PHP without the needed image libraries– either GD or ImageMagick. Without those, the server cannot physically resize images. You can use a phpinfo() script to see if the libraries are present. If not, you will need to recompile– … Read more

Hook for saving an image after editing

wp_save_image_editor_file filter fires after. add_filter( ‘wp_save_image_editor_file’, ‘custom_wp_save_image_editor_file’, 10, 5 ); function custom_wp_save_image_editor_file( $saved, $filename, $image, $mime_type, $post_id ){ //Your logic here return $saved; }