Image sizes

Hi there,

Found many answers to this question but would like a definitive one please.

Does X Pro create any image sizes?

I know you do use css to manipulate but as per this thread

One of you stated that you don’t and one of you states that you do!!

This is an e commerce website so images are a plenty.

Woocommerce and wordpress automatically create 5 sizes plus the original.

If you do then what are the sizes (x-theme-size-guide is no longer available from the link) and what are their intended use.

With retina ready and increase in numbers of products I am running out of server space.

Any advise welcome as always.

https://www.ijconline.co.uk

Many thanks

Ian

This info

Hello @Supajiggi,

Thanks for writing in! By default, WordPress creates 3 more images sizes from the original image. That is the thumbnail, medium and the large size. On the other hand, with the theme, we also have 4 image size namely; entry, entry-cropped, entry-fullwidth and entry-cropped-fullwidth. These image sizes were used as the featured image size for the page or post. The width of the resulting image will be based from your site layout and content site maximum width that you have set in X/Pro > Theme Options > Layout and Design. This means that is you have set the maximum width of 1200 pixels, then the image width will be 1200px for the entry cropped version. If you want to know how it was added, it was using this built-in PHP function integrated to the theme:

add_image_size( 'entry',                   $width,      9999,                 false );
add_image_size( 'entry-cropped',           $width,      $height_cropped,      true  );
add_image_size( 'entry-fullwidth',         $width_full, 9999,                 false );
add_image_size( 'entry-cropped-fullwidth', $width_full, $height_cropped_full, true  );

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.