Always use server side dimensions for client side cropper
SVG files can potentially have relative widths and heights where their size is relative to the browser size. This causes cropping to fail as the backend and frontend disagree on what size the image is.
This forces the js cropper code to always use the server side width & height, to ensure that everything is in agreement.
Most SVGs specify an absolute width & height so don't have this issue. An example of a file with this issue is https://commons.wikimedia.org/wiki/File:Eclampsia_svg_hariadhi.svg
@danmichaelo Friendly ping on this pull request
@danmichaelo just another ping
Thanks and sorry I didn't notice this before! Deploying it now
Hey Dan Can we at Wiki Project Med help support the Croptool? Ie can you make Brian a co maintainer? Best
We are wanting to get it working on PDFs next.