2015-04-21, 08:49 AM
I'm trying to add a MyCode that triggers Highslide Zoom with HTML instead of just with MyBB code. I already have HTML turned on for the forum.
Example:
The expression is:
Replaced with:
What I tried was using the expression:
But this completely crashed the forum.
Any ideas?
Example:
<img src="http://mysite.com/image.jpg">
The expression is:
\[img\](.*?)\[/img\]
Replaced with:
<a href="$1" class="highslide" onclick="return hs.expand(this)"><img style="max-width:300px;" src="$1" alt="İmage" title="Larger İmage" /></a>
What I tried was using the expression:
\<img\(.*?)\>\
But this completely crashed the forum.
Any ideas?