Re: Re: path finder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/23/07, elk dolk <elkdolk@xxxxxxxxx> wrote:

On 6/23/07, elk dolk <elkdolk@xxxxxxxxx> wrote:
>
> On 6/23/07, elk dolk <elkdolk@xxxxxxxxx> wrote:
> >  Hi all,
> >   When I test my photo album in my IIS testing server relative path in the following
> >   code works fine :
>
> >    echo "<div class='cccc'><img src='/img/{$photoFileName}' width='120' height='160'
>     border='0' /></div> ";
>
> >    but when I upload it to the web server I don't see my photos, my  /home directory
 on
> >    the web server contains
>
> >    public_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 function
>
> >    please 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?

----------------------------------------------------------
>Also, make sure that you can see the photos when going to
http://www.mydomain.com/something/img/the_name_of_a_photo.ext

this is O.K. I can see my photos does it tell you something?

Yes, I know that you're images are at the correct place and that they
are viewable from outside.

Tijnema

--
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux