Support

Home Forums Event Espresso Premium Tile Images Pixelated In Grid View Add on

Tile Images Pixelated In Grid View Add on

Posted: February 6, 2021 at 8:38 am


BradSalon

February 6, 2021 at 8:38 am

The reproduction of the images for the grid view are very pixelated and low quality compared to the images I uploaded… It makes the grid view not usable… Any advice?


Tony

  • Support Staff

February 8, 2021 at 5:48 am

Hi there,

The grid template add-on uses the ‘thumbnail’ version of the images on your site by default, the size of those images is determined by your theme but will generally be 150×150.

Event Espresso will search your themes root directory for some of its templates before using the default, so if you place a copy of the template there and make changes, that template will be used.

So, copy /wp-content/plugins/eea-events-grid-view-template/templates/espresso-grid-template.template.php into the root directory of your theme (preferably a child theme).

Around line 27 should be:

$feature_image_url = $post->EE_Event->feature_image_url();

Change that to something like:

$feature_image_url = $post->EE_Event->feature_image_url('small');

Which should load the ‘small’ version of the image in question as long as your theme (or another plugin) hasn’t removed those sizes.

The support post ‘Tile Images Pixelated In Grid View Add on’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso