TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 639
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 245
  • Total: 245

making a image clickable to and open a site

Started by coldthunder, June 25, 2007, 02:15:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

coldthunder

If i have a image inside of a block. Is there a easy way to make that image also a hyperlink that if it is clicked it opens a web page?

thank you

Crip

Sure in a HTML block --


<a href="http://yourbigimage.com" title="My Big Image"><img src="http://yoursmallimage.com" width="120" height="120" alt="My Big Image" target=_"blank"></img></a>

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



Ken.

Try this:

[url=http://thepageyouwant.com][img]http://www.theimagelocation.jpg[/img][/url]


EDIT: You beat me Crip~!!!  :buck2:
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Crip

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



Ken.

Actually the one from Crip~ and the one from me both work equally well, the one you need to use just depends on what your are trying to do... try 'em both!  ;)
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

coldthunder


Ken.

" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

This website is proudly hosted on Crocweb Cloud Website Hosting.