- Posts: 9
As you may already know, the JoomlaWorks Forum is powered by Kunena (the only decent forum component for Joomla).
Unfortunately, the latest update for Kunena has seemingly broken all code snippets (old and new) in the forum.
Until this message is removed, please paste any code as regular text - in other words, don't use the [code]...[/code] tags in Kunena's post editor.
K2 XS Image Size
How I can say new K2 to generate the same image size as with the older one?
Then use this CLI PHP script to re-generate all K2 images with your new dimensions configured: github.com/getk2/rebuildK2imageCache
I don't think it is needed to re-generate K2 images cache. The problem regards only images that were attached to articles which were created after an update. And I can confirm that width of such images is as configured in K2 settings for XS images - 197 px. What is different is their height. For example on both sites there is the same image - on old site its height is 154 px, on new one only 131 px:
Do you know what code manages uplaoding images to /media/k2/items/cache directory and where corresponding parameters are loaded from? (Is it /media/k2/assets/vendors/verot/class.upload.php/src/class.upload.php file)?
It's purely a CSS issue.
Change the CSS around line 478 in www.horackova.cz/templates/zshorackova/css/custom.css to:
Log in or Create an account to join the conversation.