|
-
February 22nd, 2006, 02:59 PM
#1
hyperlinks between two image folders
I have two image folders in my web directory. one folder has small thumbnails and the other folder has larger images. But the images are same in both the folders.
I want to hyper link the small folder to the larger folder so when there is a display of the small images on the web page when the user clicks the small image it should bring up the larger image from the larger file.
using visual studio.net development tool how would i do that?
I know how to using front page.
Thanks/Saru
-
February 23rd, 2006, 07:18 AM
#2
Re: hyperlinks between two image folders
This article might be worth reading.
Isn't this a ASP.NET issue ¿
-
February 23rd, 2006, 09:16 AM
#3
Re: hyperlinks between two image folders
Isnt this just regular old HTML?? You put the thumbnail image into an <img> tag, then wrap that up in a link tag with the link to the larger file...
Code:
<a href="http://www.mysite.com/bigimages/big.jpg"><img src="http://www.mysite.com/smallimages/small.jpg" /></a>
Although it would probably be best to just put them into one folder, and put a prefix or something on the thumbnail....
myimage.jpg <-- big file
t_myimage.jpg <--thumbnail
Last edited by gigemboy; February 23rd, 2006 at 09:18 AM.
-
February 28th, 2006, 09:31 AM
#4
Re: hyperlinks between two image folders
myimage.jpg <-- big file
t_myimage.jpg <--thumbnail
So if i had both the images regular and thumbnail in the same folder?
would i have the two fileds in the database field name 1(regular) fieldname2(thumbnail)? Do i need two fields? I do not see the purpose of it but i just want to clarify on that.
2. would you please send me some sample codes if any to display on web pages for this approach. Also i am not keen on using the picture box. Pls guide me through this. Thanks a lot.
Saru
-
February 28th, 2006, 10:12 AM
#5
Re: hyperlinks between two image folders
I want to use datagrid. Is this something i can use? if so i would like some sample codes to display. Thanks a Bunch/Saru
-
March 1st, 2006, 11:43 AM
#6
Re: hyperlinks between two image folders
 Originally Posted by [email protected]
So if i had both the images regular and thumbnail in the same folder?
would i have the two fileds in the database field name 1(regular) fieldname2(thumbnail)? Do i need two fields?
Saru
No, you could just have one field, then whenever you are creating the links, just prefix "t_" to the filename in order to use the thumbnail image...
-
March 1st, 2006, 02:20 PM
#7
Re: hyperlinks between two image folders
I want to use datagrid for my image project. Can you pls provide me with sample codes. Thanks a Bunch/Saru
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|