HighDots Forums  

Images in browser not showing

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Images in browser not showing in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
kb8641
 
Posts: n/a

Default Images in browser not showing - 01-02-2009 , 02:56 AM






Hi all,
Another newcomer to DW - but I know a bit about HTML. I have a problem, though
- I have images I created myself in Photoshop, and even just a few plain images
- however, when I "preview in browser" with Firefox, none of the images load.
Did I miss a step in the loading of them onto the page? Thank you for the
help...!



Reply With Quote
  #2  
Old   
martcol
 
Posts: n/a

Default Re: Images in browser not showing - 01-02-2009 , 06:42 AM






Can you post an example of your code?

If your problem relates to the way you have DW set up in your Site Management
I'm too new at this to advise. It the problem is in the way you have
structured your HTML then that will be easier to identify.

Here's what the HTML should look like:
http://www.w3schools.com/htmL/tryit.asp?filename=tryhtml_images

The tricky bit can occur if you are not referencing or linking to your images
properly. For instance, if your images are (which really they should be) in a
different folder to your web page, then that has to be in your code and is
explained here http://www.w3schools.com/htmL/tryit.asp?filename=tryhtml_images2

Sometimes, when uploading pages to the server it is not unusual to forget to
upload the image itself.

Regards

Martin


Reply With Quote
  #3  
Old   
John Waller
 
Posts: n/a

Default Re: Images in browser not showing - 01-02-2009 , 07:04 AM



Please provide a link to the site so we can see the problem you are seeing.

--
Regards

John Waller

Reply With Quote
  #4  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Images in browser not showing - 01-02-2009 , 07:16 AM



Quote:
Sometimes, when uploading pages to the server it is not unusual to forget
to
upload the image itself.
Not if you upload with dependent files....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"martcol" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Can you post an example of your code?

If your problem relates to the way you have DW set up in your Site
Management
I'm too new at this to advise. It the problem is in the way you have
structured your HTML then that will be easier to identify.

Here's what the HTML should look like:
http://www.w3schools.com/htmL/tryit.asp?filename=tryhtml_images

The tricky bit can occur if you are not referencing or linking to your
images
properly. For instance, if your images are (which really they should be)
in a
different folder to your web page, then that has to be in your code and is
explained here
http://www.w3schools.com/htmL/tryit.asp?filename=tryhtml_images2

Sometimes, when uploading pages to the server it is not unusual to forget
to
upload the image itself.

Regards

Martin



Reply With Quote
  #5  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Images in browser not showing - 01-02-2009 , 07:17 AM



We would need to see the code on the page to know for sure. Are you linking
with root relative links? If so, do you have temp files enabled in your
preview in browser Preferences?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"kb8641" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi all,
Another newcomer to DW - but I know a bit about HTML. I have a problem,
though
- I have images I created myself in Photoshop, and even just a few plain
images
- however, when I "preview in browser" with Firefox, none of the images
load.
Did I miss a step in the loading of them onto the page? Thank you for the
help...!




Reply With Quote
  #6  
Old   
kb8641
 
Posts: n/a

Default Re: Images in browser not showing - 01-02-2009 , 11:34 AM



file:///Users/krystinabenedetti/Documents/Personal/APhi%20Stuff/Alpha%20Phi/Webp
ages/homepg.html

That is the link of the previewed page, I wasn't sure if you wanted that or
the actual code. I'm thinking the link I just gave you won't work on your
computer as it's a users/.. file, so here's the code for one image:

<p><img src="../aphi recr 2007.jpg" width="482" height="337"
alt="Recruitment!"/></p>

and the other:
<h1><img src="../banner.jpg" width="784" height="143" alt="Alpha Phi Banner"
/></h1>

And to Murray, I don't know if I linked via root relative links, but I did try
to load the page with temp files enabled and I know that did not solve the
problem.

For the first image, with alt=Recruitment, in LiveView a small blue box with a
question mark appears in its place.
And the background that I chose in the Page Properties, as an image repeated,
is not showing up at all and the webpage has a gray background when in LiveView
as well as when previewd in Firefox.

I hope that helps!


Reply With Quote
  #7  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Images in browser not showing - 01-02-2009 , 12:44 PM



Quote:
I'm thinking the link I just gave you won't work on your
computer as it's a users/.. file
You'd be right.

Quote:
p><img src="../aphi recr 2007.jpg" width="482" height="337"
alt="Recruitment!"/></p
Other than the fact that you have spaces in your filename (a poor practice),
I don't see any reason why you wouldn't see this image. What is the path to
this page that is shown in the browser address field?

Quote:
And to Murray, I don't know if I linked via root relative links
The link you are showing here is a document relative link, since it
describes to the browser how to get to the image file based on where the
current document is (i.e., go up a directory level, and find a file called
'aphi recr 2007.jpg'). I'm thinking this is your problem since it would be
surprising if your current page is actually in a subfolder off the folder
containing the image. This likely means your site is not properly defined.

Quote:
And the background that I chose in the Page Properties, as an image
repeated,
is not showing up at all and the webpage has a gray background when in
LiveView
as well as when previewd in Firefox.
As mentioned before, the answers are in the code, not the narrative.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"kb8641" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
file:///Users/krystinabenedetti/Documents/Personal/APhi%20Stuff/Alpha%20Phi/Webp
ages/homepg.html

That is the link of the previewed page, I wasn't sure if you wanted that
or
the actual code. I'm thinking the link I just gave you won't work on your
computer as it's a users/.. file, so here's the code for one image:

p><img src="../aphi recr 2007.jpg" width="482" height="337"
alt="Recruitment!"/></p

and the other:
h1><img src="../banner.jpg" width="784" height="143" alt="Alpha Phi
Banner"
/></h1

And to Murray, I don't know if I linked via root relative links, but I did
try
to load the page with temp files enabled and I know that did not solve the
problem.

For the first image, with alt=Recruitment, in LiveView a small blue box
with a
question mark appears in its place.
And the background that I chose in the Page Properties, as an image
repeated,
is not showing up at all and the webpage has a gray background when in
LiveView
as well as when previewd in Firefox.

I hope that helps!



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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.