News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

[img] linked images resizing - max w/h set to zero (disabled)

Started by zushiba, November 11, 2009, 05:01:46 PM

Previous topic - Next topic

zushiba

I've got even small images being re-sized even small images that aren't big enough to break the post box are being re-sized and my max width/max height are both set to zero or disabled.
What's going on and how do I turn this off? It's making text in these images unreadable.

WilK

Maybe your theme has in its .css style sheet
max-width: width px
or
max-height: height px
properties for img object.
Per aspera ad astra

zushiba

nope I looked through the style sheet for it and found nothing. The image itself is calling class bbc_img which doesn't have a style associated with it. I removed the surrounding styles and all inherited styles with firebug and it doesn't fix the size.

feline

searchin the index.css for bbc_img

find:
.bbc_img
{
border: 0;
}

change to:
.bbc_img
{
border: 0;
max-width: 600px;
overflow: auto;
}


Set the width to your coice.

Fel

JimM

Jim "JimM" Moore
Former Support Specialist

Advertisement: