Topic: Click on image to link

I want to click on this image to open a new window,
to jump to another website or,  to jump to the full size image.

http://www.punbb.org/img/small_logo.png

WHAT PHP file  - lines do I got to change?


my Info:
PunBB 1.2.14
PHP: 4.4.7



(maybe to open in the same window but that's not important at this moment, I should add a back button or a link to back to topic)

.my life's a movie, my feeling the soundtrack

2 (edited by downliner 2007-11-12 13:07)

Re: Click on image to link

To make your image a link try the following code:

[url=http://www.google.com][img]http://www.punbb.org/img/small_logo.png][/img][/url]

The above code produces the following:

http://www.punbb.org/img/small_logo.png (click it)

You can then apply the following small hack to allow external links to open in a new window:

http://wiki.punres.org/Open_links_in_a_new_window

Re: Click on image to link

ok i got it.. in the admin -->options there a button to turn on.. something like open all links in new window.

somewhere in there...


Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: Click on image to link

Do I got to edit or add lines in parser.php or  viewtopic.php   or some  *.php file   to  make it work?
because ... for now it apperas like this:

http://www.saladamixta.com/images/iFpp.jpg

big_smile  uuuuuuups   than you again

.my life's a movie, my feeling the soundtrack

5 (edited by McLaranium 2007-11-12 17:43)

Re: Click on image to link

I'm testing

http://www.punbb.org/img/small_logo.png]

-
ok preview does not work.

I will click the SUBMIT  button.
---

Yes, I'm writting something wrong.
I used the same code mmm

[url=http://www.google.com][img]http://www.punbb.org/img/small_logo.png][/img][/url]
.my life's a movie, my feeling the soundtrack

6

Re: Click on image to link

try with a correct image url :

[url=http://www.google.com][img]http://www.punbb.org/img/small_logo.png[/img][/url]

Re: Click on image to link

Yes, sorry I put an extra ']' in the code I gave you by mistake. As Yemgi already posted, the correct code is:

[url=http://www.google.com][img]http://www.punbb.org/img/small_logo.png[/img][/url]

8 (edited by McLaranium 2007-11-12 21:22)

Re: Click on image to link

http://saladamixta.com/images/ramax.jpg

It's Done.  All Right.

Thank You, so helpfull.



[url=http://www.YOURLINK.com][img]http://www.yourIMAGE/wherever_itbe.jpg[/img][/url]

And iF you want it in a new window:

http://wiki.punres.org/Open_links_in_a_new_window

.my life's a movie, my feeling the soundtrack