3nids theme: jQuery slideshow (lightbox style) || update 10.11: admin configuration + last git

floridave
floridave's picture

Joined: 2003-12-22
Posts: 25967
Posted: Wed, 2009-10-21 02:56

Could there be some JS added that detects the DOM for a page load/complete/ready before allowing clicks? Just a suggestion.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Wed, 2009-10-21 06:52

Hi,
That would be a great idea, but i have no idea how to do this right now...
if someone has a hint!

 
boost

Joined: 2007-01-04
Posts: 13
Posted: Wed, 2009-10-21 07:26

Slimbox 2 - http://www.digitalia.be/software/slimbox2 is fast and ready as soon the page displays, so it must do something different.
However it is not as fancy as fancybox, and I can't get it to work in gallery3.

 
sddroog

Joined: 2005-02-01
Posts: 132
Posted: Fri, 2009-10-23 20:36

I just reinstalled gallery3 from scratch and installed the latest 3nids theme. There are almost 10.000 pictures in a few dozen albums but the 3nids theme refused to display them. Just one empty box on the main gallery page. The default theme works fine. See attachment.

AttachmentSize
3nids.jpg29.45 KB
 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Mon, 2009-10-26 08:48

Hi all,
I added a major update to the theme: the videos are now displayed within lightbox, and both images and videos are editable wihtin lightbox (context menu).
Here is a screenshot, if I am not clear enough.
For next update I will try to enhance the navigation: especially the few scenari when you click on an image and it is displayed on a new page...
Have fun

@sddroog: did you install beta3 or the last version on github (see http://codex.gallery2.org/Gallery:Using_Git ). If you have the last version, delete last version of the theme and try to download last version of the theme and install it as explained in README. Don't forget to activate theme_3nids module in admin!

AttachmentSize
3nids.png389.36 KB
 
Okat
Okat's picture

Joined: 2009-04-05
Posts: 77
Posted: Mon, 2009-10-26 13:06

"Clicking too fast" often happens to me when I'm sure the page is loaded and after waiting some more. Haven't got a fix. Not complaining, just reporting. Have changed previous / next image css size back to old values, too hard to find for people who don't know it's even there.

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Mon, 2009-10-26 13:16

Yes I know...I'll try to fix it, but I hadn't the clever idea yet...

 
Okat
Okat's picture

Joined: 2009-04-05
Posts: 77
Posted: Mon, 2009-10-26 13:45

Also: when album info (item description) is rather large (e.g. more than one line) it will be copied (rather badly) to the lightbox. Have disabled it for the time being, but what I'd really like to be there (item description can be viewed on the album page and the sidebar) are the tags currently applied to that particular image. I'm terrible with javascript, however. Did you try this? Guess It would only work with the "displaytags" module enabled.

Edit: Just thought of this: it might be G3 will copy album-desciptoion to image-description by default unless image-description is set. In that case it's probably okay. Although I guess multiple lines are rendered bad anyway.
Some people might like image-description being rendered in the lightbox, although I don't name my images and would like tags better.

Another edit: might this help you?
http://stackoverflow.com/questions/544993/official-way-to-ask-jquery-wait-for-all-images-to-load-before-executing-something

 
sddroog

Joined: 2005-02-01
Posts: 132
Posted: Mon, 2009-10-26 14:19

I would like to see the image description instead of the album description. But I agree with Okat, use the album description unless the image description is available. That seems like a perfect solution!

When browsing the gallery, I would like to see album/item descriptions as well. Albums show the title and items nothing. Making it configurable would be best!

 
sddroog

Joined: 2005-02-01
Posts: 132
Posted: Mon, 2009-10-26 14:21

About my problem with displaying only one empty box on the main page: I forgot to activate the 3nids module. Sorry!

 
Okat
Okat's picture

Joined: 2009-04-05
Posts: 77
Posted: Mon, 2009-10-26 14:37

Was'nt so much as a suggestion. It might even be default behaviour (display item-description if available, else album description. Didn't test it. I don't name my images and rather let them speak for themselves. I'd like tags more.

About your empty box: been there :-)

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Tue, 2009-10-27 10:33

Okay...check last update! I added admin configuration so you can play with it!
You can choose either tags, item or parent description...

 
sddroog

Joined: 2005-02-01
Posts: 132
Posted: Tue, 2009-10-27 12:24

Excellent! This theme is getter better every day!

 
sddroog

Joined: 2005-02-01
Posts: 132
Posted: Tue, 2009-10-27 13:06

I just found one small issue: when the item description is between "quotes", no description is seen (but the || is shown so a description is detected). I did not try any other special characters.

Also, I think the layout would be more consistent without the | around "exif | comments (0)". Just a suggestion...

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Tue, 2009-10-27 13:28

@sddroog: this is fixed! thanks a lot.

 
sddroog

Joined: 2005-02-01
Posts: 132
Posted: Tue, 2009-10-27 18:24

Sorry to bother you again, but I seem to be unable to activate the module. After selecting the 3nids_module and hit 'update' it says "Activated: 3nids theme" but it is not. No hint can be found in the logfile.

I even completely reinstalled gallery3 again (latest from git) but that did not help either.

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Tue, 2009-10-27 18:36

I cannot reproduce this behavior...what happens exactly? the 3nids theme module remains unchecked? The gallery is not displayed either?

I could not find anything directly.
Try to remove modules/theme_3nids/helpers/theme_3nids_installer.php
I updated on github.
Let me know!

 
sddroog

Joined: 2005-02-01
Posts: 132
Posted: Tue, 2009-10-27 18:48

Yes, the 3nids_theme remains unchecked. And the gallery remains empty (just like the "empty box" problem I had before).

After removing theme_3nids_installer.php I was able to active the module. I can even put the file back and it keeps working. And I am able to activate and de-activate without problems now.

What did you change on github? Is there something you want me to test for you?

Keep up the good work!

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Tue, 2009-10-27 20:45

I completely removed the installer.php file, this is the update on github. I don't really know of it works, but it is not needed...
We'll keep the module without it then!

 
Okat
Okat's picture

Joined: 2009-04-05
Posts: 77
Posted: Mon, 2009-11-02 23:41

Same here, if you need testing..

I'm experiencing some scrollbars on the lightbox. Might be because I changed some CSS properties in screen.css. I guess you guys don't have this problem? Happens with 'resized' and 'full setting'.

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Tue, 2009-11-03 15:32

Hi, I am not facing the same problem...even with large images...
I am using FF3, what about you?

 
sddroog

Joined: 2005-02-01
Posts: 132
Posted: Thu, 2009-11-05 09:59

Same here. I always use FF3 so I didn't notice the scrollbars before. But with IE8 (with and without compatibility mode) the scrollbars appear on all pictures.

Also, I just installed the 'register' module, but I can't find the 'register' button anywhere. With the default theme it works fine.

Thanks again!

 
Okat
Okat's picture

Joined: 2009-04-05
Posts: 77
Posted: Thu, 2009-11-05 20:43

I''m using FireFox 3.5.4, but didn't use the supplied screen.css file or themeroller. Could this be the problem? Will backup mine and use yours to test. Will report back.

 
Okat
Okat's picture

Joined: 2009-04-05
Posts: 77
Posted: Thu, 2009-11-05 21:45

Noticed the x being too large. My browser was 'zoomed in'. Don't know how that happened but It wasn't your theme. Glad to know.

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Fri, 2009-11-06 18:26

Does this theme require all the modules in the download.

Nice theme! agree to the Exif display

all the best
HB

 
Okat
Okat's picture

Joined: 2009-04-05
Posts: 77
Posted: Sat, 2009-11-07 16:00

If you mean all the modules in the gallery3-contrib zip file, no. And if you don't want to use the tagsmap module you can leave that one out as well.
If you just need the lightbox and the theme you should use the comment_3nids if you have comments enabled on your site.

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Sun, 2009-11-08 00:08

Thanks Okat and thanks Joe for a cool theme.

I believe i have the latest gallery, not beta 3 but the one in action.

I have the following issues for now:

Mouse over is not like in the Demo. I have no change at mouse over. Not in border and not in background
Icons at the top right seems to clash and not work??? a bit confused here really
Tagcloud (flash module) is not visible. The ordinary tagframe is there instead... When I use another theme the cloud works fine
When log'ed in as admin the menu at top sort of dissapears out of the screen. In order to admin my site I need to drop the theme and go back after admin

Wish list:

are there any plans to make an admin to this theme?
Any plans to make colors across the theme changeable from admin-interface and not codewise in the CSS. Especially sidebars,frames,Hlines,background,mouseover border and background

Nice lightbox and exif etc :-) is it possible to limit the size. Not by screensize but maybe 800px long axis or 1024px. Maybe via a forminput, so that its changeable on the fly from admin

all the best
HB

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Sun, 2009-11-08 11:27

Another issue right now in this theme and latest git

- the full edit menu under each album,photo only shows partially - again I need to change theme to edit and go back after edit...
- I do not have the image title at bottom of Lightbox left corner. I believe that was visible at the demo site. I would love that or maybe at the top right corner??

all the best
HB

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Mon, 2009-11-09 13:18

Any plans for the Admin-side of this theme - when can we expect an update for the latest git? Are you going directly for G3 RC or is something under way?

Looking forward and love the theme. Beautiful lightbox.

One last request - if any info is written for an image. Does it show up anywhere? If not, could it be added in the same way as Exif, Comments. A pop up including the image description.

This could maybe position next to the image title (which is not visible for me for the time beeing???)

all the best
HB

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Mon, 2009-11-09 13:21

Sorry - one last issue...

I use the Google TagMap included in your download. When I go to the map and Klik a pin, I get a line og fotos tag'ed to the pin. If i Click that foto it shows en medium size and not in Lightbox. Could the photo show in Lightbox maybe. Not sure if changes are needed on the Gmap side...

all the best
HB

 
Okat
Okat's picture

Joined: 2009-04-05
Posts: 77
Posted: Mon, 2009-11-09 22:49
Quote:
When log'ed in as admin the menu at top sort of dissapears out of the screen. In order to admin my site I need to drop the theme and go back after admin

Seems joemonster forgot to add a line in views/page/page.html.php

drop the line: "<?= $theme->user_menu() ?>" (without the quotes) between "<div id="g-banner">" and "<?= $theme->header_top() ?>"

It looks like:

<div id="doc4" class="yui-t5 g-view">
<?= $theme->site_status() ?>
<div id="g-header" class="ui-helper-clearfix">
<div id="g-banner">
<?= $theme->user_menu() ?>
<?= $theme->header_top() ?>
<? if ($header_text = module::get_var("gallery", "header_text")): ?>
<?= $header_text ?>

If you mean that. Rest looks fine by me.
The flash tag cloud globe thingy looks fine on my firefox as well.

@joemonster: After a complete new install I can still the album name although I set the theme to "tags" only in the "theme ndis options" screen.

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Tue, 2009-11-10 07:49

Hi all, I'm back ;)

@sddrog: I don't know the register module. If it is something which should come under the picture, you can not use it right now. I may find something which detect all modules and behave like comments and exif right now...

@hebhansen: No you don't need all modules, only the theme_3nids one.
There is nothing planned to manage layout via admin.
But there is an admin already, go to content->Theme 3nids, and you will see!
I added an option, so you can choose either item or parent for the item titles.
About the picture size, go in admin, and you can set to resize or full images (size of resized images can also be changed in gallery admin).
About google maps, it was intended to work with album....I'll try to fix it (quite busy right now).

