xowf::WorkflowPage instproc render_thumbnails (public)

 <instance of xowf::WorkflowPage[i]> render_thumbnails upload_info

Defined in packages/xowf/tcl/test-item-procs.tcl

Renderer of the thumbnail file(s)

Parameters:
upload_info - dict containing the "file_object" and "file_name"
Returns:
HTML content

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
dict with upload_info {
  set parent_id ${:item_id}
  set feedbackFiles [xo::dc list_of_lists . {
    select item_id, name from cr_items where parent_id = :parent_id
  }]
  if {[regexp {^([^/]+)/} $file_name . qn]} {
    set HTML [:QM render_feedback_files  -question_name $qn  -feedbackFiles $feedbackFiles]
  } else {
    set HTML "$file_name created"
  }
}
return $HTML
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: