modified gallery paths