Pictures showing problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jimmyisec
Forum Newbie
Posts: 11
Joined: Sun Nov 15, 2009 6:19 am

Pictures showing problem

Post 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 1166 times
[/b]
User avatar
iankent
Forum Contributor
Posts: 333
Joined: Mon Nov 16, 2009 4:23 pm
Location: Wales, United Kingdom

Re: Pictures showing problem

Post 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
User avatar
vargadanis
Forum Contributor
Posts: 158
Joined: Sun Jun 01, 2008 3:48 am
Contact:

Re: Pictures showing problem

Post 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.
jimmyisec
Forum Newbie
Posts: 11
Joined: Sun Nov 15, 2009 6:19 am

Re: Pictures showing problem

Post 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
Attachments
mymatrimony.zip
(4.49 KiB) Downloaded 38 times
Last edited by jimmyisec on Thu Nov 19, 2009 10:23 am, edited 1 time in total.
User avatar
iankent
Forum Contributor
Posts: 333
Joined: Mon Nov 16, 2009 4:23 pm
Location: Wales, United Kingdom

Re: Pictures showing problem

Post 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
jimmyisec
Forum Newbie
Posts: 11
Joined: Sun Nov 15, 2009 6:19 am

Re: Pictures showing problem

Post by jimmyisec »

the atached file is the page where is the foto comming so please can you make it correct?
Attachments
mymatrimony.zip
(4.49 KiB) Downloaded 42 times
User avatar
iankent
Forum Contributor
Posts: 333
Joined: Mon Nov 16, 2009 4:23 pm
Location: Wales, United Kingdom

Re: Pictures showing problem

Post 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!
jimmyisec
Forum Newbie
Posts: 11
Joined: Sun Nov 15, 2009 6:19 am

Re: Pictures showing problem

Post 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.
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Post 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.
jimmyisec
Forum Newbie
Posts: 11
Joined: Sun Nov 15, 2009 6:19 am

Re:

Post 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, :(
User avatar
iankent
Forum Contributor
Posts: 333
Joined: Mon Nov 16, 2009 4:23 pm
Location: Wales, United Kingdom

Re: Re:

Post 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.
jimmyisec
Forum Newbie
Posts: 11
Joined: Sun Nov 15, 2009 6:19 am

Re: Pictures showing problem

Post 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:
Post Reply