Any way to put a banner in the header?
I have the title, and a random photo, and I'd like to fill the extra space with a banner photo.
screenshot from http://museum.syssrc.com/album attached.
Thanks
Offline
Hi @broswell,
that random photo menu plugin isn't really supported yet. On my TODO list now.
What happened here is your top navigation bar got stretched down, and there is no sane way to fill that black area on the left side of the nav bar.
The theme has a banner component called "Jumbotron" which you can enable in theme settings. Its content can be changed in Administration -> Configuration -> Options -> Banner
With some Javascript skills, you could turn it into something that shows a carousel with random images and/or a banner. Some code is in the wiki here: https://github.com/tkuther/piwigo-boots … kroom/wiki (buzzwords carousel and jumbotron)
Offline
Hello.
I believe i have one problem.
The situation looks like this:
When i navigate in my gallery on to one photo, the address bar shows something like this:
my.gallery.zz/picture.php?/400249/category/57749
When i change the url to (4=>6):
my.gallery.zz/picture.php?/600249/category/57749
i will get 404, page not found.
But when i change the url to (2=>1):
my.gallery.zz/picture.php?/400149/category/57749
i will get: Fatal error: Allowed memory size of 1342177280 bytes exhausted (tried to allocate 512 bytes) in /var/www/html/galerii/themes/bootstrap_darkroom/themeconf.inc.php on line 112
Is it possible to handicap gallery this way by anyone? Maybe a solution?
Thank you in advance.
Piwigo 2.8.5
PHP 5.6.30
MySQL 5.5.54
Bootstrap Darkroom 1.4.12
Offline
Peremees wrote:
Hello.
I believe i have one problem.
The situation looks like this:
When i navigate in my gallery on to one photo, the address bar shows something like this:
my.gallery.zz/picture.php?/400249/category/57749
When i change the url to (4=>6):
my.gallery.zz/picture.php?/600249/category/57749
i will get 404, page not found.
But when i change the url to (2=>1):
my.gallery.zz/picture.php?/400149/category/57749
i will get: Fatal error: Allowed memory size of 1342177280 bytes exhausted (tried to allocate 512 bytes) in /var/www/html/galerii/themes/bootstrap_darkroom/themeconf.inc.php on line 112
Is it possible to handicap gallery this way by anyone? Maybe a solution?
Thank you in advance.
Piwigo 2.8.5
PHP 5.6.30
MySQL 5.5.54
Bootstrap Darkroom 1.4.12
What does line 112 in bootstrap_darkroom/themeconf.inc.php contain in your install?
I ask because that line is actually empty and also has been in version 1.4.12, see https://github.com/tkuther/piwigo-boots … nf.inc.php
Offline
Sorry, i made a mistake about the error. The right one is:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /var/www/html/galerii/include/dblayer/functions_mysqli.inc.php on line 226
In that file on the specified line (226) is: return $result->fetch_assoc();
Offline
Hi Teekay,
Latest release brokes HomePage carousel.
Because js moved into the footer or something else ?
Examples :
- https://pwgdemo.kuther.net/index/page/s … h_carousel
- http://guillaumecyriaque.be
Cheers
Offline
Guillaume C wrote:
Hi Teekay,
Latest release brokes HomePage carousel.
Because js moved into the footer or something else ?
Examples :
- https://pwgdemo.kuther.net/index/page/s … h_carousel
- http://guillaumecyriaque.be
Cheers
Ooops. Thanks for the pointer! I fixed this in 1.5.2 (jQuery and bootstrap js get loaded in header, only for AdditionalPages pages)
Offline
Peremees wrote:
Sorry, i made a mistake about the error. The right one is:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /var/www/html/galerii/include/dblayer/functions_mysqli.inc.php on line 226
In that file on the specified line (226) is: return $result->fetch_assoc();
That looks different, even the memory limit. 64MB is a bit low anyway. I run Piwigo with 512.
Does it happen with other themes, too?
Offline
teekay wrote:
Ooops. Thanks for the pointer! I fixed this in 1.5.2 (jQuery and bootstrap js get loaded in header, only for AdditionalPages pages)
Thanks for your prompt reaction ! but...
Fatal error: Can't use method return value in write context in /public_html/piwigo/themes/bootstrap_darkroom/themeconf.inc.php on line 193
on any page.
I'm back to Stripped and will look this tomorrow.
Offline
Guillaume C wrote:
teekay wrote:
Ooops. Thanks for the pointer! I fixed this in 1.5.2 (jQuery and bootstrap js get loaded in header, only for AdditionalPages pages)
Thanks for your prompt reaction ! but...
Code:
Fatal error: Can't use method return value in write context in /public_html/piwigo/themes/bootstrap_darkroom/themeconf.inc.php on line 193on any page.
I'm back to Stripped and will look this tomorrow.
Heck.. This is fixed in 1.5.3, hopefully.
Offline
Hello,
breadcrumbs do not show correct words where the encoding?
**link broken**
Offline
konservator wrote:
Hello,
breadcrumbs do not show correct words where the encoding?
**link broken**
Hi,
are you willing to test something?
Open bootstrap_darkroom/themeconf.inc.php end edit around line 170 from
$dom = new DOMDocument; $dom->encoding = 'utf-8'; $int_err = libxml_use_internal_errors(true); $dom->loadHTML(utf8_decode($title));
to:
$dom = new DOMDocument; $int_err = libxml_use_internal_errors(true); $dom->loadHTML(mb_convert_encoding($title, 'HTML-ENTITIES', 'UTF-8'));
Offline
thank you very much, fix it =)
Offline
konservator wrote:
thank you very much, fix it =)
Thanks for testing! Committed in git.
Offline
I just posted this http://piwigo.org/forum/viewtopic.php?id=27711 with a few questions and now I found a dedicated thread for this great theme, should I repost it here?
Thanks!
Offline