|
|
Post a Project »
Find a Professional HTML Freelancer!
Find a Freelancer to help you with your HTML projects
| |
|
 |
|
|
|
03-07-2008, 05:56 AM
|
My image doesn't show up
|
Posts: 14
|
Hi, I have a website (site A) and i want to introduce my website by putting a link directing to my website in another site (site B) by inserting HTML code as following
<a href="http://mysite.com" target="_blank"><img src="http://mysite.com/images/Link-extend.gif" alt="Image description" border="0" /></a>
As shown above, i want the link to be displayed as an image (Link-extend.gif) and i put the image in "image" directory, but it still doesn't show up in site B, instead it only display "Image description" text as the link
HOW CAN I FIX THIS???? I'm so desperate  , can anybody help??? Thank you very much
|
|
|
|
03-07-2008, 08:33 AM
|
Re: My image doesn't show up
|
Posts: 20
|
Generally it looks fine. I would only exclude the forward slash after border="0".
Let me know if that works.
__________________
Brandon Doyle
Please login or register to view this content. Registration is FREE
|
|
|
|
03-07-2008, 09:12 AM
|
Re: My image doesn't show up
|
Posts: 961
Name: Darren
Location: England
|
Are you seeing a square or red cross where the image should be??
If so, then it could be the url to you image is not correct.
__________________
I Just a test to see what happens... Please login or register to view this content. Registration is FREE
"Let us be thankful for the fools. But for them the rest of us could not succeed..."
|
|
|
|
03-07-2008, 09:31 AM
|
Re: My image doesn't show up
|
Posts: 14
|
-Thank you Doyle, I already tried excluding the forward slash after border="0" but it doesn't change anything
-You're correct Rolda, I do see a red cross and yes, that means my image URL is not correct, but I'm positive that I put my image file inside "images" directory and I've checked "Link-extend.gif" is there and the image is not corrupted. So, any suggestion how I should write the URL path then?
One more thing, I tried to type http://mysite.com/images/Link-extend.gif in the address box instead I only see The page cannot be found
Any other solution?
Thank you
|
|
|
|
03-07-2008, 09:33 AM
|
Re: My image doesn't show up
|
Posts: 14
|
*mysite.com is just an example, so don't bother to check the link i used*
|
|
|
|
03-07-2008, 09:40 AM
|
Re: My image doesn't show up
|
Posts: 961
Name: Darren
Location: England
|
Yeah I guessed that!!
But when i tested you code, it all works fine execpt the image dosn't load (cos the url is wrong??)
if typing into your browser http://mysite.com/images/Link-extend.gif
andthe image wont load, the url is wrong.
could it be to do with the upper case "L" ??

