Hello

I would like to make restrictions to images in posts who are using "image" and html "img" tags.
How to make preg_replace in markup so that if the image size iz larger than size[x] (width ONLY) , img tag gets width and height tags also (from config I guess). And maybe put the image in "a href" tag so that user can still click it to get the whole image on screen.
Reason for this is that if picture is wider than your screen you have to scroll right to read posts. This is very annoying.
Here is Astarans Restrict signatures to help.