2013-04-29, 07:33 AM
(2012-04-29, 06:22 PM)anori Wrote: [ -> ](2012-04-29, 06:15 PM)GunnerAIO Wrote: [ -> ]That's what I'd want but in either existing stock MyCode that I can't edit via configuration>MyCode... or global css. So where could I edit the stock MyCode buttons because they aren't listed in the config section??
Simply create a new MyCode (will overwrite the default and when you delete the default becomes active again):
then insert
regular expression:
\[img\](.*?)\[/img\]
And the replacement:
<a href="javascript:void(0)" onclick="window.open('$1', '', 'toolbar=no');myWindow.focus();"><img src="$1" style="max-width: 640px;" alt="Image" title="Full sized Picture" /></a>
Determine the width of your site first though, which can be found in the css templates.
working perfectly on my forum : http://www.camotesislandforum.com/showth...d=17#pid17