Moved image import to worker