change gallery to use source images