Thumbs are generated for every image uploaded is used in different sections of the theme. We explain all the thumbs below.

We generate a thumb when an image is created to save site speed and not show the user a large image when a small thumb is all that is needed in a specific part of the theme.

But WordPress doesn’t know that a specific image (like agent profile image) is used only in 3 places. So we generate the thumbs for every image, and we use only the thumbs that are related to the place where the image is used (like featured property image, or featured agent image and so on).

You can look in the list in help to see if there are thumbs you don’t use for sure and you can delete them.

To regenerate thumbs, you can use this plugin: Force Regenerate Thumbnails plugin – https://wordpress.org/plugins/force-regenerate-thumbnails/ We recommend to use this plugin because allows you to delete all old images size and regenerate the thumbnails for your image attachments.

Deleting all the rules will create 2 issues for you:

  • Images will be uploaded in a different size, width, and height.
  • And in the theme, you’ll see un-even images in all places + you’ll see a speed increase because the site has to load original images (which are usually very large). So please delete with care.

General-settings.php image rules:

Theme resize rules are included in our theme – in wpresidence/libs/general-settings.php .

We do not recommend deleting any rule as each is used for a certain purpose. If you wish to make changes please follow WordPress resize rules to modify the code. If you wish to remove an image, make sure it is not needed in your theme setup. Help: http://codex.wordpress.org/Function_Reference/add_image_size

add_image_size(‘user_picture_profile’, 255, 143, true);
–> the image uploaded in user dashboard – my profile

add_image_size(‘agent_picture_single_page’, 314, 180, true);
–> image added as featured image – for single post page

add_image_size(‘agent_picture_thumb’ , 120, 120, true);
–> image in agent list or featured widget

add_image_size(‘blog_thumb’ , 272, 189, true);
–> image for blog post in lists of blog posts

add_image_size(‘blog_unit’ , 1110, 385, true);
–> image in blog post – slider full width

add_image_size(‘slider_thumb’ , 143, 83, true);
–> image in property post slider – the small thumb

add_image_size(‘property_featured_sidebar’,261,225,true);
–> image for featured property widget on sidebar

add_image_size(‘blog-full’ , 940, 529, true);
–> image in blog post – slider with sidebar

add_image_size('property_listings'   , 525, 328, true); // 1.62 was 265/163 until v1.12

–> image in property unit – used in lists. agent image unit, used in lists.

add_image_size(‘property_full’ , 980, 777, true);
–>property page slider

add_image_size(‘listing_full_slider’ , 835, 467, true);
–> image in property slider – with sidebar

add_image_size(‘listing_full_slider_1′, 1110, 623, true);
–>image in property page slider – no sidebar

add_image_size(‘property_featured’ , 940, 390, true);
–> image in featured property shortcode

add_image_size(‘property_full_map’ , 1920, 790, true);
–> image in theme slider

add_image_size(‘property_map1′ , 400, 161, true);
–> image property in infobox

add_image_size(‘widget_thumb’ , 105, 70, true);
–> image in latest listings widget

add_image_size(‘user_thumb’ , 45, 45, true);
–> image in featured property – agent/user image

add_image_size(‘custom_slider_thumb’ , 36, 36, true);
–> this is user profile image – user menu

set_post_thumbnail_size( 250, 220, true);
–> this is the submission form – image thumb