Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic 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 September 5th, 2008, 07:26 PM
Authorized User
 
Join Date: Apr 2004
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default Img doesn't display

Hi,
When I enter a url to an image in internet explorer, the image shows up; however when I embeded in an htm file, it is show X box.
<img src="http://www.bloodsource.org/Images/bloodsource_signature.jpg" mce_src="http://www.bloodsource.org/Images/bloodsource_signature.jpg">

The funny part is that it would show up one time and then when I run it again, it wouldn't show. Is there anything I need to do on Web server side where the image reside beside giving read access to everyone.

Thanks

Peter
__________________
Peter
 
Old September 5th, 2008, 07:57 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Completely lost me.

Can you show a real web page that exhibits the problem??

And what is
    mce_src
in that <IMG> tag for??

Hmmm...did a little googling, and apparently that is dropped in there by some tools. It's meaningless to HTML, though.
 
Old May 8th, 2009, 02:26 PM
Authorized User
 
Join Date: Nov 2008
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Cool I m bit confused.

what is "mce_src". Is it valid?Then could u please Explain it?
 
Old May 8th, 2009, 04:31 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Also, if that is the real URL you used in the example, the file doesn't exist.
http://www.bloodsource.org/Images/bl..._signature.jpg
__________________
--
http://yupapa.com

Last edited by meow; May 17th, 2009 at 06:38 PM..
 
Old May 17th, 2009, 06:27 PM
Friend of Wrox
 
Join Date: Jun 2007
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

Quote:
Originally Posted by peter2004 View Post
Hi,
When I enter a url to an image in internet explorer, the image shows up; however when I embeded in an htm file, it is show X box.
<img src="http://www.bloodsource.org/Images/bloodsource_signature.jpg" mce_src="http://www.bloodsource.org/Images/bloodsource_signature.jpg">

The funny part is that it would show up one time and then when I run it again, it wouldn't show. Is there anything I need to do on Web server side where the image reside beside giving read access to everyone.

Thanks

Peter
There's nothing strickly in the HTML that suggests anything incorrect. Post the link and we'll check it out. It's probably either a browser or a server issue instead of your HTML.
__________________
-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
 
Old May 17th, 2009, 06:59 PM
Friend of Wrox
 
Join Date: Nov 2007
Posts: 207
Thanks: 2
Thanked 15 Times in 15 Posts
Default It might be the code...

Your image tag is never closed so it's not rendering properly and also yes that source is a bad file and doesn't exist.

this is wrong:
<img src="http://www.bloodsource.org/Images/bloodsource_signature.jpg" mce_src="http://www.bloodsource.org/Images/bloodsource_signature.jpg">

this is correct:
<img src="http://www.bloodsource.org/Images/bloodsource_signature.jpg" />
__________________
Jason Hall

Follow me on Twitter @jhall2013
 
Old May 17th, 2009, 08:14 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

If he writes HTML, which he for all we know does, the IMG tag is as closed as it can be and the slash hack is an error.

A missing slash hack, or one too many, has never stopped anything from rendering, unless you actually serve the page up as XHTML and then the page wouldn't be rendered at all...











__________________
--
http://yupapa.com
 
Old May 18th, 2009, 10:54 AM
Registered User
 
Join Date: May 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Missing Image

It has been ages since I have experienced such a problem. Try manually navigating to where your HTML 'claims' the image exists. Possibly even put a text file in the same location and see if you can get that to display.
 
Old May 18th, 2009, 02:33 PM
Authorized User
 
Join Date: Nov 2008
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Image doesnt exist..

Try this piece of code
Code:
<img src="http://selvaa89.110mb.com/images/nat...mn/autumn2.jpg" alt="NOT FOUND">
 
Old September 16th, 2009, 08:20 PM
Registered User
 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi all, I am a new member of forum


__________________
Lobster, Prince, Tennis Twist and used tennis ball machine reviews





Similar Threads
Thread Thread Starter Forum Replies Last Post
Display img from db: error on Windows Server author05 Classic ASP Databases 0 February 21st, 2008 09:45 AM
img tag not loading austinf XSLT 0 June 13th, 2006 04:41 AM
img not refreshing austinf XSLT 1 June 13th, 2006 03:55 AM
show a img title onClick crmpicco Javascript How-To 2 October 7th, 2005 08:50 AM
Align IMG with text Snib HTML Code Clinic 12 April 8th, 2004 10:16 AM





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