Hot answers tagged post-thumbnails
It's only a guess, but it's also most probable cause... When you upload an image to WP, some metadata is generated and stored in database. This metadata contains such info like name, path and size of the image (to be more precise - paths and sizes of all created images based on uploaded one). And... This metadata is stored as serialized array. When the ...
I found that what was causing this issue was a plugin I had enabled that was supposed to handle retina images called WP Retina 2X. I disabled the plugin and it immediately fixed the issue.
If you have a look at what next_post_link you'll see that it takes a parameter $link as the second argument: next_post_link( $format, $link, $in_same_term = false, $excluded_terms = '', $taxonomy = 'category' ); Your parameter for this currently doesn't include the post thumbnail: _x( '%title <span class="meta-nav">→</span>', 'Next ...
If you are uploading images the same size as the large size in your WordPress installation, then set your Large size to 0x0 in Settings -> Media or remove this line: add_image_size( 'large-size', $LARGE_SIZE, 9999 ); EDIT #1: Try to add this filter to delete the original image: add_filter('wp_generate_attachment_metadata', 'delete_fullsize_image'); ...
Only top voted, non community-wiki answers of a minimum length are eligible