Page MenuHomeIn-Portal Phabricator

INP-1774 - Display scaled down file size in uploader
AcceptedPublic

Authored by alex on Jul 5 2019, 10:12 AM.

Details

Reviewers
erik
Test Plan
  • in IDE:
    1. open modules/in-bulletin/units/polls/polls_config.php file for editing
    2. change Image field declaration to add storage_format field option with resize:100x100 value
    3. save changes
  • in Admin Console:
    1. go to Website & ContentPolls section
    2. click on Add toolbar button
    3. in the Image field upload an image larger, than 100x100
    4. confirm, that in uploader control the resized file size is shown
    5. confirm, that image opened after clicking on the thumbnail preview actually was resized to 100px by one of the sides

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.2.x
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 940
Build 940: arc lint + arc unit

Event Timeline

alex created this revision.Jul 5 2019, 10:12 AM
alex requested review of this revision.Jul 5 2019, 10:12 AM
alex added a project: Restricted Project.Jul 5 2019, 10:19 AM
erik accepted this revision.Jul 12 2019, 5:45 AM
This revision is now accepted and ready to land.Jul 12 2019, 5:45 AM