image replaced, gallery fix