oliwel

Joined: 2004-12-12
Posts: 20
Posted: Sat, 2005-01-08 16:33

Hi Folks,

I setup G2-alpha4 on a php5 box with safe_mode on, disabled the "guaranteeTimeLimit" function and set the timelinmit to 120sec in php config.
ImageMagick is available in safe_mode exec dir and configd properly but I am unable to resize photos.
Pictures are added but no resized versions can be created. Rights of the Dirs are suficient.

Any Ideas ?

Oliver

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2005-01-08 20:04

I split your post off into a new topic.

I'm not sure what's going wrong. It could be that exec isn't working properly. Edit your config.php and turn on immediate debug mode like this:

$gallery->setDebug('immediate');

Then try viewing a resized version. This time, you'll get quite a lot of debug output. It'll break the rest of your G2 doing it this way but it means that I can see the output also. If you want to keep your G2 working, you can use logged debug and log to a text file. That should give us a clue as to what's going wrong.

 
swingheim

Joined: 2005-01-09
Posts: 2
Posted: Sun, 2005-01-09 13:54

I also have a problem where thumbnails/resized images are not being generated.

I am running PHP4 with MySQL on a Windows box, and have had NO installation troubles. FULL perms are assigned to the ImageMagick execs, as well as the g2data folder.

In debug mode, I get no messages indicating either way that thumbnails/resized images are being created.

I added all the images to the album, none of them had thumbs created, so I went into Edit Album -> Album Basics and checked both "Recreate thumbnails" and "Recreate resized images". I noticed that in the section desc, that this only applies to "new" items. Is there a way I can flag all the images as being "new"? (Perhaps it doesn't think the images are new ...)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-01-09 13:59

swingheim, did you activate and configure the image toolkit imagemagick in the site admin panel of G2?
And what does your server config have to do with this topic, did you enable safe_mode even if its your own test server?

 
swingheim

Joined: 2005-01-09
Posts: 2
Posted: Sun, 2005-01-09 14:00

Oops.......!

Somewhere, somehow, the ImageMagick module was "disabled". I re-enabled it, and recreated some galleries, and all works well.