Modify default newsmag image sizes

Posted in: Newsmag
Post count: 27

Hi there,

images sizes within the theme are defined in the td_config.php file.
Is there an update save way to modify these sizes like using td-api?

Please advise,

Guenter

Post count: 6535

Hi

You can use td_api_thumb to add new thumb sizes as it’s explained in our documentation: https://forum.tagdiv.com/td_api_thumbadd/
If this is not what you man please provide more details.

Thanks!

Post count: 27

Hi!

I’d like to modify the existing ones. Shall I delete them first
using the API or can I change the values using an Update?

For example:

td_api_thumb::add('td_80x60',
array(
'name' => 'td_80x60',
'width' => 80,
'height' => 60,
'crop' => array('center', 'top'),
'post_format_icon_size' => 'small',
'used_on' => array(
'Block 15', 'Live search', 'tagDiv Gallery'
)
)
);

is defined in your td_config.php file. What do I have to do
when I’d like to change the width to 100 instead but like
to keep the the original name “td_80x60” as it is used allready
throughout the website.

Cheers,
Guenter

Post count: 27

Sorry… I havn’t seen this whole api docs before. Maybe to blind. Thanks. I’ll figure it out 🙂

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