diff options
author | Graeme Porteous <graeme@rgbp.co.uk> | 2019-12-18 16:16:54 +0000 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2020-01-27 16:00:41 +0000 |
commit | 2d6af993630d9e43594975e093507ee62ed53b97 (patch) | |
tree | 514de24dd76344d88dcd5bf6494dbda519e90ebe /bin/browser-tests | |
parent | 856ae6bed192345249df8569518a4ecd074b3dc0 (diff) |
Add per report OpenGraph images
Includes a bit of refactoring of PhotoSet::get_image_data to make
it easier to call subsequent methods on the photo object. We then
do this to get the width and height.
Also adds width/height attributes to FixMyStreet::ImageMagick
Attributes are updated every time the image is transformed and before
the as_blob data, which also undefs the image, is returned so it always
present for subsequent calls.
Fixes #2394.
Diffstat (limited to 'bin/browser-tests')
0 files changed, 0 insertions, 0 deletions