Forum Moderators: coopster

Message Too Old, No Replies

why wont the picture display?

php

         

StuntasticAudi

10:34 pm on Mar 3, 2006 (gmt 0)

10+ Year Member



I have a website where users can upload their own pictures, then they are provided with an URL for that photo so they can display it on their website, blogs, forums..etc.

Now here is my problem that i found. This is the code that it gives me:

<img src="http://MYWEBSITE.com/pic.php?user=#*$!x=xx">

xxxx is the user's account number and xx is the picture number in his account. Now if i copy and paste that code in plain a.html and view it, it shows fine. When i paste that code on other websites, blogs, etc..it shows it as two dots. Just like this ..

Why?

Mermaiden

10:37 pm on Mar 3, 2006 (gmt 0)

10+ Year Member



You'd need to visit the URL, then right-click on the picture itself, then copy the exact URL for it (it ends in .jpg or .gif or whatever) and post that on other sites. Those sites are trying to display a URL as an image which just doesn't work.

StuntasticAudi

11:00 pm on Mar 3, 2006 (gmt 0)

10+ Year Member



yea i know that but why does it work on some sites and not on others.

jatar_k

5:05 am on Mar 4, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



can you maybe use a different example that uses a's instead of x's (strangely 3 x's gets filtered ;)) so we can look at the form of the url, I was going to fix it but wasn't 100% sure