Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Xthreads Images and Shadowbox/Lightbox
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #6
RE: Xthreads Images and Shadowbox/Lightbox
(01-29-2011 03:39 AM)leefish Wrote:  Like this for example (yes, I know its bad, but its to test) does not work....

Code:
1
2
3
4
5
6
7
8
Regular expression:
\[lightbox=(.*?)\](.*?)\[/lightbox\]

Replacement:
<a href="$1" rel="lightbox"><img src="$2"/></a>

HTML result:
[lightbox=http://www.leefish.nl/mybb/xthreads_attach.php/561_1290377481_8842ed58/6e185e861e4954ce149d737d56fc43d0/cf_SHOESballetflatsthumb.jpg]http://www.leefish.nl/mybb/xthreads_attach.php/561_1290377481_8842ed58/6e185e861e4954ce149d737d56fc43d0/cf_SHOESballetflatsthumb.jpg/thumb640x480[/lightbox]


The image not displayed? Because the image displayed for me? (yeah, I know that it is for test only).

01-29-2011 05:26 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Xthreads Images and Shadowbox/Lightbox - RateU - 01-29-2011 05:26 AM

 Standard Tools
Forum Jump: