Home made buttons

Discussion in 'HTML & Website Design' started by Dewayne, Feb 17, 2007.

  1. #1
    I made my own buttons to put on my website. I uploaded the index file and tried it but it only showed the page and no buttons just an x where the button is suppose to b. I then loaded the buttons I madeand they were Gif but the page still shows an empty spot where the buttons are suppose to be. I tried to save them as image/index_htm_smartbutton2884.gif but windows said that was an invalid file name. I linked the buttons and when I preview the page it worked fine. Anyone know what wrong? :(
     
    Dewayne, Feb 17, 2007 IP
  2. BILZ

    BILZ Peon

    Messages:
    1,515
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you cant name a file with a "/" in the file name.
     
    BILZ, Feb 18, 2007 IP
  3. Dewayne

    Dewayne Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Instead of using / should I use _? I tried to just name it smartbutton13666.gif and upload it but that didn't work either.
     
    Dewayne, Feb 18, 2007 IP
  4. nwk

    nwk Well-Known Member

    Messages:
    385
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    158
    #4
    It may help if you give the link to the html code.
    May be there's some code incompatibility or error.
     
    nwk, Feb 18, 2007 IP
  5. Dewayne

    Dewayne Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    The link to the site is www.publicpursuithunting.com.
     
    Dewayne, Feb 18, 2007 IP
  6. YIAM

    YIAM Notable Member

    Messages:
    2,480
    Likes Received:
    240
    Best Answers:
    0
    Trophy Points:
    280
    #6
    Where did you upload your images??

    Here is the code you used
    Creat folder "images" and upload your image file "index_htm_smartbutton10784.gif" in that folder.
     
    YIAM, Feb 18, 2007 IP
  7. nwk

    nwk Well-Known Member

    Messages:
    385
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    158
    #7
    As Yiam said you should upload your images in a folder named "images"(under the root folder).
    When I checked your images I found one in the root folder.
    This is an image you uploaded.

    http://www.publicpursuithunting.com./smartbutton13666.gif

    But the images are supposed to be here
    http://www.publicpursuithunting.com./images/index_htm_smartbutton28848.gif
    http://www.publicpursuithunting.com./images/index_htm_smartbutton28906.gif
    http://www.publicpursuithunting.com./images/index_htm_smartbutton31062.gif
    http://www.publicpursuithunting.com./images/index_htm_smartbutton29367.gif
    ........... You should see the images when you go to these urls as you can see in the top url. when i checked these urls there's no image at all.

    If you still have problem, feel free to contact me, I can help you with the codes and all.:D

    nwk
     
    nwk, Feb 18, 2007 IP
  8. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #8
    And if all the suggestions above don't solve the problem and you are sure you are linking to the proper place for your images, shorten the filename.

    I got into a situation a couple of weeks ago where that was the only thing that would solve the problem. Still don't know if it was a caching issue or if there is an actual limit.

    In my case I could view the image file when I used mydomain/images/longfilename.jpg but it would not show up when called from an html page.
     
    Colbyt, Feb 18, 2007 IP
  9. Dewayne

    Dewayne Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Thanks all for the help.I put them in a folder and they work now. I just have to get the forum linked up. Thanks again.
     
    Dewayne, Feb 18, 2007 IP