summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Item_Rest_Helper_Test.php
diff options
context:
space:
mode:
authorshadlaws <shad@shadlaws.com>2013-01-29 18:35:10 +0100
committershadlaws <shad@shadlaws.com>2013-01-29 18:35:10 +0100
commit536bdaa4db6e950cb4f382697964651b8eab63cd (patch)
treecd1896d151b5c37a483d7a2d3544318d0f102af8 /modules/gallery/tests/Item_Rest_Helper_Test.php
parentb7c73ee693473eef9b536fb05f8c2b190e47b866 (diff)
#1967 - Improve how graphics::generate handles missing/bad images.
- Made missing_photo match the image format (jpg, png, etc.). - Swapped missing_photo.png for missing_photo.jpg since it's likely to require less conversion to match. - Improved error messages to user when things go wrong. - Ensured that missing image placeholders are always copied when there's an error. - Ensured we don't mistake no file output for a correct file output (delete target before attempt). - Restructured graphics::generate a bit to work better with above changes. - Added unit tests for graphics::generate.
Diffstat (limited to 'modules/gallery/tests/Item_Rest_Helper_Test.php')
0 files changed, 0 insertions, 0 deletions