Hello, I know that in order to show thumbnails on mobile website when using Tagdiv Mobile Plugin, I need to enable the two thumbnails sizes in ‘Theme Panel –> Block Settings –> Thumbs on Modules/Blocks’
However, I want to avoid it because every image uploaded on the website will have two more thumbnail versions of it created, and thus eat up space (in ‘uploads’ folder) on the server.
Is there a way in which the Mobile Theme can use the default uploaded image or the ‘300×0’ sized image, and resize those using css to show the required thumbnails?
Hello,
Please check this topic https://forum.tagdiv.com/topic/scaled-photos-in-wp-uploads/
Thank you!
Does that even answer my question? I already know what you’ve linked to. I’m asking if there is any workaround to stop the extra thumbs for the mobile theme? Like in different Flex Boxes, I can always use the same image size despite different widths etc. of the boxes. The best way could be where you modify the mobile theme blocks and add the option where images are auto-selected from default images. This will require code changes, and you should either consider providing in any update or explain where that code is in the theme files.
Hello,
The mobile theme use the thumbs 265X198 and 741X486 => https://i.imgur.com/8jepsGB.png
you can find the thumbs in this path td-composer/mobile/includes/td_config_mob.php and you can change them => https://i.imgur.com/fQsEtA1.png
Thank you!
Thanks, this is helpful. So all I need to change there is replacing ‘265’ with ‘300’ and ‘198’ with ‘0’ if we don’t want an additional thumbnail size to be registered?