Medium size gets marked as old
-
Hey! I have a strange problem I can’t seem to find a solution. In the functions.php we change the specs of the “medium” size like this
function imagesizes_nf() {
update_option('thumbnail_size_w', 350);
update_option('thumbnail_size_h', 0);
update_option('thumbnail_crop', 0);
update_option('medium_size_w', 480);
update_option('medium_size_h', 270);
update_option('medium_crop', 1);
add_image_size('single', 1920, 600, true);
remove_image_size('2048x2048');
remove_image_size('1536x1536');
}
add_action( 'after_setup_theme', 'imagesizes_nf' );For the other sizes we are changing this works great. But there seems to be a problem with “medium”. When we start regenerating thumbnails and delete old sizes, “medium” gets deleted. If I then regenerate everything it does generate the size “medium” but immediately sees it as an old size (see screenshot).
Anybody has an idea why that could be?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.