Click to See Complete Forum and Search --> : Need to host an image on a site for other users to download with link


Vicki
03-06-2006, 01:21 PM
I have created a banner for a musician friend of mine and we want to put together code so that users of the 'myspace' website can place the banner on their personal websites if they want to help promote him. Our idea was that we wanted the banner hosted on the web so we could make changes to the banner if needed...put information about upcoming shows, update photos, etc. and the banner would then re-load and update on the pages of those who have it when changes are made. We've seen this done by a couple other artists...

Currently we have the image displayed online at www.jaspatrick.net

I then tried to use the following code, hoping that it would reference the image and tell it to link to his main page which is jaspatrick.com
<a href="http://www.jaspatrick.com"><img src="http://www.jaspatrick.net/"
alt="www.jaspatrick.com"></a>

Instead...when I tried to place the banner on my, myspace account (you can see at www.myspace.com/vickigarrison then look under 'About Me') what happens is that it references the link but not the image...there are a couple dots that showed up that do link to jaspatrick.com but, no banner appears : (

If anyone can tell me what I've done wrong here, I would be very appreciative!! If it helps, the other artists we've seen who have done something like this have their pics hosted like this (one difference I did notice is that when you go to these sites you aren't able to select to view the source code yet you are able on mine):
http://www.jerryreid.com/jrsbanner.png
http://www.entshack.com/aarontextor/JPG/newbanner.jpg

Thank you again!!
Vicki

xziled
03-06-2006, 01:41 PM
what is the name of the img you are trying to link to?

ray326
03-06-2006, 01:43 PM
<img src="http://www.jaspatrick.net/"That needs the image file name appended, e.g. "http://www.jaspatrick.net/myimg.jpg".

Vicki
03-06-2006, 01:44 PM
the image name itself is
jaspatrickban1.jpg

xziled
03-06-2006, 01:44 PM
hehe yep thats what i was getting at

xziled
03-06-2006, 01:45 PM
<img src="http://www.jaspatrick.net/jaspatrickban1.jpg">


try that

Vicki
03-06-2006, 01:47 PM
Ok...to reply to Ray326 then...(which may have been what xziled was going to say as well...)

So I need to have the link in the code say "http://www.jaspatrick.net/jaspatrickban1.jpg"

Is that correct?

Vicki
03-06-2006, 01:48 PM
oops...xziled must have posted that as I was typing!

Thanks so much...I will give that a try and see what happens!

Vicki
03-06-2006, 01:54 PM
okay...ummm, I tried it and it's definitely an improvement. I used the code which now says in total:
<a href="http://www.jaspatrick.com"><img src="http://www.jaspatrick.net/jaspatrickban1.jpg" alt="www.jaspatrick.com"></a>

Instead of just showing a couple dots it has a broken image link and the words www.jaspatrick.com over it...still not showing the image though...

Any more ideas by chance? Again, that's posted on my site at www.myspace.com/vickigarrison

Thanks very much!

ray326
03-06-2006, 03:13 PM
You need to double check that the image is in your doc root.

Vicki
03-06-2006, 03:16 PM
would you mind explaining a little further how I might check that?

welsh
03-06-2006, 03:43 PM
if you are using the exact image on www.jaspatrick.net it would have to be:
<a href="http://www.jaspatrick.com"><img src="http://www.jaspatrick.net/images/jaspatrickban1_p41p.jpg" alt="www.jaspatrick.com"></a>

Vicki
03-06-2006, 04:10 PM
THAT WORKED!! Thanks very much for everyone's help!!!

welsh
03-06-2006, 04:44 PM
you didnt have it in the root and the wrong file name, so you had to change the link to include the directory and the right file name.

AltF4
03-06-2006, 05:09 PM
You could try a file hosting like photobucket.com, imagedump.filefactory.com