From: vincent@cubedesigners.com Date: Wed, 6 Jul 2016 17:28:38 +0000 (+0000) Subject: Experimenting on | wip #488 @3 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=e02c6758b9e213850a72aff86b9e46e7d90fdb83;p=fluidbook-v3.git Experimenting on | wip #488 @3 --- diff --git a/framework/application/views/scripts/templates/home.phtml b/framework/application/views/scripts/templates/home.phtml index 60187f7..d19ed4e 100644 --- a/framework/application/views/scripts/templates/home.phtml +++ b/framework/application/views/scripts/templates/home.phtml @@ -1,4 +1,9 @@ headScript()->addScriptAndStyle('210-home'); -echo $this->image('/images/Magazine.png'); \ No newline at end of file +echo $this->picture( + array( + array('src' => '/images/test.png', 'width' => 840), + array('src' => '/images/test-portrait.png', 'media' => '(orientation: portrait)', 'width' => 550) + ) +); \ No newline at end of file diff --git a/images/test-portrait.png b/images/test-portrait.png new file mode 100644 index 0000000..e10677e Binary files /dev/null and b/images/test-portrait.png differ diff --git a/images/test.png b/images/test.png new file mode 100644 index 0000000..e59e2f8 Binary files /dev/null and b/images/test.png differ