Added 1MB limit on image downloads