David,
Thanks for the quick response. See my replies below:
On Feb 28, 4:57 pm, David Dwiggins <
da...@dwiggins.net> wrote:
> Transform creates a preview version of the image to use during the cropping
> process. This is failing to happen for some reason on your system.
>
> The only thing that jumps out at me is that you are using GraphicsMagick,
> and I have only tested transform with ImageMagick. But I am pretty sure
> that others have used GM successfully.
>
> I assume that the system is generating resource previews normally, right?
Yes, previews are working fine. Photos, documents, videos, etc.
>
> Also, is there a chance that there could be a permissions problem on the
> filestore/tmp/transform_plugin directory that is preventing the system from
> writing the preview?
>
The transform_plugin directory permissions are: "drwxrwxrwx" so that
should be okay.
> If none of these things help, here's a troubleshooting step to try. Open
> plugins/transform/include/transform_functions.php
>
> and around line 21 change insert "echo $command;" so that it looks
> something like this.
>
> $command .= " \"$originalpath\" +matte -delete 1--1 -flatten
> -colorspace RGB -geometry 450 \"$tmpdir/transform_plugin/pre_$ref.jpg\"";
> echo $command;
> run_command($command);
>
> Then attempt to do a transform. You will see the command being used to
> generate the preview at the top of the screen. You can try running this at
> the command line and see if you get an error. If so, it may point the way
> to a solution.
>
Here's the command echoed back to the browser:
/usr/bin/convert "/var/www/resourcespace/include/../filestore/
4/6_cc22c2ea754da41/46_0ebb13254598b4f.jpg" +matte -delete 1--1 -
flatten -colorspace RGB -geometry 450 "/var/www/resourcespace/
include/../filestore/tmp/transform_plugin/pre_46.jpg"
If I remove the "-delete" and "1--1" it will create the image. Don't
know why, I'm not familiar with the convert command. However, I cannot
crop the image once it's displayed in my browser (cursor turns into a
circle/slash when hovering over the image).
Jonas