WordPress not using edited image
Did yoy check the image height is it more than 1000px. Because if the height is less than ur specified one it will use the current size of the image.
Did yoy check the image height is it more than 1000px. Because if the height is less than ur specified one it will use the current size of the image.
From a quick look there is a dedicated delete_attachment action in wp_delete_attachment() function, it gets passed an ID of attachment being deleted. However I am not completely confident that this covers all cases. There is a fair amount of duplication in WP’s post–related APIs and similar tasks might be performed by different functions in different … Read more
Reading your comment, I think I have an idea of what to do. I will explain that idea to you, but would not be able to show any code, because it is just an idea, never implemented it yet. I would suggest that you setup your sites to lead images from Amazon AWS S3. And … Read more
I figured it out. It was a series of silly mistakes, really. $args1 should be ‘post_status’ => ‘publish’, [not ‘published’]. $args for $query should include ‘post_status’ => array( ‘publish’, ‘inherit’ ).
Uploads folder only showing files up to the letter “P”
Media library corrupted after upgrading to 4.9.6
Update WP Media Library image unattended
Adding Facebook Open Graph Code does not work for Media Library Attachment Pages
This was an interesting question as I knew nothing about modifying the default behaviour of the Media Library. So, I ended up doing some research on the matter. I found out that the Media Library uses wp_ajax_query_attachments() to get the images and other media. Inside the ajax function there’s ajax_query_attachments_args that can be used to … Read more
Try t0 Regenerate thumbnails by using this plugin: https://wordpress.org/plugins/regenerate-thumbnails/