Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    May 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Need help with a web site CODE issue regarding images PLEASE

    My name is Michael. Here is my web site: sequentialpulpcomics.com I am trying to replace the key line contained images on the left and right side of the page.for this purpose of this illustration I am only giving code for the left side. You'll see most of the code is for the key line boxes that surround the image.

    I am placing new fit to size jpg images in the graphic folder and the vti-cnf folder which is inside the graphic folder. I am changing the image here:
    <TD><IMG SRC="Graphics/martiansgohome-leftpic.jpg" HEIGHT="370" WIDTH="110"

    to the name of the new jpg named "Graphics/martians1.jpg" The height and width are the same. When uploaded and saved I am getting a broken image in the site. Any help would be most grateful. Thanking you in advance.

    <TD><IMG SRC="Graphics/left01.jpg" WIDTH="124" HEIGHT="9" BORDER="0"></TD>
    </TR>
    <TR>
    <TD><TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
    <TR>
    <TD><IMG SRC="Graphics/left02.jpg" WIDTH="14" HEIGHT="371" BORDER="0"></TD>
    <TD><TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
    <TR>
    <TD><IMG SRC="Graphics/left03.jpg" WIDTH="110" HEIGHT="1" BORDER="0"></TD>
    </TR>


    <!-- EDIT LEFT PICTURE HERE -->


    <TR>
    <TD><IMG SRC="Graphics/martiansgohome-leftpic.jpg" HEIGHT="370" WIDTH="110"
    BORDER="0"></TD>
    </TR>


    <!-- END LEFT PICTURE EDIT -->


    </TABLE></TD>
    </TR>
    </TABLE></TD>
    </TR>
    <TR>
    <TD><IMG SRC="Graphics/left04.jpg" WIDTH="124" HEIGHT="10" BORDER="0"></TD>
    </TR>
    </TABLE></TD>
    <TD><IMG SRC="Graphics/left05.jpg" WIDTH="1" HEIGHT="390" BORDER="0"></TD>
    <TD><IMG SRC="Graphics/left06.jpg" WIDTH="4" HEIGHT="390" BORDER="0"></TD>

  • #2
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,335
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Obviously, your image filepath is wrong, or some typo in the filename? wrong folder structure? Make sure your folder structure is the same locally as it is remotely. Does the image show up when you browse your page locally?
    Teed

  • #3
    New to the CF scene
    Join Date
    May 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    No, it isn't showing up when browsing locally. Thank you for your answer.

  • #4
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,300
    Thanks
    28
    Thanked 275 Times in 269 Posts
    Quote Originally Posted by MichaelHudson View Post
    I am placing new fit to size jpg images in the graphic folder and the vti-cnf folder which is inside the graphic folder. I am changing the image here:
    <TD><IMG SRC="Graphics/martiansgohome-leftpic.jpg" HEIGHT="370" WIDTH="110"

    to the name of the new jpg named "Graphics/martians1.jpg" The height and width are the same. When uploaded and saved I am getting a broken image in the site. Any help would be most grateful. Thanking you in advance.
    The two relevant URLs are apparently:

    1. http://reelartstudios.com/spc/Graphi...me-leftpic.jpg
    2. http://reelartstudios.com/spc/Graphics/martians1.jpg

    The first one returns a 200 OK response for a 271 byte JPEG, but the image doesn't display. At 271 bytes for a JPEG, I'd be suspicious that there's some problem with the file particularly if the intended rendering is at 370×110 pixels.

    The second one returns a 404 Not Found response with an HTML error page. Apparently, the image is simply missing.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • Users who have thanked Arbitrator for this post:

    MichaelHudson (05-13-2011)

  • #5
    New to the CF scene
    Join Date
    May 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thank you sir! I will look into both images.

  • #6
    Regular Coder
    Join Date
    Dec 2010
    Posts
    134
    Thanks
    17
    Thanked 6 Times in 6 Posts
    A tip; don't use capitals in naming files and folders !


  •  

    Posting Permissions

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