Edit image itself

There is no default way to do this, but this popular plugin solves the issue for most people. I have no connection to the creators of this free plugin, but I’ve used it on several sites. https://wordpress.org/plugins/enable-media-replace/

variable crop option with add_image_size()

OK I have found out a way to do this. With the plugin, with some checkboxes I am setting a crop option in the db in wp_options table, just like WP does it for the thumbnail, medium and large sizes. So my big image sets the add_option(‘big_crop’, true) Than in functions.php I do: if ( … Read more

How can I set different banner images using background cover at different breakpoints?

The way I would do this would be to inline the background: url(…) property. <?php if ( has_post_thumbnail() ) : $hero = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), ‘hero’, ” ); $tablet = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID), ‘tablet’, ” ); $phablet = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), ‘phablet’, ” ); $phone = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), ‘phone’, ” ); ?> <style> @media only screen and … Read more

Duplicate images in wordpress

Its really looks like templates in your news-events section are use Featured image, and next (a same as first image) – just inserted into post body contents as Image. I Suggest you to remove featured image ( but not to delete it from wp), in this case you will avoid using duplicated image, un till … Read more