|
|
 |
| 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.
|
 |

September 5th, 2008, 08:26 PM
|
|
Authorized User
|
|
Join Date: Apr 2004
Location: , , .
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

September 5th, 2008, 08:57 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,323
Thanks: 3
Thanked 70 Times in 69 Posts
|
|
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.
|

May 8th, 2009, 03:26 PM
|
|
Authorized User
|
|
Join Date: Nov 2008
Location: virudhunagar, tamil nadu, India.
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I m bit confused.
what is "mce_src". Is it valid?Then could u please Explain it?
|

May 8th, 2009, 05:31 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Location: , , .
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

May 17th, 2009, 07:27 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2007
Location: San Diego, CA, USA.
Posts: 278
Thanks: 0
Thanked 4 Times in 4 Posts
|
|
Quote:
Originally Posted by peter2004
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.
|

May 17th, 2009, 07:59 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2007
Location: Central Florida, USA.
Posts: 199
Thanks: 2
Thanked 15 Times in 15 Posts
|
|
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
|

May 17th, 2009, 09:14 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Location: , , .
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

May 18th, 2009, 11:54 AM
|
|
Registered User
|
|
Join Date: May 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

May 18th, 2009, 03:33 PM
|
|
Authorized User
|
|
Join Date: Nov 2008
Location: virudhunagar, tamil nadu, India.
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Image doesnt exist..
|

September 16th, 2009, 09:20 PM
|
|
Registered User
|
|
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |