XF 1.1 auto resize bbcode submitted images...

  • Thread starter Thread starter vVv
  • Start date Start date
V

vVv

Guest
Without losing full sized ones as well? like, with image hosts such as imagevenue.com, imgbox.com, and etc etc. they'll allow users to upload images, and have options of codes for normal sites, forums, and etc.. with image thumbnails which link to full sized images once clicked.

However, some guy on the forum submitted FULL sized images/ their codes... which makes them overflow into side of forum, creating a horizontal scroll bar. I tried editing..

.bbCodeImage
{
max-width: 100%;
}

To be like:

.bbCodeImage
{
max-width: 300px;
}

Which seemed to work, but then of course that's all the images are viewable for though. 300px or whatever I choose. Is there a way to make it say.. 400px but click-able to view full size.. without losing the full size of image..?
 
Top Bottom