Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Why Do Images "crack" in DW when inserted?
Old 05-13-2006, 10:25 PM Why Do Images "crack" in DW when inserted?
finesse's Avatar
Average Talker

Posts: 26
Location: Brooklyn New York
Trades: 0
I am having touble getting images that I created for a page header in photoshop and illustrator (cs) to appear in DWMX without getting a cracked simble in place of my image. I look at the code to check to see if it is written correctly but that haven't revealed any clues. Can some one please help.
finesse is offline
Reply With Quote
View Public Profile Visit finesse's homepage!
 
 
Register now for full access!
Old 05-13-2006, 11:47 PM Re: Why Do Images "crack" in DW when inserted?
blue-dreamer's Avatar
King Spam Talker

Posts: 1,222
Location: Middle England
Trades: 0
two things to look for...

are the image paths correct in the <a href="path/to/image.gif" tag?

have you uploaded the images to the correct location on your web site?
blue-dreamer is offline
Reply With Quote
View Public Profile
 
Old 05-16-2006, 12:59 PM Re: Why Do Images "crack" in DW when inserted?
ExpressoDan's Avatar
Ultra Talker

Posts: 317
Name: This Space for Rent
Location: Georgia
Trades: 0
You need to define a site
__________________

Please login or register to view this content. Registration is FREE

"I think therefore I am, I think." <!-- George Carlin
ExpressoDan is offline
Reply With Quote
View Public Profile Visit ExpressoDan's homepage!
 
Old 05-17-2006, 11:10 AM Re: Why Do Images "crack" in DW when inserted?
finesse's Avatar
Average Talker

Posts: 26
Location: Brooklyn New York
Trades: 0
Ok. My site is awilled.com. I've created a logo for the site in Illustrator, then transfered it to Photoshop to save it as .jpg. But when I upload it to my site, or load it in DW it Cracks. This is the tag between the body tags:
<img src="file:///C|/Documents%20and%20Settings/Finesse%20Williams/my%20documents/my%20pictures/aslogo.jpg">
This is the way the tag appears in DW. I don't know how to get this site into DW. I had someone do the site for me. I will upload the image on the site so you can look at the code.
finesse is offline
Reply With Quote
View Public Profile Visit finesse's homepage!
 
Old 05-17-2006, 01:27 PM Re: Why Do Images "crack" in DW when inserted?
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
The source is pointing to your local computer (ie - your computer in your "my documents" folder).

The image needs to be set to either an absolute path to your web server, or a relative path:

HTML Code:
Absolute:
<img src="http://www.mydomain.com/images/aslogo.jpg">
 
or Relative to the viewing html page:
<img src="images/aslogo.jpg">
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is online now
Reply With Quote
View Public Profile
 
Old 05-17-2006, 02:01 PM Re: Why Do Images "crack" in DW when inserted?
finesse's Avatar
Average Talker

Posts: 26
Location: Brooklyn New York
Trades: 0
So if I change the code to a relative path, excluding my hard drive path, stating the file, will this work?
finesse is offline
Reply With Quote
View Public Profile Visit finesse's homepage!
 
Old 05-17-2006, 02:03 PM Re: Why Do Images "crack" in DW when inserted?
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
Quote:
Originally Posted by finesse
So if I change the code to a relative path, excluding my hard drive path, stating the file, will this work?
- Only if the image is located in the same directory of the html page
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is online now
Reply With Quote
View Public Profile
 
Old 05-17-2006, 02:08 PM Re: Why Do Images "crack" in DW when inserted?
finesse's Avatar
Average Talker

Posts: 26
Location: Brooklyn New York
Trades: 0
Thanks Graphic, but i changed the code to a relative path and I'm still getting the cracked image. How do Ii pull down pages on the web into Dreamwaever?
finesse is offline
Reply With Quote
View Public Profile Visit finesse's homepage!
 
Old 05-17-2006, 02:19 PM Re: Why Do Images "crack" in DW when inserted?
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
I don't know dreamweaver myself, but here is a guide:

HTML Code:
Let's say you html page is located:
http://www.mydomain.com/index.html
 
And your image is located:
http://www.mydomain.com/images/aslogo.jpg
 
The image src would point to:
<img src="images/aslogo.jpg">
 
--------------------------
 
But if your html page is located:
http://www.mydomain.com/somewhere/index.html
 
And your image is located:
http://www.mydomain.com/images/aslogo.jpg
 
You would have to point backwards (../) to the parent directory to find the image directory:
<img src="../images/aslogo.jpg">
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is online now
Reply With Quote
View Public Profile
 
Old 05-18-2006, 02:07 PM Re: Why Do Images "crack" in DW when inserted?
ExpressoDan's Avatar
Ultra Talker

Posts: 317
Name: This Space for Rent
Location: Georgia
Trades: 0
Okay... is your computer that your using dreamweaver on set up to run as a web server (IIS)? If so, it would save you soooo much time to "define a site" in dreamweaver. Even if you dont have your machine set up with IIS, you need to define a site. This will eliminate the garbled source paths in the code. If you need help defining your site, check out this link.

http://goliath.st-andrews.ac.uk/its/...er/dw031.shtml

Good luck
__________________

Please login or register to view this content. Registration is FREE

"I think therefore I am, I think." <!-- George Carlin
ExpressoDan is offline
Reply With Quote
View Public Profile Visit ExpressoDan's homepage!
 
Old 05-22-2006, 05:38 PM Re: Why Do Images "crack" in DW when inserted?
finesse's Avatar
Average Talker

Posts: 26
Location: Brooklyn New York
Trades: 0
how do I get my computer set up on IIS? These images are being created in illustrator. I don't know if its the programs not jelling or what.
finesse is offline
Reply With Quote
View Public Profile Visit finesse's homepage!
 
Old 05-22-2006, 05:45 PM Re: Why Do Images "crack" in DW when inserted?
finesse's Avatar
Average Talker

Posts: 26
Location: Brooklyn New York
Trades: 0
THE IMAGES IS LOCATED ON MY COMPUTER. I also paid some to build and host a site for me: aswilled.com. And this is where I want to place the image. I can't get to the code for this site. I don't know if I could pull it into DW.
finesse is offline
Reply With Quote
View Public Profile Visit finesse's homepage!
 
Old 05-23-2006, 10:38 AM Re: Why Do Images "crack" in DW when inserted?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
The path to your image must be that of the path on the server where your site is hosted. What you have to do on YOUR computer is make sure that your web site structure is EXACTLY the same as what's on your host server. Then as mentioned above, in DW, define your site and tell it where your default images folder for the site is. Once you have this exact duplicate on your machine and the site defined in DW, when you upload your pages to your hosting server the paths to images and other pages should not break.

It's not necessary to set up IIS on your machine for this.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Why Do Images "crack" in DW when inserted?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.64335 seconds with 12 queries