Remove stuff from gallery page image reference.