use head instead of get when finding content type of image attachment
update apk