__________________
I Just a test to see what happens... Please login or register to view this content. Registration is FREE
"Let us be thankful for the fools. But for them the rest of us could not succeed..."
Last edited by rolda hayes; 03-07-2008 at 09:43 AM..
|
|
|
|
03-07-2008, 10:04 AM
|
Re: My image doesn't show up
|
Posts: 14
|
Yeah, I think the problem is only the image path, but
Correct me if I'm wrong:
1. By using FTP program, I go to "public_html" folder
2. I created "images" directory and the filename is "Link-extend.gif"
So, I should type http://mysite.com/images/Link-extend.gif RIGHT? Since
I uploaded my image "Link-extend.gif" (that's EXACTLY my filename *including the L upper case*) into "images" directory (and that's also the EXACT name of my folder)
Do you have other solution? Thank you
|
|
|
|
03-07-2008, 10:14 AM
|
Re: My image doesn't show up
|
Posts: 961
Name: Darren
Location: England
|
Can You PM me the link to the site and I'll have a look.
You may have to post a few more times (5 I think) for PM to work.
Just go to the welcome forum and say hello a few times!
__________________
I Just a test to see what happens... Please login or register to view this content. Registration is FREE
"Let us be thankful for the fools. But for them the rest of us could not succeed..."
|
|
|
|
03-07-2008, 10:22 AM
|
Re: My image doesn't show up
|
Posts: 961
Name: Darren
Location: England
|
Hmmm, just a thought...
Have you tryed typing with .GIF at the end instead of .gif?
Had this issue with someone else the other day...
__________________
I Just a test to see what happens... Please login or register to view this content. Registration is FREE
"Let us be thankful for the fools. But for them the rest of us could not succeed..."
|
|
|
|
03-07-2008, 10:34 AM
|
Re: My image doesn't show up
|
Posts: 14
|
Quote:
Hmmm, just a thought...
Have you tryed typing with .GIF at the end instead of .gif?
Had this issue with someone else the other day...
|
Tried that too, but I think that won't solve my problem because my filename is "Link-extend.gif" (there, I directly copy the filename from my server)
I'm sorry I don't mean to be rude but what will you do even if I give you my site's link? 
|
|
|
|
03-07-2008, 10:44 AM
|
Re: My image doesn't show up
|
Posts: 10,017
Location: Tennessee
|
If we have the site link, then we can see ALL the code involved.
One thing to note, you need to put the dimensions of that image in your <img> tag, leaving it off is sloppy coding.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|
|
|
|
03-07-2008, 10:57 AM
|
Re: My image doesn't show up
|
Posts: 10,017
Location: Tennessee
|
From what I could see from the images on your site (thanks for the link), the images are coming from the "files" directory, not "images". Since it's a Drupal site, the image doesn't appear to be where you think it is.
You should be able to FTP in to see your file structure and adjust the path accordingly.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|
|
|
|
03-07-2008, 12:47 PM
|
Re: My image doesn't show up
|
Posts: 10,017
Location: Tennessee
|
Well I could not find an image called Link-extended.gif in the files directory either, and it's not in an "images" directory , both of those resulted in a 'file not found' error message. So the question is, what is the exact path and location of that file ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|
|
|
|
03-07-2008, 01:18 PM
|
Re: My image doesn't show up
|
Posts: 5
Name: Kinley
Location: Indiana
|
If the image shows up on the drupal site, maybe right click on it and view image to see the actual url. My images are in /sites/all/files/. If it was uploaded as the site logo, drupal may have renamed it to theme_logo.png or something like that.
|
|
|
|
03-07-2008, 03:44 PM
|
Re: My image doesn't show up
|
Posts: 48
Name: Andrew
Location: Fort Wayne, IN
|
Quote:
Originally Posted by b3aver
Hi, I have a website (site A) and i want to introduce my website by putting a link directing to my website in another site (site B) by inserting HTML code as following
<a href="http://mysite.com" target="_blank"><img src="http://mysite.com/images/Link-extend.gif" alt="Image description" border="0" /></a>
As shown above, i want the link to be displayed as an image (Link-extend.gif) and i put the image in "image" directory, but it still doesn't show up in site B, instead it only display "Image description" text as the link
HOW CAN I FIX THIS???? I'm so desperate  , can anybody help??? Thank you very much
|
I have two suggestions:
1. Rename the image. Replace the "-" with an underscore "_" or just remove it altogether. Change any uppercase letters to lower case. Then fix the image name in the link.
2. Double check to make sure the image is actually in RGB color mode. If it is not, change it to RGB.
|
|
|
|
03-08-2008, 09:30 AM
|
Re: My image doesn't show up
|
Posts: 14
|
Quote:
|
1. Rename the image. Replace the "-" with an underscore "_" or just remove it altogether. Change any uppercase letters to lower case. Then fix the image name in the link.
|
This one solves my problem but just MOMENTARILY.....
Just for a time being, after renaming my new filename into "link-extend.gif" (changed L into "l" and - into "_" ), it worked! but when I tried to type the EXACT path again minutes later, I (again...) only received PAGE NOT FOUND
I wonder why??
Quote:
|
2. Double check to make sure the image is actually in RGB color mode. If it is not, change it to RGB.
|
How can I do that?
Quote:
|
Well I could not find an image called Link-extended.gif in the files directory either, and it's not in an "images" directory , both of those resulted in a 'file not found' error message. So the question is, what is the exact path and location of that file ?
|
Well, I'm sure I put it inside "image" directory AND "files" directory and the filename is "link-extend.gif" and (I can assure you that the image is not broken), I'm pretty confused myself
HERE IS MY SITE
http://depapepemania.com/link-to-us
As you can see, my image is displayed on bottom page (banner size) and (small) size. Maybe by looking at my site directly someone will come up with the best solution....
Thank you
|
|
|
|
03-08-2008, 10:03 AM
|
Re: My image doesn't show up
|
Posts: 10,017
Location: Tennessee
|
I don't know what you're typing in for a path, but this is the path to the smaller image - and it works if you input it directly:
http://depapepemania.com/images/link_small.gif
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|
|
|
|
03-08-2008, 10:14 AM
|
Re: My image doesn't show up
|
Posts: 14
|
I know that is the path but have you checked the link yourself?
http://depapepemania.com/images/link_small.gif ?
because I only get Page not found
But you can see both images right? banner size and smaller one?
|
|
|
|
|
« Reply to My image doesn't show up
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|