Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 14th, 2006, 12:11 PM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default linking images

How do I link thumbnail pictures on my site to the actual full html page? Obviously I'm a newbie
Reply With Quote
  #2 (permalink)  
Old October 15th, 2006, 08:52 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi pbarbers,

Let's say you have a thumb called Thumb1.gif and an HTML page that shows the full image, called ShowImage1.html, then you can link to the image like this:

<a href="ShowImage1.html"><img src="Images/Thumb1.gif" /></a>

So, basically, you wrap the image in an <a> tag. The src attribute of the image points to an image in the Images folder (just an example) and the href attribute of the <a> tag points to the full page.

You can use Dreamweaver to create this code for you. Select the image, and then browse for another page in the Link box on the Properties panel for the image.

Hope this helps,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Load Images from and Save Images to a Database cyndie VB.NET 2 August 17th, 2008 06:42 AM
Problem with linking images in crystal reports gpdhillon Crystal Reports 6 September 6th, 2006 11:06 PM
Linking images in SQL databases willowdesigns SQL Server ASP 0 May 3rd, 2006 01:07 PM
linking anukagni Access 1 March 28th, 2006 08:21 AM
Linking sherr8 Access 2 July 30th, 2003 02:29 PM



All times are GMT -4. The time now is 05:48 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.