Re: Re: path finder
| From: | Tijnema | Date: | Sat, 23 Jun 2007 13:33:01 +0000 |
| Subject: | Re: Re: path finder | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257707@lists.php.net to get a copy of this message | ||
On 6/23/07, elk dolk <elkdolk@yahoo.com> wrote:
Are you sure the photo is actually there? What happens if you copy the URL of one of the [X] and place it in your browser? Does it display you the photo? And if you refresh, are the same photos missing each time? or is it different each refresh? Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.infoOn 6/23/07, elk dolk <elkdolk@yahoo.com> wrote:followingHi all, When I test my photo album in my IIS testing server relative path in theheight='160'code works fine :echo "<div class='cccc'><img src='/img/{$photoFileName}' width='120'directory onborder='0' /></div> ";but when I upload it to the web server I don't see my photos, my /home:the web server containspublic_ftp and public_html where my web site is stored I modify the path to this----------------------------------------------------------echo "<div class='cccc'><img src='/home/public_html/img/{$photoFileName}' width='120' height='160' border='0' /></div> "; it doesn't functionplease comment------------------------------------------------------------- /home/..... is the path on your filesystem, not the path you should use in your URL. The code you used on your IIS testing server should work fine. ------------------------------------------------------------- no it does not work !Hmm, try full URL to the images, like this:echo "<div class='cccc'><img src='http://www.mydomain.com/something/img/{$photoFileName}' width='120' height='160' border='0' /></div> "; it does not function as well! So, when you go to the page with this code, you see one of more [X] right? What do you see when you right click on one of them and click properties? Do you see the url to the image? or are there some kind of weird tokens in the URL? ---------------------------------------------------------- Sorry I have to correct it the above path works : img src='http://www.mydomain.com/something/img/{$photoFileName}' but I can see some of my photos! and when I right click on them I see the properties : url://mydomain/img/26.jpg size 2976 bytes dim 120x160 when I right click on [X]s I see the url also, only the size is not available!