New answers tagged add-image-size
Find the actual large version of the image file (i.e., wp-content/uploads/2014/03/my-image-1024x576.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 size in the theme: <?php ...
the patch is no longer working, since the edit-image.php file changed. this worked for me (wp 3.8.1). no wp core hacking required. yay.
For all the people who've: registered the sizes in their functions.php set them in a callback for after_setup_theme with the add_action function installed Regenerate Thumbnails installed php5_gd and restarted the server You may have to manually configure the loading of the extension, if it wasn't for you. First, check if GD is actually enabled as an ...
Adding $attach_data = wp_generate_attachment_metadata( $attach_id, $filename ); wp_update_attachment_metadata( $attach_id, $attach_data ); after $attach_id = wp_insert_attachment( $attachment, $filename); Fixed it.
Top 50 recent answers are included