format image links on events page