Images dont show up

marteinn

Joined: 2008-08-14
Posts: 2
Posted: Thu, 2008-08-14 07:57

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:1.5.8
Apache version: 1.3.37 (Unix)
PHP version 5.2.5:
Graphics Toolkit:
Operating system: xp
Web browser/version firefox 3):

Hi
New here, just installed v.1.5.8 everything went well, but when i upload pictures, they will not show.

http://www.odinn.org/gallery/albums.php

 
marteinn

Joined: 2008-08-14
Posts: 2
Posted: Thu, 2008-08-14 07:59

no need, found it

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2008-08-14 10:27

Glad you got it working.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Ghisoiu

Joined: 2008-09-10
Posts: 1
Posted: Thu, 2008-09-11 20:13

The same problem here. How did you solve it, Marteinn ?

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2008-09-11 23:35

I guess he corrected the URL to his albums folder.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Robert71

Joined: 2008-09-17
Posts: 3
Posted: Wed, 2008-09-17 16:18

I am having the same problem. I uploaded some pictures to my newly created album, but no images appear. Neither thumbnails nor full pictures.

My specs:
Gallery version:1.5.9
Apache version: 2.2.3 (CentOS)
PHP version 5.1.6
Graphics Toolkit: ImageMagick
Operating system: CentOS 5.2 (2.6.18-53.1.14.el5)
Web browser/version firefox 3

My pictures are uploaded. All the pics including their thumbnail stand in their album directory:
-rw-r--r-- 1 apache apache 8201 Sep 17 17:21 DSC_1223.highlight.jpg
-rw-r--r-- 1 apache apache 677099 Sep 17 17:10 DSC_1223.jpg
-rw-r--r-- 1 apache apache 116096 Sep 17 17:10 DSC_1223.sized.jpg
-rw-r--r-- 1 apache apache 3810 Sep 17 17:10 DSC_1223.thumb.jpg
...

I had a problem with jhead. I have installed the 2.7 version ( placed the compiled version in /usr/bin). This works from the command line.

Any suggestions would be welcome!

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2008-09-17 16:35

Maybe its the same reason.

Whats the URL to your Gallery?

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Robert71

Joined: 2008-09-17
Posts: 3
Posted: Wed, 2008-09-17 19:03

It's on an internal site at the moment: http://vmw01/gallery/

The albums directory is a separate mount at /var/www/html It is defined as such in the configuration:
drwxr-xr-x 5 apache apache 4096 Sep 17 20:51 album
lrwxrwxrwx 1 root root 15 Sep 17 12:50 gallery -> ./gallery-1.5.9
drwxr-xr-x 21 apache apache 4096 Sep 17 18:20 gallery-1.5.9
-rw-r--r-- 1 root root 170 Sep 17 17:56 index.php

Publicly accessible now at http://www.continux.nl:81/gallery (debug is on)

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2008-09-17 21:40

Hi,

please change the URL to your albums folder.

Its http://vmw01/albums
Which is not publich of course.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Robert71

Joined: 2008-09-17
Posts: 3
Posted: Wed, 2008-09-24 16:41

Indeed. Because I made the server first as an internal site, the album URL was still on the local name.

I changed it in the configuration and now the pictures are shown.

Thanks for your help, Tim.

Cheers!

 
mtffm

Joined: 2008-10-09
Posts: 4
Posted: Thu, 2008-10-09 02:02

I'm having a somewhat similar problem.

I just upgraded from an ancient version of gallery (~2004), and while gallery itself seems to work ok, none of my images show up.
(see http://www.alleged.net/gallery/)

In apache's error.log, I get:
[Wed Oct 08 21:52:15 2008] [error] [client 70.49.28.146] client denied by server configuration: /home/max/www/alleged.net/albums/Montreal/Picture_021.highlight.jpg, referer: http://www.alleged.net/gallery/albums.php?page=1

Because /home/max/www/alleged.net/albums/.htaccess deny's from all.

So, how do my images show up if they're all denied?

Both the filesystem album dir and real URL seem to be correct.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2008-10-09 07:37

?

Remove the deny from all

Jens
--
Gallery Developer

 
mtffm

Joined: 2008-10-09
Posts: 4
Posted: Thu, 2008-10-09 13:06

Weird. Having done that, it still doesn't work. All my images are still denied by server configuration. :/ Any ideas?

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2008-10-09 13:42

Another .htacccess?

Because i still get a 403 permission denied error

Jens
--
Gallery Developer

 
mtffm

Joined: 2008-10-09
Posts: 4
Posted: Fri, 2008-10-10 00:25

These are the only relevant existing .htaccess:
./www/alleged.net/albums/.users/.htaccess
./www/alleged.net/albums/.htaccess
./www/alleged.net/gallery/setup/.htaccess
./www/alleged.net/gallery/.htaccess

This is what's in the albums .htaccess:

Quote:
DirectoryIndex .htaccess
SetHandler Gallery_Security_Do_Not_Remove
Options None
<IfModule mod_rewrite.c>
RewriteEngine off
</IfModule>
Order allow,deny

???

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2008-10-19 17:47

Try removing all .htaccess files from the albums folder.

Jens
--
Gallery Developer

 
mtffm

Joined: 2008-10-09
Posts: 4
Posted: Wed, 2008-10-22 00:46

Thanks. That seems to have fixed it.

Cheers!