• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

pixelsize of images in postings via external links

snoopy5

Well-known member
#1
Hi

I am looking for a way to restrict the pixel dimensions of images, if the user shows them via embedded link in the posting. i.e. from flickr.

I found in the faq this:

How can I limit the size of images in posts?
Add this to the EXTRA.css template:
.bbCodeImage {
max-width: 50%; }
Adjust the percentage to suit, or substitute for a set pixel size. Note that the images will still zoom to full size when clicked.
a) would this code work for external images?
b) This is only percentage. I would love to set i.e. 800x800 pixel
c) The ice on the cke would be to differentiate this per usergroup in the code. Would this be possible?