friendica/friendica — pull request #380 by copyninja (2012-07-07 10:59:03+00:00)
Title: orient function should not be called on png image types

As exif_read_data is only for jpeg and tiff calling it on png type throws an Failed message in upload page even though photo gets uploaded. So added this quirk to call orient only if image type is not png in mod/photos.php

PS: other commits are some file permission changes which I had done during debian packaging. you can ignore that if you don't like it :-)