sizes links in xml output of api/frienidca/photo is an array

This commit is contained in:
fabrixxm 2015-12-28 09:46:18 +01:00
parent 79c32105fc
commit 696fe53d8f

View File

@ -12,9 +12,9 @@
<width>{{$photo.width}}</width> <width>{{$photo.width}}</width>
<datasize>{{$photo.datasize}}</datasize> <datasize>{{$photo.datasize}}</datasize>
<profile>1</profile> <profile>1</profile>
<url>{{foreach $photo.link as $scale => $url}} <links type="array">{{foreach $photo.link as $scale => $url}}
<link type="{{$photo.type}}" scale="{{$scale}}" href="{{$url}}" /> <link type="{{$photo.type}}" scale="{{$scale}}" href="{{$url}}" />
{{/foreach}}</url> {{/foreach}}</links>
{{if $photo.data}} {{if $photo.data}}
<data encode="base64">{{$photo.data}}</data> <data encode="base64">{{$photo.data}}</data>
{{/if}} {{/if}}