-
Notifications
You must be signed in to change notification settings - Fork 40
Replace default mobile webapp logo icons
Thomas Kuther edited this page Oct 22, 2017
·
3 revisions
You can replace the default mobile webapp logo icons (themes/bootstrap_darkroom/img/logo.png) by using a custom plugin.
- Upload you image somewhere in the Piwigo folder, the local/ subfolder is a good spot
- In Administration -> Plugins -> LocalFiles Editor -> Personal Plugin add following between the
<?php .. ?>
tags:
add_event_handler('loc_begin_page_header', 'changeAppIconFilter' );
function changeAppIconFilter() {
global $template;
$template->set_prefilter('header', 'changeAppIcon');
}
function changeAppIcon($content, &$smarty) {
$search = '#themes/bootstrap_darkroom/img/logo.png#';
$replacement = 'local/mylogo.png'; /* <-- Set your logo path/name here */
return preg_replace($search, $replacement, $content);
}
- Enable the Personal Plugin in Plugin Manager
- Frequently Asked Questions
- Plugin Support Matrix
- Video support
- EXIF Metadata in PhotoSwipe
- Make it work like Smartpocket
- Add custom CSS and Javascript
- Override the Navbar style and background
- Compile your own Bootstrap
- Add primary links to the top navigation
- Add custom share buttons
- Hide image metadata by default
- Replace default mobile webapp logo icons
- Remove the "Mail to Webadmin" link in the footer
- Pre generate custom size derivatives