22 lines
630 B
Smarty
22 lines
630 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>
|
||
|
<url>{{foreach $photo.link as $scale => $url}}
|
||
|
<link type="{{$photo.type}}" scale="{{$scale}}" href="{{$url}}" />
|
||
|
{{/foreach}}</url>
|
||
|
{{if $photo.data}}
|
||
|
<data encode="base64">{{$photo.data}}</data>
|
||
|
{{/if}}
|
||
|
</photo>
|