Replace text on gallery image