3nids theme: jQuery slideshow (lightbox style) || update 10.11: admin configuration + last git
joemonster
Joined: 2006-04-12
Posts: 236 |
Posted: Tue, 2009-09-15 14:28 |
This theme is still under development. The theme is hosted on github @ http://github.com/3nids/gallery3-contrib/tree/master/themes/3nids/ Demo @ http://gallery.3nids.ch It works with the last experimental version and should be kept up to date weekly. Check updates @ http://github.com/3nids/gallery3-contrib/commits/master/themes Have fun! PS: if you have some advices...do not hesitate I am far away from mastering php! Post here if you find a bug, I'll try to fix it. Updates: Working on: |
|
Posts: 27300
Thanks for sharing. It looks like a nice theme. I really like the modal popup slideshow with the next and previous navigation.
The title in the lower left adds a touch of class.
Nicely done!
I created a codex page: http://codex.gallery2.org/Gallery3:Themes:3nids
Please feel free to add or fix anything you find.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
I was able to navigate to http://gallery.3nids.ch/index.php/2009/2009_01_02_Dotse_Sylvie/CRW_6672 from your video.
2 issues with that:
~ It would be nice to have a option to go to the photo page from the slideshow or some other place. Not sure how.
~ I also noticed that the EXIF colors are hard to read but you cant get to it very easy.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7994
Great! Would you be willing to fork the gallery/gallery3-contrib repo on github and add it there? We'd love to pull your changes into contrib so that others can easily find them...
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git
Posts: 236
@floridave: thanks, this is fixed.
what I would really like is to add some hide-able stuff for exif and comments... the next step!
@bharat: yes, that would be great. I am not an expert with git, so how do I do? do you need to authorise me or is it open to everyone?
Thanks a lot
Posts: 236
Hi all,
I added the exif info into the lightbox theme.
I find it ok but not great.
I am no able to add a close button to the exif table (it is an iframe).
Let me know what you think!
Denis
Posts: 27300
This is great! Does the exif 'button' not show if the EXIF module is not installed?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7994
@joemonster: It's pretty easy. Go to http://github.com/gallery/gallery3-contrib and (after you login there) click the "fork" link. That'll give you a new repo that's a fork of the main one. Create a "themes" dir and copy your new theme into it, commit it and then report back. I'll go into git and pull it into our repo and you'll have the singular honor of contributing the *first* 3rd party theme to our contrib repo! First of many, I hope!
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git
Posts: 236
@floridave: yes, it is not shown if exif is not installed. I just changed the way it's displayed, I am using another lightbox, it's more pretty now!!!!
@bharat: ok thanks. I will take care of this as soon as I have managed to integrate comments.
So here is my question: for exif I was able to use a direct link to display the page. For the comments I cannot since the comment module is made so it adds the view in the photo_bottom function. Any idea?
Thanks
Posts: 4
Hi Joe,
Thanks for providing this theme. I've added it to my test Gallery but it doesn't look like it should.
http://gallery.sad-land.co.uk/index.php/Fairy-Dell
i.e. the pictures aren't centred, there is no thin border round each photo and it doesn't have the black highlight when you hover over the photo. any ideas?
Cheers
Mark
Posts: 236
Hi,
Yes this is due to the use of beta3 instead of the last experimental version (you can find it @ http://github.com/gallery/gallery3 ).
I am following the last version, so it will be ready for the release.
Try to download the last version, update your folder, re-download and re-install the theme as explained in the readme, and this should be ok.
(I added today the use of exif module)
I know it would be easier with a beta3 ready theme...I should have kept one, sorry!
Denis
Posts: 4
Ahh perfect. All working fine now thanks. I think this theme is superb, so again I appreciate your efforts.
thanks
Mark
Posts: 236
@sadgit: You're welcome, thanks for the comment.
I am facing some problems about adding the comment module.
I created a topic for it http://gallery.menalto.com/node/91269
Posts: 236
I am glad to announce comments are usable in the theme....
There is still some display enhancement to make.
Posts: 27300
This is turning into a seriously great theme! Keep up the great work!
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 236
@bharat: everything is on github now, I have made a themes folder!
@floridave: can you update the page you created:
delete
and replace github repo with http://github.com/3nids/gallery3-contrib/tree/master/themes/3nids/
Thanks a lot!
Denis
Posts: 27300
Done, Feel free to update yourself. Anybody can edit pages on the codex. Docs for users by users.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 236
thanks!
I did not find how to edit the page...
Apparently, we need another account than the one from this forum?
Posts: 29
Just downloaded the theme. It seems as if the Library Folder ist missing, i only get a "Modules" and a "Themes" Folder from the .zip and .tar file.
Dieter
Posts: 236
Hi,
Well it has been included to the whole contrib folder. So the theme is in themes folder.
Here is the hierarchy
-modules
-themes
---3nids
-----3nids (theme folder)
------modules
------lib
Posts: 29
Ups - didn't see that. Sry.
Dieter
Posts: 27300
Yes. It is too bad that there is not one source to cover CMS, forums, bug tracker, source code repository.....
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
Please fix.
A very large image thumbnail.png 958x814px in the control panel - distorts the design.
[img]http://gallery.menalto.com/files/Untitled_3.jpg[/img]
Must 200x133px
[img]http://gallery.menalto.com/files/Untitled-3_0.jpg[/img]
How to fix design buttons?
[img]http://gallery.menalto.com/files/Untitled-1_13.jpg[/img]
Must be so
[img]http://gallery.menalto.com/files/Untitled-2_1.jpg[/img]
Posts: 236
Hi,
The thumbnail is already fixed (you probably do not have the last version).
For the buttons, I don't know, which browser do you use?
I did not pay attention to the top menu buttons! But the "Home" one should never appear....
Posts: 7
Thanks for the quick response!
Downloaded zip and installed yesterday - a big thumbnail.
GoogleChrome and Explorer, Firefox.
Top menu should be - users must upload photos to album.
Posts: 236
Yes, I changed the thumbnail yesterday ;)
You can see the changes history here http://github.com/3nids/gallery3-contrib/commits/master/themes
By the way, I added the comments link under every picture which appears only while mouse is over.
About the top buttons, I did not care about them because I did not attempt users to post pictures. I will try to improve this.
About the others, I really don't know. It seems strange. Did you put the lib folder at the right place ?
I observed this kind of behavior on IE5. Which version do you use? Do you have FF3 ?
Posts: 7
Error TagsMap
So here's the error:
There was an SQL error: Unknown table engine 'InnoDB' - CREATE TABLE IF NOT EXISTS tags_gpses (
`id` int(9) NOT NULL auto_increment,
`tag_id` int(9) NOT NULL,
`latitude` varchar(128) NOT NULL,
`longitude` varchar(128) NOT NULL,
`description` varchar(2048) default NULL,
PRIMARY KEY (`id`),
KEY(`tag_id`, `id`))
ENGINE=InnoDB DEFAULT CHARSET=utf8;
File: ...////gallery3/system/libraries/drivers/Database/Mysqli.php, line: 142
And here's how we got there:
...\\\\gallery3\system\libraries\drivers\Database\Mysqli.php [90]:
Kohana_Mysqli_Result->__construct( mysqli Object
(
)
, 1, CREATE TABLE IF NOT EXISTS tags_gpses (
`id` int(9) NOT NULL auto_increment,
`tag_id` int(9) NOT NULL,
`latitude` varchar(128) NOT NULL,
`longitude` varchar(128) NOT NULL,
`description` varchar(2048) default NULL,
PRIMARY KEY (`id`),
KEY(`tag_id`, `id`))
ENGINE=InnoDB DEFAULT CHARSET=utf8; )
...\\\\gallery3\system\libraries\Database.php [259]:
Database_Mysqli_Driver->query( CREATE TABLE IF NOT EXISTS tags_gpses (
`id` int(9) NOT NULL auto_increment,
`tag_id` int(9) NOT NULL,
`latitude` varchar(128) NOT NULL,
`longitude` varchar(128) NOT NULL,
`description` varchar(2048) default NULL,
PRIMARY KEY (`id`),
KEY(`tag_id`, `id`))
ENGINE=InnoDB DEFAULT CHARSET=utf8; )
...\\\\gallery3\modules\gallery\libraries\MY_Database.php [56]:
Database_Core->query( CREATE TABLE IF NOT EXISTS tags_gpses (
`id` int(9) NOT NULL auto_increment,
`tag_id` int(9) NOT NULL,
`latitude` varchar(128) NOT NULL,
`longitude` varchar(128) NOT NULL,
`description` varchar(2048) default NULL,
PRIMARY KEY (`id`),
KEY(`tag_id`, `id`))
ENGINE=InnoDB DEFAULT CHARSET=utf8; )
...\\\\gallery3\modules\tagsmap\helpers\tagsmap_installer.php [32]:
Database->query( CREATE TABLE IF NOT EXISTS {tags_gpses} (
`id` int(9) NOT NULL auto_increment,
`tag_id` int(9) NOT NULL,
`latitude` varchar(128) NOT NULL,
`longitude` varchar(128) NOT NULL,
`description` varchar(2048) default NULL,
PRIMARY KEY (`id`),
KEY(`tag_id`, `id`))
ENGINE=InnoDB DEFAULT CHARSET=utf8; )
tagsmap_installer::install( )
...\\\\gallery3\modules\gallery\helpers\module.php [121]:
call_user_func_array( Array
(
[0] => tagsmap_installer
[1] => install
)
)
...\\\\gallery3\modules\gallery\controllers\admin_modules.php [51]:
module_Core::install( tagsmap )
Admin_Modules_Controller->save( )
...\\\\gallery3\modules\gallery\controllers\admin.php [50]:
call_user_func_array( Array
(
[0] => Admin_Modules_Controller Object
(
[theme:private] =>
[uri] => URI Object
(
)
[input] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] =>
[ip_address] =>
)
)
[1] => save
)
)
Admin_Controller->__call( modules, Array
(
[0] => save
)
)
...\\\\gallery3\system\core\Kohana.php [291]:
ReflectionMethod->invokeArgs( Admin_Controller Object
(
[theme:private] =>
[uri] => URI Object
(
)
[input] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] =>
[ip_address] =>
)
)
, Array
(
[0] => modules
[1] => Array
(
[0] => save
)
)
)
Kohana::instance( )
...\\\\\gallery3\system\core\Event.php [209]:
call_user_func( Array
(
[0] => Kohana
[1] => instance
)
)
...\\\\\gallery3\system\core\Bootstrap.php [55]:
Event::run( system.execute )
...\\\\\gallery3\index.php [86]:
require( ...\\\\\gallery3\system\core\Bootstrap.php )
Operating System: Windows NT 5.2
Apache: Apache/2.2.11 (Win32) PHP/5.2.8 mod_perl/2.0.4-dev Perl/v5.10.0
PHP: 5.2.8
MySQL: 5.1.31
Posts: 7
Thanks! Good job!!!
Waiting...
The files are on the spot ... I use Mozilla Firefox 3.5, Explorer 6 and Chrome 1.0.154.36
Posts: 236
Okay, try first to repair the bug from tagsmap module. The innoDB was used as default enginefor a while and has been removed, but I did not upgrade the installer.
This is fixed now, thanks.
So you can download last version on github or remove "ENGINE=innoDB" at 3nids\modules\tagsmap\helpers\tagsmap_installer.php on line 32.
Try do do this first. It might fix the display (????really don't know).
Posts: 29
Installed the experimental version (September 23rd). Uploaded theme. Copied folder to the appropiate places. But if i click on the Appearance/Theme Choice, i get the following error:
So here's the error:
Passed variable is not an array or object, using empty array instead
File: modules/gallery/controllers/admin_themes.php, line: 38
And here's how we got there:
* modules/gallery/controllers/admin_themes.php [38]:
ArrayObject->__construct( )
* modules/gallery/controllers/admin_themes.php [26]:
Admin_Themes_Controller->_get_themes( )
* modules/gallery/controllers/admin.php [50]:
Admin_Themes_Controller->index( )
*
Admin_Controller->__call( Array
(
[0] => Admin_Themes_Controller Object
(
[theme:private] =>
[uri] => URI Object
(
)
[input] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] => 1
[ip_address] =>
)
)
[1] => index
)
)
* system/core/Kohana.php [291]:
ReflectionMethod->invokeArgs( themes )
* system/core/Event.php [209]:
Kohana::instance( Admin_Controller Object
(
[theme:private] =>
[uri] => URI Object
(
)
[input] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] => 1
[ip_address] =>
)
)
, Array
(
[0] => themes
[1] => Array
(
)
)
)
* system/core/Bootstrap.php [55]:
Event::run( )
* index.php [86]:
require( system/core/Bootstrap.php )
Posts: 7
Fix design buttons - error in file ui.init.js
Code
Replace
It works! Buttons so
[img]http://gallery.menalto.com/files/Untitled-2_1.jpg[/img]
Posts: 236
@amunet: yes...this is due to the fact you use b3 instead of last experimental version of gallery3. This has been changed last week.
I decided to follow the last experimental version so there is no big changes to do at every release but only small changes every week ;)
Is tagsmap module ok now????
@Bigda: what do you have in gallery3/themes/3nids ? you should see something like in the image...
Posts: 29
Thanks once again - i did forget to copy the 3nds folder one level higher. Now it works!
Thanks for all the support!
Dieter
Posts: 236
You're welcome!
Posts: 16504
@amunet, you can stay current either by using Git or downloading the latest experiemental
http://codex.gallery2.org/Gallery3:Upgrading
http://codex.gallery2.org/Gallery:Using_Git
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 29
Wow great work. The tagsmap feature is a blast!
There's just one minor thing:
On your own website, there appears a tooltip i you hover over the google maps pins and the text containing bubble looks the same like the comment and exif field in fullsize view. On my gallery it is different: I have to "click" to see the description of the tags on the google maps and the layout of the bubble is totally different:
[img]http://www.dieter-sattler.de/kram/gallery/Bild_2.png[/img]
Live view: http://www.luftbildner.de/gallery3
Regards,
Dieter
Posts: 7
TagsMap dispensable plugin for me - just wanted to tell the error.
I am not a developer ... Set the experimental version I fear.
Posts: 236
@amunet: thanks bor the bug report. As said, it should work now.
@Bigda: you're welcome! The problem is you installed tagsmap module from gallery3-contrib/modules and not from gallery3-contrib/themes/3nids/modules
I know it's not obvious, but "my" tagsmap module is modified from the original one (rWatcher).
First, delete the tagsmap module on your server and then upload the one from 3nids theme. This should work!
Posts: 29
Great - everything works as expected! Very good job and very good support!
Dieter
Posts: 7
Style menu 3nids.ch
Add in file screen.css
Posts: 236
You shloud not change the .gMenu, I am not sure if it's used somewhere else....
I added some overwrite for superfish.css, so now top menu should look good!
You have the update @ http://github.com/3nids/gallery3-contrib/commit/ef3a93027e27381b12b49ffd32cd3f2d3df5b7b5
Thanks by the way!
Posts: 27300
Not sure what your changes are, but to avoid confusion in the future you could create a new module with a different name or collaborate with rWatcher ( if they are minor changes) to have your changes added to his module.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 132
Nice theme! But when I install it on my system it doesn't look right. Could the recent CSS changes be the cause of it? I installed gallery3 from git a few days ago.
Posts: 236
Hi,
Yes...I did not worked on it the last 2 weeks, and here is what happens! I am trying to update now, I have a problem about the g-hover as you can see on my website: http://gallery.3nids.ch
I'll try to fix it this week!
Posts: 132
Thanks. I will wait patiently...
Posts: 132
Any news on this problem? On your website it seems you fixed the g-hover problem...
Posts: 78
I really like the lightbox and the included comments/exif.
Have renamed all the .css classes/id's to the current G3 standard. Can send them to you if you like.
Haven't fixed hover problem yet, though.
Thanks for your hard work.
Posts: 236
Hi all,
Thanks for your comment.
I did the update on git!
BTW, I have some problems to access admin->theme choice...
So be careful!
@okat: Thanks for CSS update, but it has already been done...
Posts: 132
Thanks!
Posts: 4
I'm pretty new to gallery and just installed the beta 3 and it looks like this theme won't work unless you have the latest build of gallery which is fine. Can't wait to see the theme running on the released Gallery 3 great work Joe. I haven't looked over this code yet, but will it be an easy enough to modify logo or change background colors?
I was looking through your gallery (nice pics btw) and on this image here: http://gallery.3nids.ch/index.php/2009/2009_01_31_Fondue_La_Pisa it doesn't go into lytebox. Why is this? Can the EXIF ability be disabled? I was mainly going to use Gallery 3 for screenshots and that detail isn't really needed.
____________________________________________________________
SpaceSimCentral.com - Your Space Sim Gaming Community Resource
Posts: 13
It does. You just click the picture to fast.
The problem with lightbox is that the whole page needs to be finished loading before you click the picture.