Page 1 of 1

Pictures showing problem

Posted: Thu Nov 19, 2009 5:38 am
by jimmyisec
Hi friends, i have install a Php script, my hosting plan is linux. the proble is when member uploads there pictures, the pictures are not shown, the place of pictures look like this image, pleas can any body tell me where is the problem?
This is the problem
This is the problem
problem.JPG (48.57 KiB) Viewed 1168 times
[/b]

Re: Pictures showing problem

Posted: Thu Nov 19, 2009 7:47 am
by iankent
The image your linking to doesn't exist. You haven't given enough info for us to work out why though.

What file is the img tag trying to retrieve?
Does that file even exist?
Where does that URL come from?
Are the pictures actually being uploaded?
etc. etc. etc.

we can't really give you any help unless you give us a lot more info

Re: Pictures showing problem

Posted: Thu Nov 19, 2009 7:48 am
by vargadanis
Seems like a problem of ERROR 404! :)
This just means that most likely the URL for the picture is not valid for some reason or not pointing to the picture. In FF right click on the picture and hit 'view image'. This way you will see the URL of that picture and if it isn't what you need, modify the code.
You gave us however little information. It's like: hey my pictures don't show up, why not?
If you provide us with a bit more info we can possibly help you.

Re: Pictures showing problem

Posted: Thu Nov 19, 2009 10:12 am
by jimmyisec
Thanks friend, now i can tell you clearly. when i upload the picture the pic goes in this in this link http://www.shadipak.com/memphoto1/aba2e ... 368af0.JPG and also Pic is there, but on the image link is comming http://www.shadipak.com/aba2e7ed369bafa ... 368af0.JPG like this, this why pic is not working so tel me where is the problem.and now im also attaching php code file pls check it also

Re: Pictures showing problem

Posted: Thu Nov 19, 2009 10:20 am
by iankent
jimmyisec wrote:Thanks friend, now i can tell you clearly. when i upload the picture the pic goes in this in this link http://www.shadipak.com/memphoto1/aba2e ... 368af0.JPG and also Pic is there, but on the image link is comming http://www.shadipak.com/aba2e7ed369bafa ... 368af0.JPG like this, this why pic is not working so tel me where is the problem.
the image link doesn't have /memophoto1/ after the domain name - wherever the <img> tag is being output, check how the URL is constructed, it looks as though you've forgotten the folder name or are using a relative path that's incorrect

hth

Re: Pictures showing problem

Posted: Thu Nov 19, 2009 10:24 am
by jimmyisec
the atached file is the page where is the foto comming so please can you make it correct?

Re: Pictures showing problem

Posted: Thu Nov 19, 2009 10:26 am
by iankent
jimmyisec wrote:the atached file is the page where is the foto comming so please can you make it correct?
No sorry, but you could post some code and we'll tell you where you're going wrong. You wont learn anything if we just change it and send it back!

Re: Pictures showing problem

Posted: Thu Nov 19, 2009 10:37 am
by jimmyisec
Hmm now im giving you the site url and also a user name and pass,
This is the url http://www.shadipak.com/mymatri.php
and user is mat255
and pass word is : kingarthor

Now you upload a pic and look where is problem.

Posted: Thu Nov 19, 2009 10:43 am
by Jonah Bron
Yeah, the picture src is likely pointing to the wrong place. Please post the code in that page, that outputs the image address.

Please remember, we're happy to help: but we're not getting paid to do it for you.

Re:

Posted: Thu Nov 19, 2009 10:50 am
by jimmyisec
Jonah Bron wrote:Yeah, the picture src is likely pointing to the wrong place. Please post the code in that page, that outputs the image address.

Please remember, we're happy to help: but we're not getting paid to do it for you.

Brother im not a good php develper, i have purchase it and also install by company but now this problem is comming, and also provider not solving this from last 2 days, so im trying to solve my self with help of you so tell me to see on this page http://www.shadipak.com/mymatri.php and try to upload then just tell me which php file is have erorr, i hope you will understand my weak renglish, :(

Re: Re:

Posted: Thu Nov 19, 2009 10:52 am
by iankent
jimmyisec wrote:
Jonah Bron wrote:Yeah, the picture src is likely pointing to the wrong place. Please post the code in that page, that outputs the image address.

Please remember, we're happy to help: but we're not getting paid to do it for you.

Brother im not a good php develper, i have purchase it and also install by company but now this problem is comming, and also provider not solving this from last 2 days, so im trying to solve my self with help of you so tell me to see on this page http://www.shadipak.com/mymatri.php and try to upload then just tell me which php file is have erorr, i hope you will understand my weak renglish, :(
we are offering to help, but we're not offering to do it for you.

somewhere in your PHP code there is a line that outputs the <img> tag to display the image. If the uploaded file definately exists where you say it does, then that line is outputting the wrong URL for the uploaded image. You need to alter that line so that its correct.

Re: Pictures showing problem

Posted: Thu Nov 19, 2009 11:15 am
by jimmyisec
Thanks , I know you are doing help but i think im not able to do this so i will wait the script provider, caus script also encrypted thanks Brother you are really helpful. :offtopic: