Skip to content

Instantly share code, notes, and snippets.

{
"display_date": "2003",
"medium": "Site specific composition",
"title": "Emersion",
"thumbnail_mimetype": "image/jpeg",
"thumbnail": "crypth.jpg",
"calendar_date": "1980-01-01 00:00:00",
"thumbnail_path": "30353_crypth.jpg",
"images": [
{
In Rails layout file:
<script>
function authToken(){
return '<%= form_authenticity_token if protect_against_forgery? -%>';
}
</script>
In FileUploader init code:
uploader = new qq.FileUploader({
...