Rotating image does not work for custom image sizes

From examination, it looks like a bug. I can’t think of a good reason it shouldn’t apply those changes. Reported: http://core.trac.wordpress.org/ticket/19889 Patch in that ticket fixes the problem. Also, in response to your other question, you can define IMAGE_EDIT_OVERWRITE to true in the wp-config file to make it not create those oddly named files and … Read more

Cannot upload anything via wordpress

Right, I’ve managed to solve the problem. Maybe this answer helps other people who encounter the issue again. The problem is inherently in the installation procedure when installing via the package manager in ubuntu. The actual issue was in the database configuration, the installation had set WP_CONTENT_DIR to /srv/www/wp-content/localhost, a directory I did not even … Read more

Large image size stuck on old value, even for new images

Find the actual large version of the image file (i.e., wp-content/uploads/2014/03/my-image-1024×576.jpg) and see if in fact it has the smaller dimensions or if it is just being rendered that way in your theme. If the large version is in fact 1024px wide, then the filter is working. Make sure you are referencing the right image … Read more

Cannot embed YouTube videos “Failed to embed” error

This may be due to a failed network request from the server to youtube. If the server cannot reach YouTube, the embed will show as “failed to embed” in the editor. You can fix the problem by allowing the server to make network requests to youtube. The WordPress Proxy documentation may be helpful, https://developer.wordpress.org/reference/classes/wp_http_proxy/ WordPress … Read more

Audio file’s length (duration) is missing from Attachment Details in Media Library [closed]

I found that this issue could be overcome by opening the mp3 file in the excellent Linux/Windows application Mp3 Diags and applying the Rebuild VBR Data transformation. It discards the file’s Xing header and attaches a new one. After doing this, the files’s duration and bitrate are listed in it’s Attachment Details when it is … Read more

Add instructions For Media Library Uploads

Here are two examples using the pre-upload-ui and post-upload-ui hooks: add_action( ‘pre-upload-ui’, function() { ?><h4> <?php esc_html_e( ‘Please Remember This And That! (pre-upload-ui)’, ‘wpse’ );?> </h4> <?php }); add_action( ‘post-upload-ui’, function() { ?><h4> <?php esc_html_e( ‘Please Remember This And That! (post-upload-ui)’, ‘wpse’ );?> </h4> <?php }); You might want to adjust this further to follow … Read more