Photos: add an action to the "View post" button