Removing Thumbnail Height Settings for Front Page

Advanced newspaper or magazine Joomla template to build news website with unique and detailed design.
GK User
Mon Oct 04, 2010 5:30 pm
All is working well for our site, I am loving the TWN template. My question is, on the front page, all of our images are distorted because they are using both width and height to display the generated thumbnails. How can I remove the height variable in the coding so this does not happen?

Everywhere else the thumbnails display correctly, it is just on the front page (both the links and the featured story).
User avatar
Fresh Boarder

teitbite
Tue Oct 05, 2010 8:14 pm
Hi

If I remember the thumbs on the frontpage are in the NSP module, so You can set the dimensions inside the module configuration.
User avatar
Moderator

GK User
Tue Oct 05, 2010 10:40 pm
It is actually driven by GK News, I am trying to edit some html now to see if it will help.
User avatar
Fresh Boarder

teitbite
Thu Oct 07, 2010 3:44 pm
Hi

GK_news do have the options for thumbs. See:
User avatar
Moderator

GK User
Thu Oct 07, 2010 5:16 pm
Yes, and there in lies the issue. If the image is not proportional to those settings, it gets skewed. I edited the layout#.html files by removing the height calls and all is displaying fine now.
User avatar
Fresh Boarder

teitbite
Fri Oct 08, 2010 1:39 pm
Hi

Nice thinking. :)
User avatar
Moderator


cron