Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 19th, 2008, 10:55 AM
Authorized User
 
Join Date: Apr 2008
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 13 Try It Out Pg. 460 Broken Images

When I display the NewPhotoAlbum.aspx page in the last item of the Try It Out. The images are broken and will not display and nothing happens if you click on the boxes with the red x's on them to display the image. This is happening with all three images on the page.

Please advice me where I may look for my error.

Cheers,

Brian
 
Old June 19th, 2008, 10:58 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Brian,

Take a look at the final HTML in the browser. How are you linking to the images? And what is the address in the address bar of your browser?


Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
 
Old June 20th, 2008, 02:03 PM
Authorized User
 
Join Date: Apr 2008
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Imar I was missing the url for some of the pictures. Fake URLs don't display.

Cheers,

Brian
 
Old September 19th, 2008, 10:09 AM
Authorized User
 
Join Date: Aug 2008
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am having the same problem with displaying my picture. I only have one picture added to the webpage. I checked the HTML and it looks valid to me. See below:

                <img id="ctl00_cpMainContent_ListView1_ctrl0_ImageUrl" Text="~/GigPics/6a3d3143-4a96-40a6-ae09-708c9a5c5225.jpg" src="" style="border-width:0px;" />
                <br />

Any ideas?

 
Old September 19th, 2008, 10:29 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Take a look at this:

Text="~/GigPics/6a3d3143-4a96-40a6-ae09-708c9a5c5225.jpg" src=""

You should set the src (ImageUrl), not the Text property.

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 3 pg 95 al2000 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 August 4th, 2008 09:18 PM
PHP Captcha Script not rendering images - broken crmpicco Beginning PHP 2 October 13th, 2007 07:45 AM
chapter 5, pg 154 spizotfl BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 3 May 1st, 2007 03:08 PM
Chapter 4 pg 131 cpkaiser BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 3 May 2nd, 2004 01:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.