| | |
Image popup into template with ads
Please support our ASP.NET advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Jan 2008
Posts: 18
Reputation:
Solved Threads: 0
I'm looking for C# based, asp.net code (either with or without ajax extensions), that will allow me to load full size images (from thumbnails) into a "template" or aspx page that I will have focused advertising embedded.
I know I have to create the thumbs gallery page and the ad page (or popup page) but I need to have the thumbnails load into their full size images into the popup page which will have the focused advertising (i.e. banner ads).
The best example I can give, is something very similar to www.stuffmagazine.com/cover_girls/ (these are non-nude galleries and by no means am I trying to solicit business or support to them, just want to be clear what I'm trying to accomplish).
So, in essence, I need to pass along the full image path to the popup window (reuseable). I'm really new at asp.net and any examples, code or references would make my task much easier. I'm not after the look of the gallery page, just how to code the popup portion and code behind that passes the image details to it.
Thanks in advance
I know I have to create the thumbs gallery page and the ad page (or popup page) but I need to have the thumbnails load into their full size images into the popup page which will have the focused advertising (i.e. banner ads).
The best example I can give, is something very similar to www.stuffmagazine.com/cover_girls/ (these are non-nude galleries and by no means am I trying to solicit business or support to them, just want to be clear what I'm trying to accomplish).
So, in essence, I need to pass along the full image path to the popup window (reuseable). I'm really new at asp.net and any examples, code or references would make my task much easier. I'm not after the look of the gallery page, just how to code the popup portion and code behind that passes the image details to it.
Thanks in advance
•
•
Join Date: Jan 2005
Posts: 10
Reputation:
Solved Threads: 0
•
•
•
•
Sorry, I think I was just trying to confuse the issue because of the asp.net coding base. It was really just a matter of simple javascripting and onclick event, I went back to the basics and I solved the problem.
I have the same problem embedding upload pictures on table.
Can you tell me how you solve the problem.
Tanks in advance.
Regards,
E. Pierre
•
•
Join Date: Jan 2008
Posts: 18
Reputation:
Solved Threads: 0
•
•
•
•
Hello,
I have the same problem embedding upload pictures on table.
Can you tell me how you solve the problem.
Tanks in advance.
Regards,
E. Pierre
Next I used the following script:
ASP.NET Syntax (Toggle Plain Text)
<script type="text/javascript" language="Javascript"> function PopupPic(sPicURL) { window.open("GOTtmpl1.aspx?" + sPicURL, "GirlsOfTexas", "resizable=1,HEIGHT=800,WIDTH=650, scrollbars=1"); } </script>
Lastly, I created a gallery page with my thumbs laid out and calling the script from above on each thumb. Here's an example of that table code:
ASP.NET Syntax (Toggle Plain Text)
<table align="center" style="width: 100%"> <tr> <td valign="top"><a href="javascript:PopupPic('models/brooke/brooke4-O8-0001.jpg')"> <img src="models/brooke/thumbs/brooke4-O8-0001.jpg" alt="Brooke 1" /></a></td> <td valign="top"><a href="javascript:PopupPic('models/brooke/brooke4-O8-0316.jpg')"> <img src="models/brooke/thumbs/brooke4-O8-0316.jpg" alt="Brooke 2" /></a></td> <td valign="top"><a href="javascript:PopupPic('models/brooke/brooke4-O8-0317.jpg')"> <img src="models/brooke/thumbs/brooke4-O8-0317.jpg" alt="Brooke 3" /></a></td> </tr></table>
Also, you could dynamically resize your full size pics for the thumbs but I use a seperate thumbnail and full size image file.
No promo for my site but you can check out the code in action at Girlsoftexasmag.com, go to the model page and pick any model. These are non-nude but Maxim style, so if you prefer not to view that's understandable.
Last edited by txwebdesign; Jan 19th, 2009 at 10:03 pm.
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: need to add a step in the create user wizard in vwd2005
- Next Thread: How to manipulate asp controls in content page with unit testing?
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 3.5 ajax alltypeofvideos appliances application asp asp.net beginner box browser businesslogiclayer button c# cac checkbox class complex control countryselector dataaccesslayer database datagrid datagridview datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit editing embeddingactivexcontrol feedback fileuploader fill findcontrol flash folder form gridview gudi iis image javascript list listbox login maps mobile mouse mssql nameisnotdeclared news novell numerical opera panelmasterpagebuttoncontrols parent problem project radio redirect registration relationaldatabases reportemail response.redirect richtextbox rows schoolproject search security select sessionvariables silverlight smoobjects software sql sql-server ssl tracking treeview validatedate validation vb.net videos vista visualstudio vs2008 web webapplications webdevelopment webprogramming webservice wizard xsl





