Allow non-image items in gallery

Use the {{preview}} identifier for those.