Menu

#4 no thumbnails or images visible.

open
nobody
None
5
2002-07-10
2002-07-10
No

I have yappa running on windows 2000, IIS 5.0, and the
latest PHP and ImageMagick for windows. I also have gd
enabled for PHP. The pages display fine, except in
place of the image on the thumbnail page is the name of
the image file. Trying to view the image at any size
does not work - the page is generated, but no image is
visible. Is IIS not supported? I've tried it with gd
and ImageMagick, with and without "caching" to a temp
directory, and I really can't figure out what exactly
is going on. Any help would be appreciated. Thanks.

Discussion

  • Jasper

    Jasper - 2002-09-05

    Logged In: YES
    user_id=606059

    I am using yappa on windows2000 aswell. I have php,
    Imagemagick-win2k and apache. I cannot see the images
    either!-at any size.
    So i don't think it is a problem with IIS.
    If somebody could help us, please do ;-)
    Thanks.

     
  • Nobody/Anonymous

    Logged In: NO

    I had the same problem. Installed all the neccessary
    packages on a RedHat 7.2 system, but it did not create any
    thumbnails.
    On my system the problem was that my photoalbums where
    numeric directories (eg. ./1 ./2 ./3 etcetera). After
    renaming them to alfa-numeric (./a1 ./a2 ./a3 etcetera) it
    worked.

    Patrick (patrick@de-jong.tv)

     
  • Nobody/Anonymous

    Logged In: NO

    I had the same problem. Installed all the neccessary
    packages on a RedHat 7.2 system, but it did not create any
    thumbnails.
    On my system the problem was that my photoalbums where
    numeric directories (eg. ./1 ./2 ./3 etcetera). After
    renaming them to alfa-numeric (./a1 ./a2 ./a3 etcetera) it
    worked.

    Patrick (patrick@de-jong.tv)

     
  • schella

    schella - 2002-10-26

    Logged In: YES
    user_id=498997

    I was running yappa on a Redhat 7.3 machine (Apache 1.3 /
    PHP4). It was working perfectly ok, generating thumbnails,
    resizing, etc. etc.

    I now upgraded to Redhat 8.0 (Apache 2.0.4 / PHP 4.2.2), and
    I can see neither the thumbnails nor the pictures. All
    settings are the same. I can see the pages though: If I
    click on the filenames, the pic is not shown.

     
  • schella

    schella - 2002-10-27

    Logged In: YES
    user_id=498997

    [Fri Oct 25 23:30:50 2002] [error] [client 127.0.0.1] File
    does not exist:
    /var/www/html/yappa/show.php/thumbnail/tamilsangam/p9280134.jpg,
    referer: http://localhost/yappa/index.php?album=%2Ftamilsangam&

    This is the error that Apache writes out when the album page
    tries to load. Hope that helps.

     
  • schella

    schella - 2002-10-27

    Logged In: YES
    user_id=498997

    [Fri Oct 25 23:30:50 2002] [error] [client 127.0.0.1] File
    does not exist:
    /var/www/html/yappa/show.php/thumbnail/tamilsangam/p9280134.jpg,
    referer: http://localhost/yappa/index.php?album=%2Ftamilsangam&

    This is the error that Apache writes out when the album page
    tries to load. Hope that helps.

     
  • Nobody/Anonymous

    Logged In: NO

    Hi Folks,

    Pls take note that the user/service account that is running the
    web-server must own the folders containing the photos in
    order for Yappa to create the thumbnails...

    Hope this helps to solve most of the problem here

     
  • Nobody/Anonymous

    Logged In: NO

    Hi, I'm trying to run Yappa with Sambar server and I can't see
    any images either. Not even the original size images show
    up which makes me think that the problem has nothing to do
    with ImageMagic. The filenames and folders are showing up
    correctly though. Any ideas?

     
  • Nobody/Anonymous

    Logged In: NO

    Hi,

    > Pls take note that the user/service account that is running
    > the
    > web-server must own the folders containing the photos in
    > order for Yappa to create the thumbnails...

    You said MUST OWN those folders ?
    So you are saying doing chmod a+w on that folder is not
    enough if a different user created those directories ?

     
  • Nobody/Anonymous

    Logged In: NO

    Hi,

    > Pls take note that the user/service account that is running
    > the
    > web-server must own the folders containing the photos in
    > order for Yappa to create the thumbnails...

    You said MUST OWN those folders ?
    So you are saying doing chmod a+w on that folder is not
    enough if a different user created those directories ?

     
  • Nobody/Anonymous

    Logged In: NO

    Hi,

    > Pls take note that the user/service account that is running
    > the
    > web-server must own the folders containing the photos in
    > order for Yappa to create the thumbnails...

    You said MUST OWN those folders ?
    So you are saying doing chmod a+w on that folder is not
    enough if a different user created those directories ?

     
  • Nobody/Anonymous

    Logged In: NO

    schella: I had the same problem as you when I upgraded
    from Mandrake 8.2 to 9.1.

    It seems that Apache is interpreting
    show.php/thumbnail/foo/bar.jpg as a filename, rather than
    calling show.php with "foo/bar.jpg" as arguments.

    Perhaps there is something that can be done in the Apache
    configuration to fix this?

    As a temporary work-around I made two edits.

    In defines.php.inc I changed "resize_script" from "show.php"
    to "show.php?file=", so image links use a more traditional
    method for passing arguments to scripts.

    To make show.php understand this new type of argument, I
    then changed the line in show.php that reads:
    die( "error: neither \$PATH?INFO or $HTTP_SERVER_VARS
    defined ... etc ...
    to:
    $path_info = $HTTP_GET_VARS["file"];

    Hope this helps.

    I would still like to know the proper fix to make Apache
    understand the forward-slash arguments notation...

    Rob.
    rfisher at iee dot org dot uk

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.