- in IDE:
- open modules/in-bulletin/units/polls/polls_config.php file for editing
- change Image field declaration to add storage_format field option with resize:100x100 value
- save changes
- in Admin Console:
- go to the Website & Content → Polls section
- click on Add toolbar button
- in the Image field upload an image larger, than 100x100 and with filesize larger than 1MB
- confirm that in uploader control the resized file size is shown
- to confirm that the image opened after clicking on the thumbnail preview actually was resized to 100px by one of the sides
- go to the Logs & Reports → System Log section
- confirm that the filesize(): stat failed for ... warning isn't shown anymore
Details
Details
- Reviewers
erik
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Branch
- branches/5.2.x
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 11125 Build 3825: arc lint + arc unit