Upload avec script adhoc.
[Portfolio.git] / skins / photo_layout_macros.pt
index 88356b6..ec56985 100644 (file)
       <script type="text/javascript">
       // <!--
       (function(){
       <script type="text/javascript">
       // <!--
       (function(){
-        new Lightbox(document.getElementById('lightbox'));
+        var lb = document.getElementById('lightbox');
+        var uploadUrl = absolute_url() + '/jsupload';
+        new Lightbox(lb);
+        new DDFileUploader(lb, uploadUrl);
       })();
       // -->
       </script>
       })();
       // -->
       </script>