Adds image previews to publications