From 57a81c9adc42d307e652d895eb66d2120849b514 Mon Sep 17 00:00:00 2001 From: “Ryder <“r@okfoc.us”> Date: Mon, 28 Mar 2016 20:05:01 -0400 Subject: caption as backgroundsize --- db.json | 24 ++++++++++++++++++++++-- templates/index.liquid | 3 ++- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/db.json b/db.json index cb6f87c..35289b4 100644 --- a/db.json +++ b/db.json @@ -21,13 +21,33 @@ "uri": "http://nytimes.com/" } ], - "__index": 0, + "__index": "0", "dateCreated": "Sat, 26 Mar 2016 20:34:21 GMT", "client": "Annapurna Pictures", - "containImage": "true", + "containImage": "false", "iframe": "", "video": "", "media": [ + { + "uri": "http://i.imgur.com/EwpnIeD.gif", + "caption": "80%", + "type": "image" + }, + { + "uri": "http://cdn0.dailydot.com/uploaded/images/original/2013/6/1/tumblr_mdqypg6Ta71rfvi3io1_500.gif", + "caption": "", + "type": "image" + }, + { + "uri": "https://ltho.s3.amazonaws.com/a694fbb6-554f-467f-877a-275920a64189.png", + "caption": "", + "type": "image" + }, + { + "uri": "https://ltho.s3.amazonaws.com/357df7aa-412e-4c1f-b35a-c777be88c876.png", + "caption": "", + "type": "image" + }, { "uri": "http://okfoc.us/", "caption": "", diff --git a/templates/index.liquid b/templates/index.liquid index 88ca8ea..bba8945 100644 --- a/templates/index.liquid +++ b/templates/index.liquid @@ -65,7 +65,8 @@
{% for media in project.media %} {% if media.type == 'image' %} -
+
{% elsif media.type == 'vimeo' %}
{% elsif media.type == 'link' %} -- cgit v1.2.3-70-g09d2