doortts doortts 2017-09-05
css: Support caption of image gallery
@8303ad8f42c30c682c05374fc6c2b0373f24e94a
app/views/layout.scala.html
--- app/views/layout.scala.html
+++ app/views/layout.scala.html
@@ -78,6 +78,11 @@
                         elementParse: function (item) {
                             item.src = item.el.attr('src');
                         }
+                    },
+                    image: {
+                        titleSrc: function (item) {
+                            return item.el.attr('alt');
+                        }
                     }
                 });
             });
Add a comment
List