set_time_limit(0);
ignore_user_abort(true);
- $ws = new CubeIT_Services_Fluidbook('vincent@cubedesigners.com', 'iquique');
+ $ws = new CubeIT_Services_Fluidbook('vincent@cubedesigners.com', 'SiWyC@@1uW');
$references = Fluidbook_Model_Reference::factory()->find();
$fluidbooks = array();
public static function importReference($id)
{
- $ws = new CubeIT_Services_Fluidbook('vincent@cubedesigners.com', 'iquique');
+ $ws = new CubeIT_Services_Fluidbook('vincent@cubedesigners.com', 'SiWyC@@1uW');
$meta = $ws->getMetadata($id);
$dir = PUBLIC_PATH . '/references/' . $id . '-' . CubeIT_Text::str2URL(trim($meta->title));
$res = $ws->installBook($id, $dir, 'online', 3, function () use ($id) {
$res .= $this->exemplePublication($f->getFluidbookId(), $f->getFluidbookPage());\r
} else {\r
$res .= $this->htmlElement('', 'div',\r
- array('style' => 'background-image:url(' . $this->imageProcess()->imageProcessGetURL($image, $f->getTitle() . ' - ' . $f->getText(), 660, 440, array(), 'R') . ');',\r
- 'class' => 'img')\r
+ array('style' => 'background-image:url(' . $this->imageProcess()->imageProcessGetURL($image, $f->getTitle() . ' - ' . $f->getText(), 1200, 1200, array(), 'R') . ');',\r
+ 'class' => 'img full')\r
);\r
}\r
$attrs = array('data-j' => ++$this->_j, 'data-i' => $i);\r
bottom: 10%;\r
background-size: contain;\r
background-position: 50% 100%;\r
+\r
+ &.full{\r
+ width:100%;\r
+ height:100%;\r
+ top:0;\r
+ left:0;\r
+ right: 0;\r
+ bottom: 0;\r
+ }\r
}\r
\r
h3 {\r