diff --git a/icons/movie.png b/icons/movie.png
new file mode 100644
index 00000000..97793bb7
Binary files /dev/null and b/icons/movie.png differ
diff --git a/icons/pear.css b/icons/pear.css
index 03988e76..fe2bac04 100644
--- a/icons/pear.css
+++ b/icons/pear.css
@@ -1,6 +1,17 @@
.gallery-thumb-round {
background: url('rounded.png') no-repeat scroll left top;
position: absolute;
+ height: 200px;
+ width: 200px;
+}
+
+.p-video{
+ background: url('movie.png') no-repeat center;
+ position: absolute;
+ width: 200px;
+ height: 200px;
+ left: 0px;
+ top: 0px;
}
.skimm_div {
@@ -59,7 +70,7 @@ height:40px;
display: block;
z-index: 100;
background: transparent url('pear_logo_sml.png') no-repeat center left;
-width: 83px;
+width: 30px;
height: 40px;
border: 0px;
padding: 0px;
@@ -301,7 +312,7 @@ cursor: default;
#viewControls {
position: relative;
color: #616161;
-width: 381px;
+width: 334px;
float: left;
margin-left: 30px;
margin-top: 13px;
diff --git a/js/pear.js b/js/pear.js
index 8a1db03f..bdea961e 100644
--- a/js/pear.js
+++ b/js/pear.js
@@ -24,7 +24,7 @@ function swatchSkin(intSkin){
case 'dkgrey' :
case 1 :
$('div.gallery-thumb-round').css('backgroundPosition' , "-200px 0px");
- $('#mosaicTable').css('backgroundColor' , "#262626");
+ $('#mosaicTable,.pear').css('backgroundColor' , "#262626");
$('p.giTitle').css("color", "#a9a9a9");
$("#dkgrey").addClass("dkgrey sel dkgrey-with-sel-with-swatch");
bgcolor="dkgrey";
@@ -33,7 +33,7 @@ function swatchSkin(intSkin){
case 'ltgrey' :
case 2 :
$('div.gallery-thumb-round').css('backgroundPosition' , "-400px 0px");
- $('#mosaicTable').css('backgroundColor' , "#d9d9d9");
+ $('#mosaicTable,.pear').css('backgroundColor' , "#d9d9d9");
$('p.giTitle').css("color", "#333333");
$("#ltgrey").addClass("ltgrey sel ltgrey-with-sel-with-swatch");
bgcolor="ltgrey";
@@ -42,7 +42,7 @@ function swatchSkin(intSkin){
case 'white' :
case 3 :
$('div.gallery-thumb-round').css('backgroundPosition' , "-600px 0px");
- $('#mosaicTable').css('backgroundColor' , "#ffffff");
+ $('#mosaicTable,.pear').css('backgroundColor' , "#ffffff");
$('p.giTitle').css("color", "#444444");
$("#white").addClass("white sel white-with-sel-with-swatch");
bgcolor="white";
@@ -52,7 +52,7 @@ function swatchSkin(intSkin){
case 0 :
default:
$('div.gallery-thumb-round').css('backgroundPosition' , "0px 0px");
- $('#mosaicTable').css('backgroundColor' , "#000");
+ $('#mosaicTable,.pear').css('backgroundColor' , "#000");
$('p.giTitle').css("color", "#a3a3a3");
$("#black").addClass("black sel black-with-sel-with-swatch");
bgcolor="black";
@@ -200,6 +200,8 @@ function mosaicResize()
myHeight = myHeight - $('#g-site-status').outerHeight(true);
$('#g-header').css('top', $('#gsNavBar').outerHeight(true)+$('#g-site-status').outerHeight(true)-4);
+ if($('#g-movie').length)
+ myHeight+=18;
if ( !mosaicView )
{
$('#mosaicGridContainer').css({'height': (myHeight+33)+"px", 'width': myWidth+"px"});
@@ -253,6 +255,7 @@ function bodyLoad(viewMode, bgcolor) {
if (co==null || co=="")
swatchSkin(bgcolor);
+if(typeof slideshowImages != 'undefined')
if(!slideshowImages.length)
viewMode='grid';
diff --git a/views/album.html.php b/views/album.html.php
index 39ced10c..d39a2ba4 100644
--- a/views/album.html.php
+++ b/views/album.html.php
@@ -30,13 +30,19 @@ $(function() {
if ($child->is_photo()): ?>
$img_class = "g-thumbnail p-photo"; ?>
endif ?>
+ if ($child->is_movie()): ?>
+
+ endif ?>
= html::purify(text::limit_chars($child->title, 20)) ?>