MediaPost Social Network

Up:if-can-see-photo

Displays the enclosed content only if the logged in user can see the photo specified.

Attributes

  • Required
    • string pid - file descriptor

Sample code

<up:if-can-see-photo pid="65d4a111817009b1117810834f282bb9">
  <up:photo pid="12345" />
  Check out this cool photo!
</up:if-can-see-photo>

Notes

  • Can be used in conjunction with up:else