mirror of
https://github.com/friendica/friendica
synced 2024-11-18 05:43:42 +00:00
21 lines
647 B
Smarty
21 lines
647 B
Smarty
|
|
<photo>
|
|
<id>{{$photo.id}}</id>
|
|
<created>{{$photo.created}}</created>
|
|
<edited>{{$photo.edited}}</edited>
|
|
<title>{{$photo.title}}</title>
|
|
<desc>{{$photo.desc}}</desc>
|
|
<album>{{$photo.album}}</album>
|
|
<filename>{{$photo.filename}}</filename>
|
|
<type>{{$photo.type}}</type>
|
|
<height>{{$photo.height}}</height>
|
|
<width>{{$photo.width}}</width>
|
|
<datasize>{{$photo.datasize}}</datasize>
|
|
<profile>1</profile>
|
|
<links type="array">{{foreach $photo.link as $scale => $url}}
|
|
<link type="{{$photo.type}}" scale="{{$scale}}" href="{{$url}}" />
|
|
{{/foreach}}</links>
|
|
{{if $photo.data}}
|
|
<data encode="base64">{{$photo.data}}</data>
|
|
{{/if}}
|
|
</photo>
|