DTP


 
Lively discussions on the graphic arts and publishing — in print or on the web


Go Back   Desktop Publishing Forum > General Discussions > Web Site Building & Maintenance

Reply
 
Thread Tools Display Modes
Old 03-10-2009, 07:35 PM   #1
ai designs
Member
 
Join Date: Feb 2009
Location: Redondo Beach
Posts: 1
Default Stupid Red X

When I try to convert a corel draw file to an html, the text stays, but I get a litte red x where the image would have been. Of course, it looks fine in the browser preview, but when I go to open it on my own, there it is. Stupid red x. Any thoughts?
ai designs is offline   Reply With Quote
Old 03-10-2009, 09:38 PM   #2
terrie
Staff
 
Join Date: Oct 2004
Posts: 8,919
Default

If you can take a look at the source code for the generated HTML, look at the code generated for the images and copy paste it here so we can take a look at it.

The code for the image should look something like the following--copied off of one my own webpages:

img src="../images/tlbpgimg/aj/ajfinal.jpg" width="480" height="600" border="0" alt="alex and jacek"


My guess is that the file location of the image ( "../images/tlbpgimg/aj/ajfinal.jpg" in my example) has not been generated correctly and you may need to enter the info manually.

Terrie
terrie is offline   Reply With Quote
Old 03-13-2009, 10:24 AM   #3
dannygirl15
Member
 
Join Date: Mar 2009
Posts: 8
Default

This is very new to me. How do I view the source code?
dannygirl15 is offline   Reply With Quote
Old 03-13-2009, 10:35 AM   #4
dannygirl15
Member
 
Join Date: Mar 2009
Posts: 8
Default Red X

In regard to "Stupid Red X" posted by ai on 3-10, can you tell me how to view the source code? I've seen that option on items before but can't seem to figure it out in this case. I would like to copy and paste the source code here to figure out why it isn't working correctly.

thanks
dannygirl15 is offline   Reply With Quote
Old 03-13-2009, 10:39 AM   #5
dannygirl15
Member
 
Join Date: Mar 2009
Posts: 8
Default

Sorry - I originally posted a question in the wrong forum, but just found my answer as to how to view the source code. I have pasted it below. When it is opened on a computer other than my own, it shows that red x.

<HTML>
<HEAD>
<TITLE>F-Cedric Holloman Credit Score Can Save You Thousands Image with Image Map</TITLE>
<META http-equiv="Content-Type" Content="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="CorelDRAW 12">
<META NAME="Date" CONTENT="03/13/2009">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<IMG SRC="images/F-Cedric Holloman Credit Score Can Save You Thousands Image with Image Map.GIF" BORDER=0></BODY>
</HTML>


thanks
dannygirl15 is offline   Reply With Quote
Old 03-13-2009, 11:05 AM   #6
terrie
Staff
 
Join Date: Oct 2004
Posts: 8,919
Default

Sorry I had missed your post on how to view the source code...glad you figured that out...'-}}


Quote:
dannygirl15: When it is opened on a computer other than my own, it shows that red x.
The reason it does that is because the image file exists on your computer.

Did you upload the image file to the server that holds your html page/source code? I think you did and I think the problem is with the "IMG SRC" line.

Change "images/F-Cedric Holloman Credit Score Can Save You Thousands Image with Image Map.GIF" to:

"../images/F-Cedric Holloman Credit Score Can Save You Thousands Image with Image Map.GIF"

and upload the changed page to your server.

Note the two periods and extra forward slash in front of images

Hope that helps...

Terrie

PS: I moved your other posts into this thread so that they are all together...'-}}
terrie is offline   Reply With Quote
Old 03-13-2009, 11:15 AM   #7
dannygirl15
Member
 
Join Date: Mar 2009
Posts: 8
Default

Thanks, I think it does, and that's what I was thinking might be the problem. I'm very new to this, so please excuse my ignorance - a client had asked that I EMAIL the .html to him. I had tried to send it as an attachment, and that is when the problem arose. Is this something that cannot be done?
dannygirl15 is offline   Reply With Quote
Old 03-13-2009, 11:20 AM   #8
terrie
Staff
 
Join Date: Oct 2004
Posts: 8,919
Default

Quote:
dannygirl15: a client had asked that I EMAIL the .html to him. I had tried to send it as an attachment, and that is when the problem arose. Is this something that cannot be done?
You should be able to do that. I usually create a .zip file for stuff like this because it sort of puts an envelope around the file "protecting" it...

I just realized that I combined your (dannygirl15) posts with "ai designs" posts--it's not a big deal but I hadn't paid attention to the userids...'-}}

Terrie
terrie is offline   Reply With Quote
Old 03-13-2009, 11:38 AM   #9
dannygirl15
Member
 
Join Date: Mar 2009
Posts: 8
Default

ai designs is a friend of mine, and she had posted that the other day on my behalf.

I made the changes to the source code that you suggested. I notice that once I attach it to the email (not zipped) and try to open it from the unsent email, I still get the x. The revised source code is below. What am I doing wrong?

<HTML>
<HEAD>
<TITLE>page title</TITLE>
<META http-equiv="Content-Type" Content="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="CorelDRAW 12">
<META NAME="Date" CONTENT="03/13/2009">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<IMG SRC="../images/imagename.GIF" BORDER=0></BODY>
</HTML>
dannygirl15 is offline   Reply With Quote
Old 03-13-2009, 11:43 AM   #10
terrie
Staff
 
Join Date: Oct 2004
Posts: 8,919
Default

Quote:
dannygirl15: ai designs is a friend of mine, and she had posted that the other day on my behalf.
Oh good! It's all in the "family" then...'-}}


>>I made the changes to the source code that you suggested. I notice that once I attach it to the email (not zipped) and try to open it from the unsent email, I still get the x. The revised source code is below. What am I doing wrong?

It will display the X because the image isn't actually there. The image won't be visible until the html code and the image are uploaded to the server.

You were able to see the image before on your system when you were looking at the page from within whatever software you were using to create the page because that software "converted' (parsed) the code and found the location of the image file on your system but when you are looking at the page in the unsent email, it's outside that html software so the image isn't found because it isn't actually there.

Basically, it's perfectly normal not to see the image when looking at the "raw" page.

Does that help?

Terrie
terrie is offline   Reply With Quote
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Another stupid CSS/HTML question jgr Web Design 9 08-17-2008 01:01 AM
Why tables for layout is stupid: iamback Web Design 6 11-02-2007 02:08 PM
Stupid Glossary ? curveto Print Production & Automation 21 06-06-2006 02:27 PM


All times are GMT -8. The time now is 03:25 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Contents copyright 2004–2014 Desktop Publishing Forum and its members.