Closed tmfrnz closed 7 years ago
I'm going to start looking at this now
Steps to fix and avoid the file name changes enforced by Drupal
In our case because some of the content had been change to point to the _0 versions, the content also had tone changed back
There are some naming inconsistencies between the normal and retina versions, specifically for the travel time graphics, where a '_0' has been added to the normal versions,(likely due to CMS versioning). Eg the URL for the normal version for the tsunami stages graphic is http://content.niwa.co.nz/sites/default/files/tsunami-stages_0.png (with the added "_0") and for the retina version http://content.niwa.co.nz/sites/default/files/tsunami-stages@2x.png (unchanged) while the application will look for the non-existing http://content.niwa.co.nz/sites/default/files/tsunami-stages_0@2x.png.
Please let me know if naming consistency can be guaranteed on the server - if not we can have the client strip the appended "_0" away when appending the '@2x' (could also remove any other numbers if this could happen (_1, _2, etc).