Pictures not showing.

mobius

Joined: 2002-08-22
Posts: 4
Posted: Fri, 2002-08-23 21:24

I just uploaded my pictures to my site and the thumbnails just show and X and the pictures does to but when i go directly to the picture it loads up.

How can i fix this?

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Sat, 2002-08-24 03:02

This sounds suspiciously like <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&name=GalleryDocs&file=index&page=gallery1-install.faq.c.php#gallery1-install.faq.c.11" TARGET="_blank">FAQ C.15</A><!-- BBCode End --> and <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&name=GalleryDocs&file=index&page=gallery1-install.faq.c.php" TARGET="_blank">FAQ C.17</A><!-- BBCode End -->.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-08-24 03:38

Hey those two are the same FAQ! I must have been smoking the good stuff when I added FAQ C.17 :smile:

 
TheWatcher
TheWatcher's picture

Joined: 2002-08-21
Posts: 120
Posted: Sat, 2002-08-24 04:18
Quote:
Hey those two are the same FAQ! I must have been smoking the good stuff when I added FAQ C.17 :smile:

hm??? don't do it while developing gallery (^_^) Good to know that affects only FAQ.

 
giffordcheung

Joined: 2003-02-04
Posts: 3
Posted: Tue, 2003-02-04 20:13

except that it's not the same issue. I have the same problem. The original
poster says that only the thumbnails aren't showing. The full-sized photo DOES.

His album is in the correct directory.

For some reason, my thumbnails don't get created with the same permissions
as the uploaded full-sized photo. Can anyone help on this matter?

The server I'm on is using php 4.2.2, with Gallery v1.3.4-cvs-b11
tried rolling back to Gallery v1.3.3 but its the same issue.
I don't know what else to bring up. I was able to individually repair the thumbnails
by running chmod on the jpegs, but I don't want to have to do that everytime
I upload an image. Perhaps gallery needs to make an explicit chmod
on these images.

In other words: why is this?
-rw-rw-r-- 1 299146 Feb 4 13:22 PC070010.jpg
-rw------- 1 47889 Feb 4 13:22 PC070010.sized.jpg
-rw------- 1 3444 Feb 4 13:22 PC070010.thumb.jpg

Gifford

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2003-02-09 21:25

Hrm. Who owns those files? Your or the website user?

This is most likely caused by your system administrator setting a highly restrictive umask on your Apache process.

You can probably fix this by editting resize_image() in util.php and near the top of
that function make sure that $useTemp is always set to true. This will cause Gallery
to copy the resized image no matter what, and we'll try to use a less restrictive
umask at that time.