p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > Web Programming > HTML > HTML Code Clinic
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 5th, 2008, 08:26 PM
Authorized User
Points: 117, Level: 2
Points: 117, Level: 2 Points: 117, Level: 2 Points: 117, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2004
Location: , , .
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old September 5th, 2008, 08:57 PM
Friend of Wrox
Points: 4,805, Level: 29
Points: 4,805, Level: 29 Points: 4,805, Level: 29 Points: 4,805, Level: 29
Activity: 38%
Activity: 38% Activity: 38% Activity: 38%
 
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,323
Thanks: 3
Thanked 70 Times in 69 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old May 8th, 2009, 03:26 PM
Authorized User
Points: 66, Level: 1
Points: 66, Level: 1 Points: 66, Level: 1 Points: 66, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2008
Location: virudhunagar, tamil nadu, India.
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #4 (permalink)  
Old May 8th, 2009, 05:31 PM
Friend of Wrox
Points: 1,272, Level: 14
Points: 1,272, Level: 14 Points: 1,272, Level: 14 Points: 1,272, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , .
Posts: 423
Thanks: 0
Thanked 0 Times in 0 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 07:38 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #5 (permalink)  
Old May 17th, 2009, 07:27 PM
Friend of Wrox
Points: 941, Level: 11
Points: 941, Level: 11 Points: 941, Level: 11 Points: 941, Level: 11
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2007
Location: San Diego, CA, USA.
Posts: 278
Thanks: 0
Thanked 4 Times in 4 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #6 (permalink)  
Old May 17th, 2009, 07:59 PM
Friend of Wrox
Points: 788, Level: 10
Points: 788, Level: 10 Points: 788, Level: 10 Points: 788, Level: 10
Activity: 15%
Activity: 15% Activity: 15% Activity: 15%
 
Join Date: Nov 2007
Location: Central Florida, USA.
Posts: 199
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #7 (permalink)  
Old May 17th, 2009, 09:14 PM
Friend of Wrox
Points: 1,272, Level: 14
Points: 1,272, Level: 14 Points: 1,272, Level: 14 Points: 1,272, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , .
Posts: 423
Thanks: 0
Thanked 0 Times in 0 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #8 (permalink)  
Old May 18th, 2009, 11:54 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #9 (permalink)  
Old May 18th, 2009, 03:33 PM
Authorized User
Points: 66, Level: 1
Points: 66, Level: 1 Points: 66, Level: 1 Points: 66, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2008
Location: virudhunagar, tamil nadu, India.
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">
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #10 (permalink)  
Old September 16th, 2009, 09: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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

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 05:41 AM
img not refreshing austinf XSLT 1 June 13th, 2006 04:55 AM
show a img title onClick crmpicco Javascript How-To 2 October 7th, 2005 09:50 AM
Align IMG with text Snib HTML Code Clinic 12 April 8th, 2004 11:16 AM



All times are GMT -4. The time now is 04:51 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc