relative paths for plot_gallery detail pages