This repository builds as a jar that can be added to WEB-INF/lib of your ogp install to add a controller ("/gss") that retrieves the size of an image from GDAL.