Used links for plugins and scripts.
Galleria Galleria Plugin for WordPress
- http://wordpress.org/extend/plugins/galleria-galleria/
- http://wordpress.org/tags/galleria-galleria
Original Site with js-code and themes (theme ‘twelve’ used here)
- http://galleria.aino.se/
- http://galleria.aino.se/themes/
- http://galleria.aino.se/docs/1.2/themes/twelve/
instructions
download and install WordPress plugin galleria-galleria. After activating the plugin, install the latest galleria-Version in the js-folder and rename it to galleria.js.
To access the stuff in the backend of WordPress, the galleria.php has to be modified:
$options['design'] = array(
'classic' => array(
'value' => 'classic',
'label' => __( 'Classic' )
),
'dots' => array(
'value' => 'dots',
'label' => __( 'Dots' )
),
'fullscreen' => array(
'value' => 'fullscreen',
'label' => __( 'Fullscreen' )
),
'twelve' => array(
'value' => 'twelve',
'label' => __( 'twelve' )
)
);
and
$design = $galleria_galleria['design'];
if( $design == 'classic' || $design == '' ) {
$design_url = GALLERIA_GALLERIA_PLUGIN_URL . '/galleria-themes/classic/galleria.classic.min.js';
} else if( $design == 'dots' ) {
$design_url = GALLERIA_GALLERIA_PLUGIN_URL . '/galleria-themes/dots/galleria.dots.min.js';
} else if( $design == 'fullscreen' ) {
$design_url = GALLERIA_GALLERIA_PLUGIN_URL . '/galleria-themes/fullscreen/galleria.fullscreen.min.js';
} else if( $design == 'twelve' ) {
$design_url = GALLERIA_GALLERIA_PLUGIN_URL . '/galleria-themes/twelve/galleria.twelve.min.js';
} else if( stristr($design, '.js') !== false ) {
$design_url = get_stylesheet_directory_uri() . GALLERIA_GALLERIA_USER_THEME_FOLDER . $design;
}
To edit the options, go to the galleria-gallery/galleria-gallery.php file and search for it.
Maybe useful links
- http://www.ericlightbody.com/2010/using-nextgen-gallery-to-bring-an-image-gallery-to-your-wordpress-blog/
Leave a reply