Greetings! I am looking for assistance in what I am hoping will be an easy change.
https://tonylaubach.net/category/storm-chase-logs/chase-logs-2023/
Currently the thumbnail size is defaulted to 180x135px. Given that a majority of my images are natively 1920×1080, I’d like to try and resize the thumbnails that are generated to reflect that ratio. Ideally, this would change the default thumbnail size to 180x101px to keep the current width, or 240x135px to keep the same height.
So my question, where can I go to make that change? Is that something I am missing in the various options, or do I need to get into the code to make that correction.
Much appreciate the assistance 🙂 More to come, I’m sure, but starting small as I am building out.
Hi,
The Newsmag theme uses a set of predefined thumb sizes, each used by a block/module https://forum.tagdiv.com/newsmag-theme-thumbs/
For the category pages, you can select the module you want to use https://prnt.sc/oMU3XWdN6nXL
I suggest checking different modules before considering making modifications in the theme. Maybe the results you are looking for can be achieved using a different module.
Let me know.
Thank you!
Hey Simion,
I appreciate the assistance. I have looked at the different modules; unfortunately the one I want to utilize has the different ratio from a majority of my images. I do have a good comfort level with tweaking the code in my theme to attain the results I am looking for, I just need to be pointed in the correct direction. I’m sure in addition to changing the size of the thumbnails, I would imagine a tweak to the DIV that contains the thumbnail may also be in order?
Again, I thank you for the info 🙂
There are multiple ways of doing it.
You could modify an existing thumbnail created by the theme https://forum.tagdiv.com/td_api_thumbupdate/
Or you could add a new one https://forum.tagdiv.com/td_api_thumbadd/
Or do it using other methods https://www.wpbeginner.com/wp-tutorials/how-to-create-additional-image-sizes-in-wordpress/
Either way, after you add the new size or sizes you need, it requires setting the module to use it. The modules can be found here https://prnt.sc/X8gAdKcPpR4v And each of them uses a thumb size, for example module 1 https://prnt.sc/1PlO1pfp2HeE
It will also require regenerating the thumbnails, so that the new size is created. This can be done with a plugin, for example this one https://wordpress.org/plugins/regenerate-thumbnails/
You could try it.
Thank you!