Change thumbnail size for tagdiv gallery

Posted in: Newspaper
Post count: 15

Hiya,

I have a site using Newspaper, where I’ve created a full-width gallery which spans the entire width of the page:
http://www.londoninstereo.com/run-the-jewels-gallery/

I’ve created this using the TagDiv built in gallery, and the issue I’m having is the thumbnail size for the gallery has a max height of 420px, which is smaller than what I need for this gallery.

I copied td_config.php into my child theme (newspaper-child/includes) and changed the height of the thumbnail for the gallery so it now reads:
td_api_thumb::add(‘td_0x420’,
array(
‘name’ => ‘td_0x420’,
‘width’ => 0,
‘height’ => 650,
‘crop’ => array(‘center’, ‘top’),
‘post_format_icon_size’ => ‘normal’, //what play icon to load (small or normal)
‘used_on’ => array(
‘tagDiv Image Gallery’
)
)
);

Then I regenerated all thumbnails, but it hasn’t made a difference to the image size being called.

Is there a way I can either amend the TagDiv Image Gallery thumbnail, or tell the image gallery to use a different thumbnail (i.e. the 1068×0 thumbnail would be large enough for this).

Thanks!

Hannah

Post count: 22421

Hello,
The slider gallery on 3 columns is defined here: http://screencast.com/t/81yl7lvjv
You can change the thumb used by changing td_1021x580 with td_1068x0
Thank you!

Post count: 15

Hi Bogdan,

Thanks for the response. This has worked, but only when I make the change in the main theme, rather than in my child theme. Is there a way I can make this change in my child theme?

Thanks

Hannah

Post count: 22421

Hi,
Forgot to mention this but the wp_booster files cannot be edited via child theme unfortunately. We try to improve our child theme support with each update.
Thanks.

Post count: 15

Ah, ok, thanks for letting me know!

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