Code Bank
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingCode Bank

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 27th, 2004, 09:00 AM
frvp frvp is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 5 frvp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Any ASP experts out there that can see the problem with this?

Any ASP experts out there that can see the problem with this?
http://www.freetravel.cc/Album.aspx...rs+-+Costa+Rica

After clicking on a thumbnail picture at the above site, the main picture does not load from the site below.

http://www.freetravel.cc/Image.aspx...ta_Rica%2f2.jpg

Below are Image.aspx and image.aspx.vb


Image.aspx>>
Code:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Image.aspx.vb" Inherits="Students.Image"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> <HEAD> <title>Image</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> </HEAD> <body> <form id="Form1" method="post" runat="server"> <aspanel id="pnlDefault" runat="server" Font-Bold="True" Font-Size="8pt" Font-Names="Tahoma">The size of this image has been altered to fill your screen, which could result in poor quality. To view this image in it's original state, please <asp:LinkButton id="LinkButton1" runat="server">click here.</asp:LinkButton></aspanel> <aspanel id="pnlOriginal" runat="server" Font-Bold="True" Font-Size="8pt" Font-Names="Tahoma" Visible="False">To zoom in (or out) so that this image fills your screen, please <asp:LinkButton id="LinkButton2" runat="server">click here.</asp:LinkButton></aspanel> <asp:Image id="TheImage" runat="server"></asp:Image><BR> <asp:HyperLink id="HyperLink1" runat="server" Font-Bold="True"><<< Back to Index of Individual Pictures</asp:HyperLink></form> </body></HTML>


Image.aspx.vb>>
Code:
Public Class Image Inherits System.Web.UI.Page#Region " Web Form Designer Generated Code " 'This call is required by the Web Form Designer. <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent() End Sub Protected WithEvents Image1 As System.Web.UI.WebControls.Image Protected WithEvents pnlDefault As System.Web.UI.WebControls.Panel Protected WithEvents LinkButton1 As System.Web.UI.WebControls.LinkButton Protected WithEvents Image2 As System.Web.UI.WebControls.Image Protected WithEvents pnlOriginal As System.Web.UI.WebControls.Panel Protected WithEvents LinkButton2 As System.Web.UI.WebControls.LinkButton 'NOTE: The following placeholder declaration is required by the Web Form Designer. 'Do not delete or move it. Private designerPlaceholderDeclaration As System.Object Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init 'CODEGEN: This method call is required by the Web Form Designer 'Do not modify it using the code editor. InitializeComponent() End Sub#End Region Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim ImagePath As String = "images/" & Server.UrlDecode(Request.RawUrl).ToLower.Replace(R equest.Path.ToLower & "?", "") Image1.ImageUrl = ImagePath Image2.ImageUrl = ImagePath End Sub Private Sub LinkButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LinkButton1.Click pnlDefault.Visible = True pnlOriginal.Visible = False End Sub Private Sub LinkButton2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LinkButton2.Click pnlDefault.Visible = True pnlOriginal.Visible = False End SubEnd Class

Reply With Quote
  #2  
Old April 27th, 2004, 09:07 AM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,770 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 6 h 58 m 22 sec
Reputation Power: 469
This post belongs in the .NET area.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingCode Bank > Any ASP experts out there that can see the problem with this?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT