From bda55f19b778920647b0fc4774765963fe39f6e7 Mon Sep 17 00:00:00 2001 From: Minoo Date: Thu, 24 Mar 2011 21:09:19 -0400 Subject: [PATCH] fixed the width and height of div container of the image -#368 --- plugins/image/popcorn.image.html | 6 ++++-- plugins/image/popcorn.image.js | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/plugins/image/popcorn.image.html b/plugins/image/popcorn.image.html index 168a4e9..b3059d3 100644 --- a/plugins/image/popcorn.image.html +++ b/plugins/image/popcorn.image.html @@ -53,7 +53,9 @@ -
-
+
+
+
+ diff --git a/plugins/image/popcorn.image.js b/plugins/image/popcorn.image.js index a9065c6..371d9dc 100644 --- a/plugins/image/popcorn.image.js +++ b/plugins/image/popcorn.image.js @@ -60,8 +60,8 @@ } var div = document.createElement( 'div' ); divStyle = { - width : '200px', - height : '200px', + width : '100%', + height : '600px', background : "url( " + options.src + " ) no-repeat ", backgroundSize : '100%', MozBackgroundSize: '100%', -- 2.43.0