2015-12-27 16:45:20 +00:00
|
|
|
|
|
|
|
<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>
|
2015-12-28 08:46:18 +00:00
|
|
|
<links type="array">{{foreach $photo.link as $scale => $url}}
|
2015-12-27 16:45:20 +00:00
|
|
|
<link type="{{$photo.type}}" scale="{{$scale}}" href="{{$url}}" />
|
2015-12-28 08:46:18 +00:00
|
|
|
{{/foreach}}</links>
|
2015-12-27 16:45:20 +00:00
|
|
|
{{if $photo.data}}
|
|
|
|
<data encode="base64">{{$photo.data}}</data>
|
|
|
|
{{/if}}
|
|
|
|
</photo>
|