refactore Upload and LoadQueue - enable custom extension/image encoder