check filesize if image already exists