[Tickets #10687] Re: Small Thumbs not showing

bugs at horde.org bugs at horde.org
Wed Nov 2 21:50:23 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10687
------------------------------------------------------------------------------
  Ticket             | 10687
  Updated By         | simon at simonandkate.net
  Summary            | Small Thumbs not showing
  Queue              | Ansel
  Version            | 2.0-RC2
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


simon at simonandkate.net (2011-11-02 21:50) wrote:

The Add Images non-image link used on its own does this:

A fatal error has occurred
Error running command: /usr/bin/convert "/tmp/imgBw7xpO"'[0]'  
-thumbnail 115x115^ -gravity center -extent 115x115 +profile "*"  
jpeg:"/tmp/imgSZthXH" 2>&1 convert: invalid argument for option  
`115x115^': -thumbnail.

1. Ansel_Image->display() /var/www/horde4/ansel/img/thumb.php:50
2. Ansel_Image->load() /var/www/horde4/ansel/lib/Image.php:921
3. Ansel_Image->createView() /var/www/horde4/ansel/lib/Image.php:315
4. Ansel_ImageGenerator->create() /var/www/horde4/ansel/lib/Image.php:453
5. Ansel_ImageGenerator_SquareThumb->_create()  
/var/www/horde4/ansel/lib/ImageGenerator.php:101
6. Ansel_Image->applyEffects()  
/var/www/horde4/ansel/lib/ImageGenerator/SquareThumb.php:46

Details
The full error message is logged in Horde's log file, and is shown  
below only to administrators. Non-administrative users will not see  
error details.

Ansel_Exception Object
(
     [_previous:private] => Horde_Image_Exception Object
         (
             [_previous:private] =>
             [details] =>
             [message:protected] => Error running command:  
/usr/bin/convert  "/tmp/imgBw7xpO"'[0]' -thumbnail 115x115^ -gravity  
center -extent 115x115 +profile "*" jpeg:"/tmp/imgSZthXH" 2>&1
convert: invalid argument for option `115x115^': -thumbnail.
             [string:private] =>
             [code:protected] => 0
             [file:protected] => /usr/share/pear/Horde/Image/Im.php
             [line:protected] => 160
             [trace:private] => Array
                 (
                     [0] => Array
                         (
                             [file] => /usr/share/pear/Horde/Image/Im.php
                             [line] => 121
                             [function] => _raw
                             [class] => Horde_Image_Im
                             [type] => ->
                             [args] => Array
                                 (
                                     [0] =>
                                 )

                         )

                     [1] => Array
                         (
                             [file] => /usr/share/pear/Horde/Image/Im.php
                             [line] => 487
                             [function] => raw
                             [class] => Horde_Image_Im
                             [type] => ->
                             [args] => Array
                                 (
                                 )

                         )

                     [2] => Array
                         (
                             [file] => /var/www/horde4/ansel/lib/Image.php
                             [line] => 1158
                             [function] => applyEffects
                             [class] => Horde_Image_Im
                             [type] => ->
                             [args] => Array
                                 (
                                 )

                         )

                     [3] => Array
                         (
                             [file] =>  
/var/www/horde4/ansel/lib/ImageGenerator/SquareThumb.php
                             [line] => 46
                             [function] => applyEffects
                             [class] => Ansel_Image
                             [type] => ->
                             [args] => Array
                                 (
                                 )

                         )

                     [4] => Array
                         (
                             [file] =>  
/var/www/horde4/ansel/lib/ImageGenerator.php
                             [line] => 101
                             [function] => _create
                             [class] => Ansel_ImageGenerator_SquareThumb
                             [type] => ->
                             [args] => Array
                                 (
                                 )

                         )

                     [5] => Array
                         (
                             [file] => /var/www/horde4/ansel/lib/Image.php
                             [line] => 453
                             [function] => create
                             [class] => Ansel_ImageGenerator
                             [type] => ->
                             [args] => Array
                                 (
                                 )

                         )

                     [6] => Array
                         (
                             [file] => /var/www/horde4/ansel/lib/Image.php
                             [line] => 315
                             [function] => createView
                             [class] => Ansel_Image
                             [type] => ->
                             [args] => Array
                                 (
                                     [0] => thumb
                                     [1] => Ansel_Style Object
                                         (
                                             [_properties:protected] => Array
                                                 (
                                                     [gallery_view] => Gallery
                                                     [background] => none
                                                     [thumbstyle] =>  
SquareThumb
                                                     [width] => 115
                                                     [height] => 115
                                                     [widgets] =>
                                                 )

                                             [widgets] => Array
                                                 (
                                                     [Actions] => Array
                                                         (
                                                         )

                                                 )

                                         )

                                 )

                         )

                     [7] => Array
                         (
                             [file] => /var/www/horde4/ansel/lib/Image.php
                             [line] => 921
                             [function] => load
                             [class] => Ansel_Image
                             [type] => ->
                             [args] => Array
                                 (
                                     [0] => thumb
                                     [1] => Ansel_Style Object
                                         (
                                             [_properties:protected] => Array
                                                 (
                                                     [gallery_view] => Gallery
                                                     [background] => none
                                                     [thumbstyle] =>  
SquareThumb
                                                     [width] => 115
                                                     [height] => 115
                                                     [widgets] =>
                                                 )

                                             [widgets] => Array
                                                 (
                                                     [Actions] => Array
                                                         (
                                                         )

                                                 )

                                         )

                                 )

                         )

                     [8] => Array
                         (
                             [file] => /var/www/horde4/ansel/img/thumb.php
                             [line] => 50
                             [function] => display
                             [class] => Ansel_Image
                             [type] => ->
                             [args] => Array
                                 (
                                     [0] => thumb
                                     [1] => Ansel_Style Object
                                         (
                                             [_properties:protected] => Array
                                                 (
                                                     [gallery_view] => Gallery
                                                     [background] => none
                                                     [thumbstyle] =>  
SquareThumb
                                                     [width] => 115
                                                     [height] => 115
                                                     [widgets] =>
                                                 )

                                             [widgets] => Array
                                                 (
                                                     [Actions] => Array
                                                         (
                                                         )

                                                 )

                                         )

                                 )

                         )

                 )

         )

     [details] =>
     [message:protected] => Error running command: /usr/bin/convert   
"/tmp/imgBw7xpO"'[0]' -thumbnail 115x115^ -gravity center -extent  
115x115 +profile "*" jpeg:"/tmp/imgSZthXH" 2>&1
convert: invalid argument for option `115x115^': -thumbnail.
     [string:private] =>
     [code:protected] => 0
     [file:protected] => /var/www/horde4/ansel/lib/Image.php
     [line:protected] => 1160
     [trace:private] => Array
         (
             [0] => Array
                 (
                     [file] =>  
/var/www/horde4/ansel/lib/ImageGenerator/SquareThumb.php
                     [line] => 46
                     [function] => applyEffects
                     [class] => Ansel_Image
                     [type] => ->
                     [args] => Array
                         (
                         )

                 )

             [1] => Array
                 (
                     [file] => /var/www/horde4/ansel/lib/ImageGenerator.php
                     [line] => 101
                     [function] => _create
                     [class] => Ansel_ImageGenerator_SquareThumb
                     [type] => ->
                     [args] => Array
                         (
                         )

                 )

             [2] => Array
                 (
                     [file] => /var/www/horde4/ansel/lib/Image.php
                     [line] => 453
                     [function] => create
                     [class] => Ansel_ImageGenerator
                     [type] => ->
                     [args] => Array
                         (
                         )

                 )

             [3] => Array
                 (
                     [file] => /var/www/horde4/ansel/lib/Image.php
                     [line] => 315
                     [function] => createView
                     [class] => Ansel_Image
                     [type] => ->
                     [args] => Array
                         (
                             [0] => thumb
                             [1] => Ansel_Style Object
                                 (
                                     [_properties:protected] => Array
                                         (
                                             [gallery_view] => Gallery
                                             [background] => none
                                             [thumbstyle] => SquareThumb
                                             [width] => 115
                                             [height] => 115
                                             [widgets] =>
                                         )

                                     [widgets] => Array
                                         (
                                             [Actions] => Array
                                                 (
                                                 )

                                         )

                                 )

                         )

                 )

             [4] => Array
                 (
                     [file] => /var/www/horde4/ansel/lib/Image.php
                     [line] => 921
                     [function] => load
                     [class] => Ansel_Image
                     [type] => ->
                     [args] => Array
                         (
                             [0] => thumb
                             [1] => Ansel_Style Object
                                 (
                                     [_properties:protected] => Array
                                         (
                                             [gallery_view] => Gallery
                                             [background] => none
                                             [thumbstyle] => SquareThumb
                                             [width] => 115
                                             [height] => 115
                                             [widgets] =>
                                         )

                                     [widgets] => Array
                                         (
                                             [Actions] => Array
                                                 (
                                                 )

                                         )

                                 )

                         )

                 )

             [5] => Array
                 (
                     [file] => /var/www/horde4/ansel/img/thumb.php
                     [line] => 50
                     [function] => display
                     [class] => Ansel_Image
                     [type] => ->
                     [args] => Array
                         (
                             [0] => thumb
                             [1] => Ansel_Style Object
                                 (
                                     [_properties:protected] => Array
                                         (
                                             [gallery_view] => Gallery
                                             [background] => none
                                             [thumbstyle] => SquareThumb
                                             [width] => 115
                                             [height] => 115
                                             [widgets] =>
                                         )

                                     [widgets] => Array
                                         (
                                             [Actions] => Array
                                                 (
                                                 )

                                         )

                                 )

                         )

                 )

         )

)






More information about the bugs mailing list