Some crystal snapshots have been zipped (as .gz) on disk. They should still be viewable.
(NB this is not to do with diffraction images)
Changes:
Check for .gz files when saying whether snapshots exist
Serve up zipped files if only they exist
To test:
Go to a data collection where the snapshots have been zipped, eg /dc/visit/lb18145-238/id/8295770 (snapshots at /dls/i03/data/2022/lb18145-238/jpegs/TestProteinaseK/ProtK-x0638/ProtK-x0638_11*.png.gz)
Check thumbnail snapshot appears, and when clicked, all 4 full size images are viewable by pressing right arrow
Check the images are cached in the browser if you scroll through them more than once
Go to a recent data collection where the snapshots are not zipped, repeat the checks
JIRA ticket: LIMS-1350
Summary:
Some crystal snapshots have been zipped (as .gz) on disk. They should still be viewable. (NB this is not to do with diffraction images)
Changes:
To test: