Welcome to TalkGraphics.com
Results 1 to 3 of 3

Thread: Image Problems

  1. #1
    Join Date
    Mar 2002
    Posts
    9

    Default

    I have been having trouble with placing images on my web page. I was wondering if i needed a URL to test my images on my web page?

    Here is what my image text looks like from my web page: Directory folder were my page is stored:
    file://H:/profile/webpage/images_ryan1.gif
    I have a images folder in the web page folder where I store my images is this correct?

    Here is the image text that I am using:
    <a href="images_ryan1.gif" TARGET="_blank"><img src="images_ryan1.gif" alt="Click To Enlarge" width=100 height=100 border=2></a> Is there something wrong in this text or something wrong with how I have my folders in my H: directory.
    When I go to refresh explorer my web page shows an image box with a x in it,no image.What I want to happen is when I click the image box a larger image appears like what I have written in my image text.
    Much Thanks for any help on this.
    html newbe
    [img]/infopop/emoticons/icon_confused.gif[/img]

  2. #2
    Join Date
    Mar 2002
    Posts
    9

    Default

    I have been having trouble with placing images on my web page. I was wondering if i needed a URL to test my images on my web page?

    Here is what my image text looks like from my web page: Directory folder were my page is stored:
    file://H:/profile/webpage/images_ryan1.gif
    I have a images folder in the web page folder where I store my images is this correct?

    Here is the image text that I am using:
    <a href="images_ryan1.gif" TARGET="_blank"><img src="images_ryan1.gif" alt="Click To Enlarge" width=100 height=100 border=2></a> Is there something wrong in this text or something wrong with how I have my folders in my H: directory.
    When I go to refresh explorer my web page shows an image box with a x in it,no image.What I want to happen is when I click the image box a larger image appears like what I have written in my image text.
    Much Thanks for any help on this.
    html newbe
    [img]/infopop/emoticons/icon_confused.gif[/img]

  3. #3
    Join Date
    Feb 2002
    Location
    Westminster, Colorado USA
    Posts
    1,017

    Default

    &nbsp
    Looks like you have folders named "profile", and "webpage", and maybe another one named something like "images".

    You need to include the folder name and a forward slash in the image tag, if the HTML file and the images folder are in the same location.

    I'm thinking you probably have a folder called "images" in your "webpage" folder, and your HTML file is also in "webpage", so then the tag should be
    <img src="images/images_ryan1.gif" ....etc.

    Naming your images with the prefix "images" isn't the best idea, and is too broad a label. I picked up a very good tip from an experienced web designer, for keeping graphics organized. I use a prefix for each classification of graphics like this:

    pho_dog.gif
    pho - would be photos
    btn_home.gif
    btn - would be for any button
    ban_acmelogo.gif
    ban - would be for any large graphic
    (I call it a "banner", because "ban" is easy to use as a prefix.)
    line_red would be for lines - 1 pixel by 1 pixel fillers of different colors, including a transparent one (these can be sized to any dimension and used for separator bars, spacers, etc.)

    If you use this method, on your hard drive, all the buttons will be in one area and alphabetized, and the same for your large graphics and photos. You can put these in folders for your final website, but while you are working on the site, having them organized in this way makes finding files easier and faster.

    I hope I answered your question.

    Dale

    Why, I’m afraid I can’t explain myself, sir, because I’m not myself, you know...
    - Lewis Carroll

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •