Compress file size for project images