I have been thinking about adding some additional code to the BBcode for the [img] tag... eg:
Code:
[img border='1px solid black']http://heres/my/image[/img]
so when the BBcode parses it all, it would look like
Code:
<img src="http://heres/my/image" style="border: 1px solid black">
I guess it's just a preg replace thing?
how would I go about doing it?
thanks for any help....