Featured image custom image size

Posted in: Newspaper
Post count: 161

Hi,

I want to add a custom image size of 1000×667 and use it as the Single Featured Image on the cloud composer. How do I make this image size appear in the composer?

Post count: 21065

Hello!

A solution for this could be to upload an image with 1000 X 667 sizes and set up in composer settings full size for that picture and will display with exactly sizes you want.

Thank you!

Post count: 161

Hi Bettina,

This wouldn’t work for me because I am updating our live website with more than 2000 articles. So I need to add a custom size and then run thumbail regen to fix this. Can you point me in the right direction where to edit the theme files so my new image size shows up in the composer?

Thanks

Post count: 21065

Hello!

Unfortunately, this will require custom work which is not covered by the support team.
I recommend you to contact our custom work team here: https://tagdiv.com/premium-customization-services/ ; because the process is not really simple to achieve and is a better way to have an expert look at it.

Thank you for your understanding!

Post count: 161

Hi Bettina,

I understand your need to push your premium customization services, but you could instead have just pointed me to the right config.php file where the image sizes are defined.

It was as simple as adding this copied and modified line of code to the file. It was in fact really simple to achieve.

td_api_thumb::add('td_1000x667',
array(
'name' => 'td_1000x667',
'width' => 1000,
'height' => 667,
'crop' => array('center', 'center'),
'post_format_icon_size' => 'normal',
'used_on' => array(
'Featured image'
),
)
);

It’s safe to say I am really disappointed by your response.

Post count: 21065

Hello @r1kay!

I’m glad that you solved your issue at the moment.
It is very simple to built just a patch till to the next update only, but this solution may cause a lot of errors in the future, that’s why to have an expert look at your issue it is the best choice from my point of view. But, of course I don’t force anyone to have the optimal solution if they don’t need it.

Sorry for the inconvenience!
Have a nice day!

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.