We need two sub folders behind the declared gallery root folder. In the second sub folder please put in your images.
(foxconncebit is a little bit special).
But have a look into the gallery.php system.
Set in filecenter:
Code: Select all
-- Gallery (set to root)
--- Gallery01 (set to sub)
---- Gallery01_01 (set to sub and put in your pictures)
Play around a little bit with all the parameters you will find in this file.
Fast and easy css snippet from foxconn: link it to your template or put into specific/gallery.css, search for
if( strpos($content['all'], '{GALLERY}') !== FALSE ) { in gallery.php and insert behind
Code: Select all
$GLOBALS['block']['css']['gallery'] = 'specific/gallery.css';
Code: Select all
// -----------------
$_getVar['subgallery'] = 31; // The ID of the first folder [set gallery subdirectory]
// -----------------
CSS:
Code: Select all
div.clear_both {clear: both; }
div.gallery-image-list {
margin: 0 6px 0 11px;
}
div.gallery-image-list div.image {
float: left;
margin: 0 7px 7px 0;
}
div.gallery-image-list div.image img {
border: 1px solid #FFFFFF;
}
div.gallery-image-list div.image a:hover img {
border: 1px solid #F4D612;
}
div.galleries {
margin-top: 15px;
border-top: 1px solid #d9d9d9;
}
div.galleries div.gallery {
padding: 10px 5px 10px 5px;
border-bottom: 1px solid #d9d9d9;
}
div.galleries div.gallery h3 {
line-height: 100%;
padding: 0 0 6px 0;
font-size: 1.25em;
font-weight: normal;
}
div.galleries div.gallery a {
color: #000000;
}
div.galleries div.gallery div.thumbnail {
float: left;
margin: 2px 8px 8px 0;
}
div.galleries div.gallery div.thumbnail img {
border: 1px solid #D9D9D9;
background-color: #FFFFFF;
padding: 3px;
}
div.galleries div.gallery div.thumbnail a:hover img {
background-color: #F4D612;
}
div.gallery {
padding: 10px 0 0 0;
}
div.gallery h2 {
font-weight: normal;
padding: 0 0 10px 0;
line-height: 100%;
}
div.gallery p {
padding: 0 0 10px 0;
}
div.gallery div.thumbnail {
float: left;
margin: 2px 7px 7px 0;
}
div.gallery div.thumbnail img {
border: 1px solid #D9D9D9;
background-color: #FFFFFF;
padding: 2px;
}
div.gallery div.thumbnail a:hover img {
background-color: #F4D612;
}
div.gallery div.backlink {
clear: both;
border-top: 1px solid #D9D9D9;
padding: 10px 0 0 0;
margin-top: 2px;
}