liquid_feedback_frontend

view app/main/file/show.jpg.lua @ 1495:17e7082c377a

Added image attachments for initiatives
author bsw
date Mon Feb 10 21:10:49 2020 +0100 (2020-02-10)
parents
children
line source
1 local id = param.get_id()
3 local file = File:by_id(id)
5 local output = file.data
7 if param.get("preview", atom.boolean) then
8 output = file.preview_data
9 end
11 slot.set_layout(nil, file.content_type)
12 slot.put_into("data", output)

Impressum / About Us