Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Web Design Problem

Options
  • 15-10-2011 12:21pm
    #1
    Closed Accounts Posts: 9


    Im having problems with my Web Design when im using Dreamweaver. When i up load a photo it comes up as a clear box with a red x in the corner. Does anyone know what im doing wrong.


Comments

  • Registered Users Posts: 11,977 ✭✭✭✭Giblet


    It's most likely a path issue, are you trying to read a local file rather than a file on the webserver?


  • Closed Accounts Posts: 9 blue000127


    THats the problem i am having the photos wont up load but text does.


  • Registered Users Posts: 3,027 ✭✭✭Lantus


    All files and folders need to be kept in the same places regadless of where you move them. i.e. if you have your images in a folder called images and that folder is inside your project folder you cannot suddenly move it out of that folder to somewhere else. All the paths to those images will be broken when you do.

    ALso if you fail to upload your images to the server then it wont find them. You need to upload the whole caboodle.


  • Closed Accounts Posts: 9,700 ✭✭✭tricky D


    Yup, most likely a paths issue, possibly not having the paths setting as relative. Not sure how you have your files organised but here's a common scheme.

    Have all your website files in a folder like c:/Documents and Settings/mywebsite, with your images in c:/Documents and Settings/mywebsite/images. Other files and/or folders should all be within the mywebsite folder. Then in your code view the images would be referenced like <img src="images/pic1.jpg2" height="40" width="90" alt="pic" />. Then you upload the files in mywebsite to the htdocs (or public_html) folder on your hosting server.

    It's a good idea to learn up on how to write basic raw html over at http://www.w3schools.com as opposed to just using DW's design view which many around here aren't to fond of.


  • Registered Users Posts: 15,065 ✭✭✭✭Malice


    blue000127 wrote: »
    Im having problems with my Web Design when im using Dreamweaver. When i up load a photo it comes up as a clear box with a red x in the corner. Does anyone know what im doing wrong.
    View the source of the page in a browser and see what the image path is and how it's different to wherever your images are stored.

    If there are no differences and the images are definitely where they are supposed to be then make sure you haven't got any malformed tags. I'm not sure what else you can check. Maybe there is some JavaScript running that's messing with things?

    I'd be pretty confident it's a path problem as the others have mentioned.


  • Advertisement
  • Registered Users Posts: 240 ✭✭tramoreman


    what format are the photos are they jpeg


Advertisement