[api level] 2 [+special:strings] _apikey=1 _scale_y=480 [] A Designer's Site %files% [files]
⇦ {.!Back.}
%list%
[file] {.if|{.exists|{.vfs to disk|%item-url%.thumb.png.}.}|
📝 %item-name%
| {.if|{.=|{.cut|-10||%item-url%.}|.thumb.png.}| |
📝
%item-name%
.} .} [folder]
📁
%item-name%
[link]
🌎
%item-name%
[manager.html|public] {.!Manager.}

{.!APIKey:.}


    
[ajax.generate_thumbs|public] {.mime|text/plain.} {.if|{.!=|{.postvar|apikey.}|{.!_apikey.}.}|{:APIKey not correct{.break.}:}.} {.for each|filename|{.replace|:|{.no pipe||.}|{.decodeuri|{.force ansi|{.postvar|files.}.}.}.}|{: {.set|path|{.vfs to disk|{.^filename.}.}.} {.set|command|ffmpeg -y -i "{.^path.}" -vf "scale={.!_scale_y.}:-1" "{.^path.}.thumb.png".} {.add to log|{.^command.}.} {.exec|{.^command.}|out=x.} {.^path.}{.chr|13.} :}.}