Loading...
 
Architecture / Installation

Architecture / Installation


Image Gallery problem

posts: 6

Hi All,

Here's my setup:

Mandrake 9.1
Apache 1.3.27
PHP 4.3.1 (gd enabled)
MySQL Ver 12.18 Distrib 4.0.11a-gamma, for mandrake-linux-gnu (i586)
TikiWiki 1.7.8

File gallery fails to display uploaded images. I am able to upload images to the wiki and they display without a problem.

I switched from having gallery images inserted in database to a directory; files are being saved there, and thumbnails are generated, but they do not display in the image gallery. Permissions are OK.

I can view images and thumbnails by copying/pasting path in my browser. I've been searching the forums for a couple hours but can't find the solution.

TIA,

todd

posts: 2881 United Kingdom

Have you checked your PHP memory_limit setting? Read the article on Home for details

Damian


posts: 6

I bumped memory_limit from 16 to 32MB.

I also have

max_execution_time = 60
max_input_time = 60

I restarted Apache but still no go--nothing displays in Firefox, in IE I get the box with a red x. frown

todd

posts: 2881 United Kingdom

Ah, so its attempted to upload, but the location is incorrect.

Double check the file location in the Admin->Image Gallery box, make sure you give it the trailing / too!

Damian

posts: 6

Sorry, the upload does work. I specified the directory path to be /var/www/html/wiki/images/mine/ and the images are in fact there. I wasn't sure if it had to be an absolute path or one relative to the wiki install.

The images just don't want to show up in the browser. The gallery in question is here.

Thanks for your help,

todd

posts: 2881 United Kingdom

Are the file sizes of the thumbnail and the image the same? Possible GD problem?

The path can be either. I usually set mine to relative.

Can apache read the images?

Damian

posts: 6

The images are there, thumbs are different size, accessible via direct link here

-rw-r--r-- 1 apache apache 60K Jul 22 15:07 da8fcf30f8c36e4ea31269d3ea4c3f65
-rw-r--r-- 1 apache apache 2.1K Jul 22 15:07 da8fcf30f8c36e4ea31269d3ea4c3f65.thumb

Maybe there's something amiss with the way the image is being referenced, i.e. show_image.php?id=11&thumb=1


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting