Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Image Display Question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Image Display Question

 Post Reply Post Reply Page  12>
Author
javi712 View Drop Down
Senior Member
Senior Member


Joined: 22 May 2003
Location: United States
Status: Offline
Points: 488
Post Options Post Options   Thanks (0) Thanks(0)   Quote javi712 Quote  Post ReplyReply Direct Link To This Post Topic: Image Display Question
    Posted: 01 September 2006 at 6:10pm
Hello Everyone,

I was wondering if anyone knew where/how I can obtain the code or necessary files so that when someone clicks on an image on my forum the background darkens and the image appears as a popup type thing. I assume its done via javascript.

Does anyone know what I'm talking about?

I personally think its a pretty cool feature to have on your forums... especially if you have a lot of images being displayed.

Thanks in advance!

Edited by javi712 - 01 September 2006 at 6:10pm
Back to Top
Mikey View Drop Down
Senior Member
Senior Member

1979

Joined: 06 October 2003
Location: United Kingdom
Status: Offline
Points: 839
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mikey Quote  Post ReplyReply Direct Link To This Post Posted: 01 September 2006 at 10:24pm
I think the term used is 'lightbox' if you do a search on google for the javascript lightbox or 'thickbox' that should be what your after.

EDIT: found this for ya. might be what ya after.
Handyman man?
Back to Top
javi712 View Drop Down
Senior Member
Senior Member


Joined: 22 May 2003
Location: United States
Status: Offline
Points: 488
Post Options Post Options   Thanks (0) Thanks(0)   Quote javi712 Quote  Post ReplyReply Direct Link To This Post Posted: 02 September 2006 at 5:56am
Mikey.. you're da man... that's precisely what I was looking for. I will give it a go tomorrow and see if I can implement it into my forum tomorrow. Doesn't seem like a hard task after reading their instructions a bit.

Just in case though, has anyone already implemented this into their forum?
Back to Top
Mikey View Drop Down
Senior Member
Senior Member

1979

Joined: 06 October 2003
Location: United Kingdom
Status: Offline
Points: 839
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mikey Quote  Post ReplyReply Direct Link To This Post Posted: 02 September 2006 at 10:57am
No but after poking around on the sites for a bit i think this could be  a great addition to the forum.

There is also one called thickbox, the diffrence is thickbox can contain any HTML not just images. Endless possibilities!
Handyman man?
Back to Top
javi712 View Drop Down
Senior Member
Senior Member


Joined: 22 May 2003
Location: United States
Status: Offline
Points: 488
Post Options Post Options   Thanks (0) Thanks(0)   Quote javi712 Quote  Post ReplyReply Direct Link To This Post Posted: 09 September 2006 at 3:45am
Okay... I tried adding the code and seeing how I'm not a programmer.. its comes to me as no surprise that I can't implemente it lol... maybe someone else can help me out...

this is what the image needs in order to function:


<a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>


so it looks like i need to make the image an anchor first... i was looking at functions/functions_format_post.asp as a place to add it but couldn't figure anything.

can anyone please help me out!

thanks in advance!
Back to Top
javi712 View Drop Down
Senior Member
Senior Member


Joined: 22 May 2003
Location: United States
Status: Offline
Points: 488
Post Options Post Options   Thanks (0) Thanks(0)   Quote javi712 Quote  Post ReplyReply Direct Link To This Post Posted: 13 September 2006 at 5:54pm
anyone
Back to Top
aks427 View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 06 December 2003
Location: United States
Status: Offline
Points: 276
Post Options Post Options   Thanks (0) Thanks(0)   Quote aks427 Quote  Post ReplyReply Direct Link To This Post Posted: 14 September 2006 at 1:31am

You've got the right page to edit I think...

Look for something along the line of this..
 
strTempMessage = Replace(strTempMessage, "[/IMG]", """>", 1, -1, 1)
 
And change it to something like this
 
strTempMessage = Replace(strTempMessage, "[/IMG]", """ rel=""lightbox"">", 1, -1, 1)
Back to Top
javi712 View Drop Down
Senior Member
Senior Member


Joined: 22 May 2003
Location: United States
Status: Offline
Points: 488
Post Options Post Options   Thanks (0) Thanks(0)   Quote javi712 Quote  Post ReplyReply Direct Link To This Post Posted: 14 September 2006 at 1:38am
that's what i was trying to edit, but it wasn't working for me... let me give it a try with your code... thanks for the suggestion :)
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.