NEW staticsync with ingest=false will now try to auto-rotate images if imagemagick is installed

git-svn-id: http://svn.resourcespace.org/svn/resourcespace@5682 c08608d7-6e46-0410-86ca-f2a6f1370df5
FIX Issue with image size not being inserted to download link. Problem seems to lie with function variable not being accessible in the hook by default. Had to declare global to provide relevant scope.


git-svn-id: http://svn.resourcespace.org/svn/resourcespace@5683 c08608d7-6e46-0410-86ca-f2a6f1370df5