Click to See Complete Forum and Search --> : hyperlinks between two image folders


saru0516@yahoo.com
February 22nd, 2006, 01:59 PM
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

HanneSThEGreaT
February 23rd, 2006, 06:18 AM
This (http://www.developer.com/net/asp/article.php/3098311) article might be worth reading.

Isn't this a ASP.NET (http://www.codeguru.com/forum/forumdisplay.php?f=15) issue ¿

gigemboy
February 23rd, 2006, 08:16 AM
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...

<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

saru0516@yahoo.com
February 28th, 2006, 08:31 AM
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

saru0516@yahoo.com
February 28th, 2006, 09:12 AM
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

gigemboy
March 1st, 2006, 10:43 AM
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...

saru0516@yahoo.com
March 1st, 2006, 01:20 PM
I want to use datagrid for my image project. Can you pls provide me with sample codes. Thanks a Bunch/Saru