We're updating the issue view to help you get more done. 

Convert unsupported image formats

Description

Background

Customers can upload .TIFF files, but they cannot be displayed at this point. Not in Integrated and not in the front-end. The wish of a customer is to support the displaying of this type images.

Requirements

In the thumbnailer, and only if the "imagick" PECL extension is available:

  • Support on the fly conversion with imagemagick for all thumbnails / resized images
    In the integrated_image_dropzone formtype:

  • Try if it is supported by the thumbnailer, including the use of imagick (when available) (event). If not the form is not valid.

Test scenarios

With Imagick extension:

  • Uploading a .png file should result in a displayed image and a storage object with the .png file in it, Imagick is not used

  • Uploading a .tiff file should result in a displayed image and a storage object with the .tiff file in it

  • Uploading a "mygames.ramsaydash" file should raise a validation error
    Without imagick extension:

  • Uploading a .tiff file should raise a validation error

  • Uploading a "mygames.ramsaydash" file should raise a validation error

  • Uploading a .png file should result in a displayed image and a storage object with the .png file in it

Deployment actions

Add to your app/kernel.php the following line: new Integrated\Bundle\ImageBundle\IntegratedImageBundle(),

Technical tasks

None

Status

Assignee

Unassigned

Reporter

Marcel van Oene

Product owner

Marijn Otte

OTM project ID

None

Client

Integrated Marijn

Plan date

None

Developer

Johnny Borg

Code reviewer

Ger Jan van den Bosch

Max. hours

20

Error message

None

Follow up date

None

Switches

None

Refiner

None

Story Points

5

Time tracking

12h

Sprint

None

Fix versions

Priority

Major