@okat: thanks a lot, this is fixed! update to last git today...hard to follow!!! About tags, yes the title will still be displayed, but now you can choose item or album for the title. But tags are written next to the title.

Thansk for your comments, and I'll try to follow....but it's hard these days...

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Tue, 2009-11-10 13:36

Is the module updated???

Btw. can I suggest that you place this entire theme in the correct folder structure. That way this would be only one dump as opposed to 3 dumps. And maybe leave out the additional modules. This is an 8mb download/upload and most of the modules will change at there respective threads. Just wondered why they are included in a theme unless they were altered for this theme.

Good work Joe and Okat

all the best
HB

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Tue, 2009-11-10 13:50

I grab'ed the latest and my site went blank
http://www.image.agentura.dk/

Urgent !!!

all the best
HB

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Tue, 2009-11-10 14:11

I did the following

1 grabbed the latest 3nids (Note: there is no lib-folder as previous!??) and uploaded themes and modules folder
My site went blank

2 I uploaded the old 3nids and the site works again but with above limitations

3 I added the line proposed by Okat - and the site went blan as under 1)

This means I am still at the previous 3nids and nothing sorted for me yet.

I have not changed anything for the .map classes mentioned in ReadMe

all the best
HB

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Tue, 2009-11-10 14:14

Small request, the search bar is very long, almost half my site. Can it be shortened - Even better, can it be placed to the right, I like to keep top left for logo...

all the best
HB

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Tue, 2009-11-10 14:51

It has been updated for last git version, so first update gallery's files...

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Tue, 2009-11-10 15:22

Where exactly is the latest git?

all the best
HB

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Tue, 2009-11-10 15:30
 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Tue, 2009-11-10 16:20

Joe could you have a look at my site.... as is?

I upgraded Core to latest git and now your theme. Looks good but it seems I don't get any data.

It works with the wind theme but not 3nids.

all the best
HB

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Tue, 2009-11-10 16:21

all the best
HB

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Tue, 2009-11-10 16:21
 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Tue, 2009-11-10 16:55

I can not comment images either, might be due to above problem.

Page seems to load admin menu, Globe, Search field.

When adding the first item (album) loading seems to stop. This is in Chrome just checked Internet Explorer. Same problem

all the best
HB

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Tue, 2009-11-10 18:15

I Missed the new module that need activation under the 3nids theme. Thanks.

Images slide out of table Grid???

www.image.agentura.dk

Do you have the same?

all the best
HB

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Tue, 2009-11-10 18:23

reduce thumbnail size in admin!

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Tue, 2009-11-10 18:36

Absolutely brilliant the 3nids setup menu, showing in the Lightbox frame.

Thanks big time. Images still floating. Looking forward to salvation :-)

all the best
HB

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Tue, 2009-11-10 18:43

In advanced settings I changed from 200px to 150px. Did not change anything. Refreshed the browser as well...

all the best
HB

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Tue, 2009-11-10 18:50

Try 160x120...It's what I have

 
sddroog

Joined: 2005-02-01
Posts: 132
Posted: Tue, 2009-11-10 20:05

Hi,

I still see scrollbars with IE. I see them on your demo site as well. FF3 works fine.

Thanks again!

 
sddroog

Joined: 2005-02-01
Posts: 132
Posted: Tue, 2009-11-10 20:13
joemonster wrote:
Hi all, I'm back ;)

@sddrog: I don't know the register module. If it is something which should come under the picture, you can not use it right now. I may find something which detect all modules and behave like comments and exif right now...

Welcome back!

The register module is to make it possible for the user to register for a new account. As I run a closed gallery you only see the login page, with the 'register' button for new users. See attached pictures for the difference between the default and the 3nids theme.

AttachmentSize
3nidstheme.png12.84 KB
defaultskin.png10.73 KB