Added extra image formats
Removed unused serverPath variable