Images sizes

Posted in: Newspaper
Post count: 15

Hello

I use only 3 formats for my image :
100×65
326×326
80×80

I set settings/media to 0 and I change my function.php like this :

//featured image
$td_crop_features_image = td_util::get_option('tds_' . 'crop_features_image');
if ($td_crop_features_image == '') {
add_image_size('featured-image', 326, 0, true);
} else {
add_image_size('featured-image', 326, 326, true);
}

//the small thumbnails
set_post_thumbnail_size( 100, 65, true );
add_image_size('art-thumb', 100, 65, true);

//module 3 small square
add_image_size('art-small-square', 80, 80, true);

But when I upload new image, wordpress still generate these sizes :
150×150
160×160
240×160
320×213
75×75

Could you tell me how can I stop generate these sizes please

Best regards

Post count: 9544

Be sure to set the three sizes in the WordPress admin panel under
WP settings > media

Basically
a) WP creates 3 sizes; small medium large
b) Theme creates sizes in functions.php

I usually set mine to match to minimize number of thumbs or un-used sizes. 🙂

Post count: 15

Christopher thanx for reply

Be sure to set the three sizes in the WordPress admin panel under
WP settings > media
== Already done

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.