javascript - How add automatically [img] tag in my links? -


how add [img] tag in links. want load in box link e.g. like:

http://site com/images/image1.jpg http://site com/images/image2.jpg http://site com/images/image3.jpg 

then want url converted automatically to

[img]http://site com/images/image1.jpg[/img] [img]http://site com/images/image2.jpg[/img] [img]http://site com/images/image3.jpg[/img] 

if use code works first image displayed

[xfgiven_screenshot] <div id="section-screenshot" class="fullfeature"> <div class="clear"></div> <div class="screenshots"><img src="[xfvalue_screenshot]" alt="" /></div> <div class="clear"></div> </div> [/xfgiven_screenshot]  

what should display rest of links images?

thanks help!


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -