Uploaded image for project: 'PresideCMS'
  1. PRESIDECMS-782

Imagemagick struggles when image is smaller than expected

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Affects versions: None
    • Fix versions: 10.9.0
    • Labels:
      None
    • Sprint:
    • Accepted:
      Yes

      Description

      Image resize operation failed. Expected dimensions [760x456]. Received dimensions: [760x435] 
      
      /opt/preside/presidecms-10.8.0.01201/system/services/assetManager/ImageMagickService.cfc: line 302
      
          300:
          301: if ( ( arguments.width && dimensions.width != arguments.width ) || ( arguments.height && dimensions.height != arguments.height ) ) {
          302: throw( type="imagemagick.resize.failure", message="Image resize operation failed. Expected dimensions [#arguments.width#x#arguments.height#]. Received dimensions: [#rawInfo#]" );
          303: }
          304: } else {
      
      called from /opt/preside/presidecms-10.8.0.01201/system/services/assetManager/ImageMagickService.cfc: line 168
      called from /opt/preside/presidecms-10.8.0.01201/system/services/assetManager/ImageMagickService.cfc: line 45
      called from /opt/preside/presidecms-10.8.0.01201/system/services/assetManager/ImageManipulationService.cfc: line 35
      called from /opt/preside/presidecms-10.8.0.01201/system/services/assetManager/AssetTransformer.cfc: line 30
      called from /opt/preside/presidecms-10.8.0.01201/system/services/assetManager/AssetManagerService.cfc: line 1692
      called from /opt/preside/presidecms-10.8.0.01201/system/services/assetManager/AssetManagerService.cfc: line 1247
      called from /opt/preside/presidecms-10.8.0.01201/system/services/assetManager/AssetManagerService.cfc: line 1161 
      

      This results in the image not being displayed on the page.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jack.thompson Jack Thompson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: