vishwamano

source of vishwamano.com
git clone git://git.ricketyspace.net/vishwamano.git
Log | Files | Refs

commit ea5007a013e8f36dc591225937808cef020824c5
parent ed728db5bdebbd387417a56d4d34bbe61564f03f
Author: rsiddharth <rsiddharth@ninthfloor.org>
Date:   Thu,  4 Jun 2015 20:07:24 -0400

as/photography-services: the static images are now a carousel.

	modified:   as/photography-services/index.php
	new file:   images/as/ps/carousel-2/s0.jpg
	new file:   images/as/ps/carousel-2/s1.jpg
	new file:   images/as/ps/carousel-2/s3.jpg
	modified:   themes/bs3/templates/p-services.tpl

Diffstat:
as/photography-services/index.php | 13+++++++------
images/as/ps/carousel-2/s0.jpg | 0
images/as/ps/carousel-2/s1.jpg | 0
images/as/ps/carousel-2/s3.jpg | 0
themes/bs3/templates/p-services.tpl | 11++---------
5 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/as/photography-services/index.php b/as/photography-services/index.php @@ -66,18 +66,19 @@ $c_imgs = get_images($c_img_dir); $carousel = array('imgs' => $c_imgs, 'path' => '/images/as/ps/carousel'); -# static images -$s_img_dir = $abs_path . '/images/as/ps/static/'; -$s_imgs = get_images($s_img_dir); +# carousel-2 images +$c2_img_dir = $abs_path . '/images/as/ps/carousel-2/'; +$c2_imgs = get_images($c2_img_dir); + +$carousel_2 = array('imgs' => $c2_imgs, + 'path' => '/images/as/ps/carousel-2'); -$static = array('imgs' => $s_imgs, - 'path' => '/images/as/ps/static'); $smarty->assign('ps_title', $ps_title); $smarty->assign('ps_intro', $ps_intro); $smarty->assign('ps_info', $ps_info); $smarty->assign('carousel', $carousel); -$smarty->assign('static', $static); +$smarty->assign('carousel2', $carousel_2); $smarty->assign('title', $title); $smarty->assign('meta_keywords', $meta_keywords); $smarty->assign('meta_description', $meta_desc); diff --git a/images/as/ps/carousel-2/s0.jpg b/images/as/ps/carousel-2/s0.jpg Binary files differ. diff --git a/images/as/ps/carousel-2/s1.jpg b/images/as/ps/carousel-2/s1.jpg Binary files differ. diff --git a/images/as/ps/carousel-2/s3.jpg b/images/as/ps/carousel-2/s3.jpg Binary files differ. diff --git a/themes/bs3/templates/p-services.tpl b/themes/bs3/templates/p-services.tpl @@ -139,20 +139,13 @@ </div> <!-- ps info section end --> <div class="margin-top"> <!-- ps carousel start --> - {include file='carousel.tpl' cimages=$carousel.imgs cpath=$carousel.path} + {include file='carousel.tpl' cid="v-carousel1" cimages=$carousel.imgs cpath=$carousel.path} </div> <!-- ps carousel end --> </div> <!-- ps column end --> <div class="col-sm-6"> <!-- ps static images column start --> - <div class="row"> - <div class="col-sm-offset-2 col-sm-7"> - {foreach $static.imgs as $img} - <img class="img-responsive margin-top" - src="{$static.path}/{$img}" alt="[ static image - {$img} ]"> - {/foreach} - </div> - </div> + {include file='carousel.tpl' cid="v-carousel2" cimages=$carousel2.imgs cpath=$carousel2.path} </div> <!-- ps static images column end --> </div> <!-- ps row end -->