PDA

View Full Version : How to remowe onclick in images


Przemoo
11-19-2011, 10:57 AM
How to remove onclick="window.open(this.src)" from images in postbit ? The code looks like this now
<img style="max-width: 800px; cursor: pointer;" onclick="window.open(this.src)" src="http://i26.lulzimg.com/eb1795.jpg" border="0" alt="">

and also i would like to add a alt to images, i found it in class_bbcodes.php but what should i add there ?

--------------- Added 1321704408 at 1321704408 ---------------

ok onclick removed from quick auto resize code :)

what about alt in title images ?

LifesGreatestGift
11-19-2011, 01:08 PM
put it where you removed the onclick function and use a vb:raw variable such as thread title etc. Would require a plugin if you wanted custom ALT text for each image.

Przemoo
11-30-2011, 06:11 PM
i've did but not working ;/ what vb:raw can i use there ?

Przemoo
12-06-2011, 03:40 AM
any1 ?