New image size missing on frontend

Posted in: Newspaper
Post count: 18

I’ve add new image size with td_api_thumb::add
Although it is active in the Theme panel, I can not see it in the Article image options of my Flex block 1

Post count: 27744

Hello,

I am sorry. I’m not sure I fully understand what you are looking to achieve. Can you provide an example?
Also, for each thumb is specified for which block it is applied. for example for flex block, these thumbs apply => https://www.screencast.com/t/KuykwII3XgWB ->https://www.screencast.com/t/FyxP0oZdLL

Thank you!

Post count: 18

1) I’ve add new image size with td_api_thumb::add
2) It is present and active here https://www.screencast.com/t/KuykwII3XgWB
3) It is NOT present here https://www.screencast.com/t/FyxP0oZdLL

Post count: 27744

Hello,

So, I understand that you added a custom image size, right?
The image size which you added will not appear in the Image size option for flex block.
In order to be able to add it, several changes must be made in the theme files and require more knowledge (developer skills).

Thank you for understanding!

Post count: 18

I am really sorry, no offense, but you are not going to tell me what theme files I need to edit?
That image size API is just useless then if I can’t make custom sizes and use them 🙁

  • This reply was modified 5 years by ibasher.
  • This reply was modified 5 years by ibasher.
Post count: 27744

Hello,

These are the paths => wp-content/plugins/td-composer/legacy/Newspaper/includes/td_config.php => https://i.imgur.com/bQpMgSf.png and this for flex block 1wp-content/plugins/td-composer/legacy/Newspaper/includes/modules/td_module_flex_1.php
but if you want only to change the height and width for image, you can do it like this => https://www.screencast.com/t/BKlPEkNwfj8
Also, please check this topic https://forum.tagdiv.com/topic/how-to-change-the-size-of-thumbs-on-moduleblock/

Thank you!

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