moved image paths into context