Last post Jan 28, 2008 08:27 AM by alvav
Mar 05, 2007 02:54 PM|Goofy2k|LINK
I am experimenting with the Personal Web Site Starter Kit. On my development server everything works OK, but on my "production server" photos are displayed as links.
So e.g. a text Photo Number 9 in red in the "Photo of the Day" part of the default.aspx page, in stead of the picture itself. I have similar errors on other pages that have to display the pictures.
Does anyone have a clue which setting is suspect with this error.
Mar 05, 2007 10:04 PM|vvsharma|LINK
The Control displaying the info. is either a linkbutton or something.Use the Image control (<asp:Image ID="Image1" runat="server") ... instead
Also,make sure that you get the correct info.(ImageUrl) for the Image Control and nothing else(like Photo Number 9 -text info.).So modify the code behind to pull appropriate info for the Image url.
Hope this helps!
Mar 06, 2007 02:11 PM|Goofy2k|LINK
I use the standard Personal Web Site Starter Kit. Originally the pictures were displayed OK. When I dig into the code I hit to code in the Handler.ashx file of this project. Is there any way that this code starts to display texts like "like Photo Number
9" in stead of the picture itself ?
I am not aware that I changed something in this code , so it must have something to do with the setting of some parameter that controls the way that the data is displayed.
Mar 08, 2007 02:01 PM|Goofy2k|LINK
Jan 28, 2008 03:38 AM|alvav|LINK
Jan 28, 2008 08:16 AM|coldfire82|LINK
Here could be hosting security setting. I had such problem, and asked hosting support, so they changed the setting.
where you are hosting your PWSK?
Jan 28, 2008 08:27 AM|alvav|LINK