Announcement

  •  » Themes
  •  » [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

#46 2016-07-07 18:13:34

teekay
Member
2013-06-12
427

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

wduffee wrote:

Hello,

I'm getting a

Code:

Fatal error: Call to a member function is_identity() on a non-object in $my_piwigo_directory/include/derivative.inc.php on line 312

but only with the Bootstrap Darkroom theme. With the Bootstrap Default and elegant themes, no errors.

Bootstrap Darkroom version 1.4.6, and I've installed the RV Thumb Scroller and Gthumb+ plugins.

I'm new to Piwigo...what else can I provide to help debug?

Is this all you get? I could need the full stack trace.

What's your PHP version?
Any plugins other than RV Thumbnail Scroller and GThumb+?
Where exactly does this happen, like on category overview pages (inkl. the index page), album thumbnail pages or image detail page, or all of them?

Oh, and which image sizes do you have enabled in Administration -> Configuration -> Options -> Image sizes? All of them? Some disabled?

Last edited by teekay (2016-07-07 18:22:17)

Offline

 

#47 2016-07-07 20:34:49

wduffee
Member
2016-07-07
3

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Hello - thanks for the quick response! Info below:

teekay wrote:

Is this all you get? I could need the full stack trace.

What's your PHP version?
Any plugins other than RV Thumbnail Scroller and GThumb+?
Where exactly does this happen, like on category overview pages (inkl. the index page), album thumbnail pages or image detail page, or all of them?

Oh, and which image sizes do you have enabled in Administration -> Configuration -> Options -> Image sizes? All of them? Some disabled?

PHP version 5.6.19

Only other plugin is Admin Tools.

It happens on the Album thumbnail page, the image detail page, but NOT on the root piwigo index page - that looks great.

All Multiple sizes options (Square, Thumbnail, XXS,XS,S,M,L,XL,XXL) are checked, however, the "Resize after upload" option is unchecked.

I don't see anything in the http access or error logs. Unfortunately I don't have access to the php logs with my provider (dreamhost, shared hosting). Is there a way to enable a more verbose output within Piwigo?

Thanks for any help!

Offline

 

#48 2016-07-08 10:18:46

teekay
Member
2013-06-12
427

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Thanks for the detailed info.

Everything looks good. Just this one gives a clue:

wduffee wrote:

It happens on the Album thumbnail page, the image detail page, but NOT on the root piwigo index page - that looks great.

So, it seems related the the PhotoSwipe fullscreen slideshow code. Can you confirm that the slideshow doesn't work? Does the error occur if you disable PhotoSwipe in the theme configuration -> extra settings tab?

I guess I do have a workaround. Can you please try updating to version 1.4.7?

Offline

 

#49 2016-07-08 16:13:40

wduffee
Member
2016-07-07
3

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Thanks so much - everything seems to be working great with the 1.4.7 update!

teekay wrote:

Thanks for the detailed info.

Everything looks good. Just this one gives a clue:

wduffee wrote:

It happens on the Album thumbnail page, the image detail page, but NOT on the root piwigo index page - that looks great.

So, it seems related the the PhotoSwipe fullscreen slideshow code. Can you confirm that the slideshow doesn't work? Does the error occur if you disable PhotoSwipe in the theme configuration -> extra settings tab?

I guess I do have a workaround. Can you please try updating to version 1.4.7?

Offline

 

#50 2016-07-08 17:18:00

teekay
Member
2013-06-12
427

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

wduffee wrote:

Thanks so much - everything seems to be working great with the 1.4.7 update!

You're welcome. Great it works now.

Offline

 

#51 2016-07-12 12:36:40

Andrejs
Guest

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Hi! i have a small questions about album view in front page.
How can i make "list view" by default?

https://s32.postimg.org/yyep3pyvp/Screenshot_2016_07_12_13_28_30.png

 

#52 2016-07-12 14:50:39

teekay
Member
2013-06-12
427

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Andrejs wrote:

Hi! i have a small questions about album view in front page.
How can i make "list view" by default?

https://s32.postimg.org/yyep3pyvp/Scree … _28_30.png

Hi,

there is no configuration option for it, but you can use this trick:
1) enable "LocalFiles Editor" and "Personal Plugin" plugins, if not enabled already
2) In Plugins -> LocalFiles Editor -> Personal Plugin tab, paste following:

Code:

add_event_handler('init', 'show_list_view_by_default');
function show_list_view_by_default() {
  global $template;
  if (!isset($_COOKIE['view'])) {
    setcookie('view', 'list');
    $content = '$(document).ready(function() { $("#btn-list").click(); })';
    $template->block_footer_script(array('require' => 'jquery'), $content);
  }
}

Last edited by teekay (2016-07-12 15:20:55)

Offline

 

#53 2016-07-12 21:31:14

Andrejs
Guest

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Thanks a lot, it work!

 

#54 2016-07-17 14:41:48

chulann
Member
2016-07-17
3

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Thanks for the theme - really love it!

