Article image sizes

May 2014 Joomla Template
GK User
Wed Jun 25, 2014 10:32 am
http://laughology.co.uk/new/index.php/t ... s-keynotes

Main image articles in University are enlarged to fill the width of the article, which means they are pixelated. Is there a way to switch of the enlargement?

Thanks

Ian
User avatar
Expert Boarder

GK User
Wed Jun 25, 2014 9:56 pm
Hello,

The popup will be higher when you add the third row of images. You can also fix the image with images by adding the following CSS code:

Code: Select all
.gkNspPM-Portfolio2 .gkPortfolioImage.active img {
max-height: 100%;
max-width: 100%;
width: auto;
}
User avatar
Administrator

GK User
Thu Jun 26, 2014 9:45 am
Hi Dziudek

I have used that code, but it didn't work. I don't understand your comment about a third row of images - there isn't going to be a third row of images.

I am also having a similar problem with articles in that the images expand to fill the width of the page, and therefore become pixelated.

Thanks

Ian
User avatar
Expert Boarder

GK User
Thu Jun 26, 2014 6:12 pm
Hello,

It seems that our forum displayed my reply to another topic - I don't know why - sorry for the confusion. Regarding your question - please try to add at the end of css/joomla.css file the following code:

Code: Select all
.img-fulltext-left {
float: left;
}
.img-fulltext-right {
float: right;
}
.img-fulltext-none img,
.img-fulltext-left img,
.img-fulltext-right img {
width: auto!important;
}
User avatar
Administrator

GK User
Sat Jul 05, 2014 3:04 pm
Hi Dziudek,

It doesn't appear to work. If I set intro image to left or right, the image expands to fit the entire article width and becomes pixelated.

Any suggestions?
User avatar
Expert Boarder

GK User
Sun Jul 06, 2014 9:47 am
Are you sure? For me the linked article displays proper image now: http://laughology.co.uk/new/index.php/t ... s-keynotes

Did you refreshed your browser cache? Most probably it still loads old CSS code.
User avatar
Administrator

GK User
Mon Jul 07, 2014 12:40 pm
Thanks Dziudek
User avatar
Expert Boarder


cron