bug 2705 fixed: if the rotation is "0", no rotation is needed, we skip the rotate function which behaves badly (in ExtIM) with a zero degree rotation. git-svn-id: http://piwigo.org/svn/trunk@16936 68402e56-0260-453c-a942-63ccdbb3a9ee