I am having one issue, which I think relates to all themes using custom image size - but relevant here because bootstrap darkroom does!

Because Bootstrap Darkroom doesn't seem to use the standard S, M, L, XL etc. sizes, the "Generate multiple image sizes" function under the Photos -> Batch Manager isn't much help. I've tried searching through the PHP to see where the function is called to generate the different sizes Bootstrap Darkroom uses but no luck!

Is there anyway to pre-generate all the image sizes Bootstrap Darkroom uses?

Offline

 

#55 2016-07-17 16:27:12

teekay
Member
2013-06-12
427

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

chulann wrote:

Thanks for the theme - really love it!

I am having one issue, which I think relates to all themes using custom image size - but relevant here because bootstrap darkroom does!

Because Bootstrap Darkroom doesn't seem to use the standard S, M, L, XL etc. sizes, the "Generate multiple image sizes" function under the Photos -> Batch Manager isn't much help. I've tried searching through the PHP to see where the function is called to generate the different sizes Bootstrap Darkroom uses but no luck!

Is there anyway to pre-generate all the image sizes Bootstrap Darkroom uses?

There is a way. Please see this post: http://piwigo.org/forum/viewtopic.php?p … 27#p163927

Offline

 

#56 2016-07-27 08:44:59

Vlad
Guest

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Hi, I love bootstrap darkroom very much, all other themes, except for a few, look just the same, but here it's completely different.

I don't see the icon Andrejs is talking about a few lines above.
https://s32.postimg.org/yyep3pyvp/Screenshot_2016_07_12_13_28_30.png

It's not a real problem, just curious. How's that possible? My gallery is here http://fotky.kuzbici.eu

Thanks for your answer
Vlad

 

#57 2016-07-27 09:15:18

teekay
Member
2013-06-12
427

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Vlad wrote:

Hi, I love bootstrap darkroom very much, all other themes, except for a few, look just the same, but here it's completely different.

I don't see the icon Andrejs is talking about a few lines above.
https://s32.postimg.org/yyep3pyvp/Scree … _28_30.png

It's not a real problem, just curious. How's that possible? My gallery is here http://fotky.kuzbici.eu

Thanks for your answer
Vlad

Hi Vlad,

that's because the gdThumb plugin overrides the default grid layout for category pages. The "list" and "grid" viw buttons are disabled then.

Offline

 

#58 2016-08-01 00:06:21

DanH
Guest

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Hi,

I like Bootstrap Darkroom so far, just started using it a few weeks back.  However, today I notice that I'm getting delays loading some album pages on my local server, with the browser sitting there trying to load something from http://maxcdn.bootstrapcdn.com.  grep reveals a few references to this external host in my local theme files for a css file. I wonder if this is intentional?  Is there any way for the theme to store this css file in the local Piwigo installation tree instead of relying on an external host to serve them up?

bootstrap_darkroom/theme.css:@import url(https://maxcdn.bootstrapcdn.com/font-aw … me.min.css);
bootstrapdefault/template/picture.tpl:{combine_css path="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"}

Thanks,
Dan

 

#59 2016-08-01 16:18:24

teekay
Member
2013-06-12
427

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

DanH wrote:

Hi,

I like Bootstrap Darkroom so far, just started using it a few weeks back.  However, today I notice that I'm getting delays loading some album pages on my local server, with the browser sitting there trying to load something from http://maxcdn.bootstrapcdn.com.  grep reveals a few references to this external host in my local theme files for a css file. I wonder if this is intentional?  Is there any way for the theme to store this css file in the local Piwigo installation tree instead of relying on an external host to serve them up?

bootstrap_darkroom/theme.css:@import url(https://maxcdn.bootstrapcdn.com/font-aw … me.min.css);
bootstrapdefault/template/picture.tpl:{combine_css path="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"}

Thanks,
Dan

Hi Dan,

The combine_css in bootstrapdefault is broken (combine_css does not support URLs, only server-local file paths) - the result would be the same anyway: loading the fontawesome css via bootstrapcdn service.
It would be possible to store it in the theme's distribution directory and load it via combine_css, yes. Most likely, this helps only for installations that are accessed from an internal network. For internet-facing installations it either makes no difference, or makes them worse, depending on the Piwigo-server's load/uplink speed/etc.. But I agree that it would make sense to just include it in the theme directly, mainly because all other things like bootstrap etc are included directly, too.

Will do this for the next version. Done in git already.

Last edited by teekay (2016-08-01 16:24:46)

Offline

 

#60 2016-08-02 20:24:19

Patrick van Elk
Guest

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Hi,

First of all - excellent theme!

I'm having trouble on Firefox, when I click an image on the album overview page there is a long delay (sometimes even causing Firefox to display warnings that a .js file is taking too long) before the image is shown. When I deactivate the Slick Carousel, everything is fine.

I tested it on different computers and different Firefox versions (normal and Developer Edition).

 
  •  » Themes
  •  » [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact