• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 166
  • Last Modified:

image click

Yes I have a image thumbnail when clicked it will open a new window to see the image.
I want to embed the image so when clicked on it will open on the same page. or even another page in my master page.

 <a href='<%# Request.ApplicationPath %><%# Eval("Filename", "../Gallery/{0}") %>' target="_blank">

filename is returns image name then  Gallery returns the folder name ((/2008611115528)).JPG and 0 returns from my select statement the is of the image. But not sure how to return large image within the masterpage or another page.
0
Seven price
Asked:
Seven price
  • 5
  • 5
1 Solution
 
Bob LearnedCommented:
Try target="_self", or removing target altogether.
0
 
Seven priceFull StackAuthor Commented:
No that just opens the window to display image itself
0
 
Bob LearnedCommented:
I don't understand what you are looking for, and what you just said.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
Seven priceFull StackAuthor Commented:
Sorry, Ok when I click on the thumbnail it opens a window, weather it is the same window or new window it just shows the image itself, because the way I have it is a direct link to the image. What I need is to click on the image and have it open up in the same window or another part of the file so the image will open as a large view within  the master page.not new window or a direct link to the image.


read the first comment please thanks
0
 
Seven priceFull StackAuthor Commented:
I use the link below this should help with clarification. so I want the thumbnail  image when click on to appear in the same page as a large image.

http://www.beansoftware.com/ASP.NET-Tutorials/Picture-Album.aspx
0
 
Bob LearnedCommented:
Here is what I would do:  redirect to a page that is pointed to the master page, and will get the file name from a QueryString value, and then display the image.
0
 
Seven priceFull StackAuthor Commented:
do you have a small example then I will close this case
0
 
Seven priceFull StackAuthor Commented:
Passing the querystring I am having that problem with 2 cases. I create the page but How to pass the querystring to on page to another.  this will kill 2 birds with one stone dude.
0
 
Bob LearnedCommented:
Response.Redirect("ShowImage.aspx?url=" & fileName)
0
 
Bob LearnedCommented:
Dim url As String = Request.QueryString("url")
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now