Форуми / Cotonti / Support / Forum images

Twiebie
#25489 05.08.2010 17:14
I've tried putting that in with my own class but nothing changed..

(I see you signed up, join the chat if you have time, it's a bit easier)

Added 25 minutes later:

It's working now.

Now I have the following code:

1:
\[img\]((?:http://|https://|ftp://)?[^"\';\?\[]+\.(?:jpg|jpeg|gif|png))\[/img\]
<a href="$1"><img src="$1" alt="" class="scale" /></a>

2:
\[img=((?:http://|https://|ftp://)?[^\]"';\?]+\.(?:jpg|jpeg|gif|png))\]((?:http://|https://|ftp://)?[^\]"';\?]+\.(?:jpg|jpeg|gif|png))\[/img\]
<a href="$1"><img src="$2" alt="" class="scale" /></a>

Відредаговано: Twiebie (05.08.2010 17:41, 14 років тому)