Thanks a lot, Shad! I don't have the time to implement that right now, but I will soon.
@Serge Yes, I'd vote for such an option, too, of course. Thanks for the great theme.
Astor
Joined: 2005-12-15
Posts: 154
Posted: Thu, 2012-05-24 14:21
Thank you Serge for your great work.
I wish customize browser tab title and add the album title to the photo title.
example:
album title : Venice
photo title : Gondola
new photo title : Venice - Gondola
I have identified these in page.html.it of GreyDragon theme but I do not know what to do
Quote:
<? if ($page_title): ?>
<? $_title = $page_title ?>
<? else: ?>
<? if ($theme->item()): ?>
<? $_title = $theme->get_item_title($theme->item()); ?>
<? elseif ($theme->tag()): ?>
<? $_title = t("Photos tagged with %tag_title", array("tag_title" => $theme->bb2html($theme->tag()->name, 2))) ?>
<? else: /* Not an item, not a tag, no page_title specified. Help! */ ?>
<? $_title = $theme->bb2html(item::root()->title, 2); ?>
<? endif ?>
<? endif ?>
<title><?= $_title ?></title>
@Shad Hm, I implemented that now and double-checked that it looks like you wrote above, but it didn't do the trick for me.
I disabled, saved then reenabled and saved extended aspect ratio to make sure some "dirty flag" that might be present is set. Then I rebuilt all thumbnails, but they look just the same as they did before, i.e. protrait thumbnails are as wide as the thumbnail width and are cut at the top and at the bottom.
Is there something else I have to do to make this work?
Thanks, Christian
shadlaws
Joined: 2012-03-14
Posts: 183
Posted: Thu, 2012-05-31 18:26
Sorry, I didn't mention: what do you have the "aspect ratio" dropdown set to?
The mod I posted only works if the aspect ratio is left as "Actual" (whose actual value is the "photo" option you see in the code). If you'd like something else, you can hack the code a bit different. The key is you want to run the line $rule = Image::AUTO; and not $rule = Image::WIDTH;.
Take care,
Shad
zottel
Joined: 2012-05-22
Posts: 11
Posted: Fri, 2012-06-01 07:15
Hm, it was set to actual.
I now looked into the database and found that in the thumb rule in the gallery_rules table, master was set to 4, which is Image::WIDTH, so it couldn't have worked.
A deeper look into the code of admin_theme_options.php told me that this rule is only rewritten if the rebuild thumbnails option is checked. I expected that the rule would always be rewritten (i.e. new thumbnails would be created in the new way after the setting is changed), and setting the rebuild thumbnails option would only flag them for rebuilding, nothing else. I probably first set the rebuild thumbnails option and later changed the thumbnail size options to my desried values before I actually started the rebuild process.
@Serge: Is there a good reason why the thumb rule is only updated if rebuild thumbs option is also checked?
zottel
Joined: 2012-05-22
Posts: 11
Posted: Fri, 2012-06-01 07:19
Yay, it works now, thanks Shad.
dwdallam
Joined: 2006-11-19
Posts: 394
Posted: Fri, 2012-06-01 11:23
Serge,
I just don't know how else to start to figure this problem out, so I'm asking you.
Lately I've redone my entire website using WordPress. One of the plugins for a gallery uses something called "Shutter" for a "Fancybox" like animation. What I have found though is that the WordPress gallery plugin (not related to G3) allows browsers to dynamically resize the window when the image exceeds the window dimensions.
Edit:
I figured this out. It was the effect's allowing it. I installed Fancybox and now it 3works just like I wanted it too!
Serge D
Joined: 2009-06-11
Posts: 2466
Posted: Fri, 2012-06-01 13:23
zottel wrote:
Hm, it was set to actual.
I now looked into the database and found that in the thumb rule in the gallery_rules table, master was set to 4, which is Image::WIDTH, so it couldn't have worked.
A deeper look into the code of admin_theme_options.php told me that this rule is only rewritten if the rebuild thumbnails option is checked. I expected that the rule would always be rewritten (i.e. new thumbnails would be created in the new way after the setting is changed), and setting the rebuild thumbnails option would only flag them for rebuilding, nothing else. I probably first set the rebuild thumbnails option and later changed the thumbnail size options to my desried values before I actually started the rebuild process.
@Serge: Is there a good reason why the thumb rule is only updated if rebuild thumbs option is also checked?
Because it is very expensive operation as thumbs need to be rebuild
Ah, so setting the thumb rule is what flags the thumbs as "rebuild required"? Ok, then it makes sense, of course.
I thought these were different operations, like if the thumb rule is changed, all newly uploaded pictures will get thumbs according to that rule, and only if they were set to "rebuild required" in a seperate operation, they would be rebuilt.
dwdallam
Joined: 2006-11-19
Posts: 394
Posted: Mon, 2012-06-04 10:21
Two things here:
(1) I've forgotten how thumbnail sizes work in GD. Can you refresh me? I looked all over and in options, but can't find that option. I'm thinking I did it with css somehow. lol
--------
I found it--either 200px or 300px.
--------
(2) I was thinking it might be a good idea to have the option to dynamically scale thumbnails.
Ex:
You have a static sized page (e.g., 1000px)
You want 5 columns but the size of your theme (css) won't allow it, unless the theme can dynamically resize the thumbnails.
Solution: Allow as many thumbnails on the page with a set thumbnail minimum size.
Example of Solution:
Static page width = 1000px
(1) At a 200 pixels longest edge thumbnail size, only 4 columns are possible--taking into consideration that the sidebar takes up 200px.
(2) Theme would dynamically resize the thumbnails to fit 4 columns given user "minimum thumbnail width (e.g. 100px widest side).
dwdallam
Joined: 2006-11-19
Posts: 394
Posted: Mon, 2012-06-04 10:26
Serge,
I just updated GD from a really old version. I remember that you could set one of the image "boxes" (or maybe all of them, but definitely Fancybox) to show the popup image, and then if you clicked it again, it would give you a full sized version without any watermarks--but only for people who had accounts and were logged in.
Do you remember that?
It was really helpful because I could use watermarks for the general public and then clients could click the popup image, and get the final version (no matter what it's size was) without the water marks.
Did you take that option out?
ty
Feliz
Joined: 2009-01-08
Posts: 30
Posted: Mon, 2012-06-04 10:47
Serge
Once more congratulations for you great Theme.
I have two small issues that I can't find a solution in the forums, so I hope you could point me the right direction. One is related with your theme Grey Dragon, the other is more related with Gallery3 in general.
#1 - I want to change the Album Title font only, and remove the symbol before the title(see Example.gif). I´m not very experienced in CSS and PHP, so can you please tell me what to change, or add to my custom css?
#2 - In my gallery I have a main album (with no photos in it, only sub-albuns), as you can see here:
How can I set a custom thumbnail to the main album? In Gallery2 there was an option in album edit, but I cant find it in Gallery3.
Best Regards
Nuno Feliz
dwdallam
Joined: 2006-11-19
Posts: 394
Posted: Mon, 2012-06-04 10:52
One other thing: How do I change the banner URL? Can I do that in css or does that need to be done in a php file? If so, can I copy that file to a special directory like I did with the custom.css file?
dwdallam
Joined: 2006-11-19
Posts: 394
Posted: Mon, 2012-06-04 11:36
I don't currently see any Gallery Title nor do I see the folder img you want to take out of the thumbnails.
Also, do you have your "custom.css" file set up yet?
I found the folder image you want to take out. comment out the "background: url":
.g-album .g-thumbslide .g-description {
background: url("http://www.dwdallam.com/G3_DWDALLAM/themes/greydragon/css/colorpacks/greydragon/css/../images/ico-album.png") no-repeat scroll 8px 4px #1E1E1E;
}
Feliz wrote:
Serge
Once more congratulations for you great Theme.
I have two small issues that I can't find a solution in the forums, so I hope you could point me the right direction. One is related with your theme Grey Dragon, the other is more related with Gallery3 in general.
#1 - I want to change the Album Title font only, and remove the symbol before the title(see Example.gif). I´m not very experienced in CSS and PHP, so can you please tell me what to change, or add to my custom css?
#2 - In my gallery I have a main album (with no photos in it, only sub-albuns), as you can see here:
How can I set a custom thumbnail to the main album? In Gallery2 there was an option in album edit, but I cant find it in Gallery3.
Best Regards
Nuno Feliz
Feliz
Joined: 2009-01-08
Posts: 30
Posted: Mon, 2012-06-04 15:11
Hi
Dwdallam, thank you for your answer. The icon problem is solved with the custom.css, and the problem was with the Album Description, not the Title. Sorry about that.
For the #2 Issue, maybe I didn't explained well, but english is not my natural language. Here is a better explanation to the problem.
In Gallery2 when you edit an album, there is an option where you can choose any image, even in your hard disk, to be the album cover.
On my site I have some albums which have no images, only sub-albums, to group the galleries by a specific theme. So I need to set an image to the Main Album, to help identify the galleries inside, the problem is that Gallery3 gets an image from the first sub-album, and set it as the Main Album image. I want to know it is possible to choose the image.
Best Regards
Feliz
Serge D
Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2012-06-04 16:59
dwdallam wrote:
Two things here:
(1) I've forgotten how thumbnail sizes work in GD. Can you refresh me? I looked all over and in options, but can't find that option. I'm thinking I did it with css somehow. lol
--------
I found it--either 200px or 300px.
--------
yes, you are correct
dwdallam wrote:
(2) I was thinking it might be a good idea to have the option to dynamically scale thumbnails.
...
Solution: Allow as many thumbnails on the page with a set thumbnail minimum size.
use flexible column layout, set fixed width of the gallery (see FAQ).
there is a possibility to use "sliding doors" technique and develop new framepack which would override default CSS, thumb background, etc. In fact, iPhoto framepack has frame structure override - check frame.html.php file in views folder of the pack.
if you succeed with that, please share as I did introduce this option exactly for that reason.
I just updated GD from a really old version. I remember that you could set one of the image "boxes" (or maybe all of them, but definitely Fancybox) to show the popup image,
Use Fancybox, Colorbox or Shadowbox
if you want popup when clicking thumbnail, set "Disable Photo Page (use Slideshow Mode)"
dwdallam wrote:
and then if you clicked it again, it would give you a full sized version without any watermarks--but only for people who had accounts and were logged in.
I do not think there was ever option like that. In fact, if you do allow full size by permissions, "popup" would have full size image...
#1 - I want to change the Album Title font only, and remove the symbol before the title(see Example.gif). I´m not very experienced in CSS and PHP, so can you please tell me what to change, or add to my custom css?
#2 - In my gallery I have a main album (with no photos in it, only sub-albuns), as you can see here:
How can I set a custom thumbnail to the main album? In Gallery2 there was an option in album edit, but I cant find it in Gallery3.
there is a module somewhere which allows you manage album covers
otherwise, when on sub-level you can choose any item to be album cover from context menu
One other thing: How do I change the banner URL? Can I do that in css or does that need to be done in a php file? If so, can I copy that file to a special directory like I did with the custom.css file?
not via CSS
you can create header.html.php in custom/views folder and put any html you want there along with suppressing "#g-logo" by entering something like " " into Header Text field
Yes I understand the first part, but I was just using that to include information about how clicking the "intermediate" popup image would then allow the full sized image to show without any watermarks.
I do remember that now distinctly. You would click the thumb, then you get the "intermediate" image. Then if you clicked it again, it would give you the final image without watermarks, and the final image would sort of slide out to the left and upper corner--to show you it was giving you the full sized image.
It was an option you set in admin to allow only registered users see the full sized image. Otherwise, you would only see the "intermediate" image with watermarks.
Please remember!!! It was a great tool.
Serge D wrote:
dwdallam wrote:
I just updated GD from a really old version. I remember that you could set one of the image "boxes" (or maybe all of them, but definitely Fancybox) to show the popup image,
Use Fancybox, Colorbox or Shadowbox
if you want popup when clicking thumbnail, set "Disable Photo Page (use Slideshow Mode)"
dwdallam wrote:
and then if you clicked it again, it would give you a full sized version without any watermarks--but only for people who had accounts and were logged in.
I do not think there was ever option like that. In fact, if you do allow full size by permissions, "popup" would have full size image...
Ok thanks for the information. I could probably get it done, but I'm having second thoughts about G3 now. (sorry to say )
So I wanted to post some thoughts and information you might want to look at.
First, the main reason I'm having doubts about keeping up with and developing G3 is that I recently changed my entire website into WorPress.
The reason I did that was initially only to allow me to post tutorials for model posing (I'm a photographer). But then i got into wordPress and found it was incredibly developed and very mature--great documentation and back-end/front-end integration.
Like G3, they have directories where you copy all files to make changes. Please let me explain:
Once you install WorPress, you create a directory in the "themes" directory called "child-theme." The logic is built into WP. That's how it works for all 3rd party themes too. Now you can copy any php or css files into that location and work on them.
Having this type of universal method greatly reduces the time developers, like you, have to spend helping people.
The best part--It's all CLEARLY documented in the WordPress repository.
Second, all the plugins, like G3, go into one place. The difference is that you install them and remove them directly from the front end (if you prefer, you can install them like G3 by FTP). You browse the repository of plugins right from the WP front end, install them, and activate them from the front end. Each plugins has install and details right in the front end as a popup.
In essence, everything is perfectly organized. The plugins--like yours do now--all tell you if they are conflicting with each other or not.
Third, the WP website has all of the information you need in one simple location. All of the plugins have their own sub forum in the same location. You can reach each plugin's help forum right from the WP front end, as well. All of them have a link to the their help forum INSIDE WP!
What does all of this mean? It means people spend almost no time looking for the location of help files/forums, and then less time is needed by developers to answer questions.
Last, WP is a "blog" CMS, but it's much more than that because it is so easily customizable. Changing links to banners or anything else can be done in css. Forwarding from your root directory to the index.php in order to show www.yoursite.com/page instead of www.yoursite.com/Gallery3/page is as easy as copying a php file from your WP directory to your root directory and changing one directory name in it. Fully documented and easy to do.
This is it:
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require('./WP/wp-blog-header.php');
?>
All of the comments are added by the developers. The only thing I changed is ./wp-blog-header.php to ./WP/wp-blog-header.php ("WP" directory) DONE!
Well, the reason I am writing was to say one thing. WP, as it is currently, is weak in one area--a gallery!
The best plugin gallery for WP is currently NEXgen Gallery and it's helpers.
The problem is that the built in WP gallery function is very weak in that it is hard to manage galleries and you have very little control of them. In the next update, the developers are supposedly going implement most of the suggestions to improve the WP gallery option. I suspect it will be more like NEXgen Gallery plug in.
Last, and to bring all of this to a conclusion are these final points:
(1) WP does all of the permissions for galleries. That's very mature and easy to use. You can password protect "pages" where the galleries reside using an easy method in the front end. So you don't need any permissions with any development of a gallery for WP (although some do).
(2) All galleries in WP are integrated in the WP directory--that is, embedded--unlike having to link to an external gallery database.
(3) If you learn the WP front end, then you automatically understand any gallery plugin method. This means only one system to learn and keep up with.
(4) You get image gallery and also a full fledged CMS complete with form mails, spam protection (in many forms including AKISMET) all in one place.
So, I'm saying that although G3 is a great piece of software, I'm having a hard time justifying anymore of my time keeping up with it and trying to modify it when I can use WP to do the same thing, and much easier really.
The only thing keeping me from going 100% WP is that it does not have a fully robust built in gallery and relies on gallery plugins. I'm almost positive that the WP/gallery plugins can handle everything, but it's not as robust as G3 is (Although it is easier to modify) and so I am not moving yet.
What do you think about all of this? Would you be interested in developing a WP plugin gallery? I wouldn't make any decisions until the next version of WP comes out so we can see what it's new gallery function looks like. But I'm sure there will be many needs for Gallery plugins.
At the very least, you may want to install WP and have a look at it.
(Yes you can password protect individual pages where the galleries are!!! That's built into WP.)
Looking forward to your ideas.
Serge D wrote:
dwdallam wrote:
One other thing: How do I change the banner URL? Can I do that in css or does that need to be done in a php file? If so, can I copy that file to a special directory like I did with the custom.css file?
not via CSS
you can create header.html.php in custom/views folder and put any html you want there along with suppressing "#g-logo" by entering something like " " into Header Text field
WordPress.org is the official site.
WordPress.com is the site for hosting WordPress is you prefer to use that instead of your own host--my host supports WP from cPanel. This is only a HOSTING site. All information is at the .org site.
On my site I have some albums which have no images, only sub-albums, to group the galleries by a specific theme. So I need to set an image to the Main Album, to help identify the galleries inside, the problem is that Gallery3 gets an image from the first sub-album, and set it as the Main Album image. I want to know it is possible to choose the image.
Best Regards
Feliz
This is easy. Create an album under any other album and upload only images you want for the album cover--if you don't want any that are.
ex:
Main Album
-Sub Album (crate an album here for album covers)
Then hide the album with album covers using Admin permissions (you don't need to hide it is you don't want to). You can now use any images from the hidden album (protected) on the album cover of any higher level album. "choose as album cover" It's kind of unclear but if you have a sub album, you assign a cover to it using the images in it, and then use the cover of that album for the main album.
Serge D
Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2012-06-04 23:49
dwdallam wrote:
Yes I understand the first part, but I was just using that to include information about how clicking the "intermediate" popup image would then allow the full sized image to show without any watermarks.
I do remember that now distinctly. You would click the thumb, then you get the "intermediate" image. Then if you clicked it again, it would give you the final image without watermarks, and the final image would sort of slide out to the left and upper corner--to show you it was giving you the full sized image.
It was an option you set in admin to allow only registered users see the full sized image. Otherwise, you would only see the "intermediate" image with watermarks.
Please remember!!! It was a great tool.
Hm,
still do not believe it was ever supported.
when you allow view of the full size, then page references the full size image, otherwise page references the resize. when displayed in FB popup it is "squished" to fit your screen when in fact image behind is of full size. if you right click and save to the disc then a full size would be saved.
simple click on the image would usually cause to go to the next image and not opening something else
if you in Photo page, clicking on "Full Size" would open just one image instead of slideshow
Ok thanks for the information. I could probably get it done, but I'm having second thoughts about G3 now. (sorry to say )
So I wanted to post some thoughts and information you might want to look at.
I am long-time WP user myself (blog.dragonsoft.us) and I know all advantages of it. even photo gallery (not G3) within
difference is how gallery is maintained in both cases. WP is not designed to be the large size gallery, not yet at least.
Nevertheless, I like WP and is long time proponent of bringing some of the ideas of WP into G3, but bottom line it would not happen unless people like me and you write all necessary modules to replicate functionality over.
To be fair, G3 is not market recognized product and many Host companies do offer it as part of the install. So G3 has the rightful place under the sun
Port G3 as plugin for WP? could have some merit, but would compete with already deployed Gallery support within WP.
Serge, yes, what I did was set the "re-sized" image to 700px and then upload the image which was full sized at 700px. then when I clicked on the 700px popup image, the 700px full sized image would appear--w/o watermarks.
Serge D wrote:
Hm,
still do not believe it was ever supported.
when you allow view of the full size, then page references the full size image, otherwise page references the resize. when displayed in FB popup it is "squished" to fit your screen when in fact image behind is of full size. if you right click and save to the disc then a full size would be saved.
simple click on the image would usually cause to go to the next image and not opening something else
if you in Photo page, clicking on "Full Size" would open just one image instead of slideshow
Hello, I am a new user of GP and I really love your GD theme, I find it's the only theme that gives me what I am looking for. I am wondering if there is anywhere where I can find a "formula" (settings, modules, etc.,) to get it to look like the screen capture in your blog or as close as possible to this demo:
1. Thank you for a wonderful G3 theme!
2. Could you please tell me how to add custom menus to your theme?
3. ...or if that is not possible (i.e. "custom menus"), then how could I add static pages into your theme?
I would like to have some links in G3 "custom menu" that will take my users/visitors to my blog (which is a WP installation).
On the left you will see two links in the sidebar. That's a plugin. You can add anything you want to it, including links.
The module is called "CODE BLOCK."
dwdallam
Joined: 2006-11-19
Posts: 394
Posted: Tue, 2012-06-05 07:30
Serge,
Agreed. I'm glad you are familiar with WP. I thought it was a great system. I'm very impressed with it.
For those reading this discussion on WP:
Serge is right: Not ready for a full gallery ready--yet.
Also, true--G3 will never get like WP because there isn't enough development with G3. G3 have a very small team compared to WP.
Port G3 to Word Press: Yeah, there are lots of threads out there discussing that, but when you think about it, yes, it would just duplicate things and make WP more convoluted. It's not worth it.
It seems that as CMSs evolve, the necessity and time spent on products like G3 come into question. Right now, I'm stuck in the middle becsaue I am now using WP and I want to migrate my photography database to WP also--but like you say, it's not ready for millions of images--yet.
Still I find myself getting sucked into G3 becsaue I believed in it, and it's a challenge figuring it out and fun to help people. But I don't have the time to do both.
I'm glad your keeping your eye on WP though. Have you heard anything about the next update--coming very soon now--and how it improves the WP core gallery functions?
Serge D wrote:
dwdallam wrote:
Ok thanks for the information. I could probably get it done, but I'm having second thoughts about G3 now. (sorry to say )
So I wanted to post some thoughts and information you might want to look at.
I am long-time WP user myself (blog.dragonsoft.us) and I know all advantages of it. even photo gallery (not G3) within
difference is how gallery is maintained in both cases. WP is not designed to be the large size gallery, not yet at least.
Nevertheless, I like WP and is long time proponent of bringing some of the ideas of WP into G3, but bottom line it would not happen unless people like me and you write all necessary modules to replicate functionality over.
To be fair, G3 is not market recognized product and many Host companies do offer it as part of the install. So G3 has the rightful place under the sun
Port G3 as plugin for WP? could have some merit, but would compete with already deployed Gallery support within WP.
On the left you will see two links in the sidebar. That's a plugin. You can add anything you want to it, including links.
The module is called "CODE BLOCK."
dwdallam,
thank you for your suggestion. From the module description I see that "code block" adds more functionality to the sidebar. However, I need to have custom menu in a separate location from the sidebar. My "sidebar" area displays rss links, tag cloud, etc in the "main" area of the gallery layout. What I need it is to place a custom menu in the header of the gallery (next to the logo, for example). I have tried to install "custom_menu" module but it doesn't show any new pages in "grey dragon" theme... I am not sure if that is because I am doing something wrong or the "custom_menu" module is not compatible with Grey Dragon theme...
please, could someone help with adding a "custom menu" to Grey Dragon tutorial?
sash
sash140367
Joined: 2012-06-05
Posts: 5
Posted: Tue, 2012-06-05 14:09
Nevermind about "custom_menu". I've figured it out.
One question still remains, though...
Is it possible to have another "sidebar" in a theme? It looks like that the preinstalled "sidebar" that comes with G3 installation acts as sort of a widget area similar to WordPress. However, in WP you can have a bunch of those "widget areas" in different parts of the page template. For example, header would have "widget-area-1" displaying rss feed and search; main content area would have another widget area displaying meta, adblocks, etc; and footer would have yet another widgetized area displaying comments, recent posts, and so on.
What I am trying to achieve in gallery display is to have a structure something like this:
1. header div: logo | menu | custom-menu | search
2. sub-head div (i.e. div below header): sidebar1: rss-feed | albumtree | tag-cloud | random-image
3. main div: gallery display (rows and columns of albums and photos)
4. sub-main (i.e. div below main): sidebar2: static-pages | random-iamge2 | social-bookmarks
5. footer: copyright-info | login
Serge D
Joined: 2009-06-11
Posts: 2466
Posted: Tue, 2012-06-05 15:47
dwdallam wrote:
Serge, yes, what I did was set the "re-sized" image to 700px and then upload the image which was full sized at 700px. then when I clicked on the 700px popup image, the 700px full sized image would appear--w/o watermarks.
did you confirmed that you can do it now?
if not, as you can see from my explanation, it is exactly what you would have if you allow see full size images from photo pages - when click on "full size" icon on that page your "700px" without watermark would appear while page itself would show resize.
if you expect FB to use resizes, then you would need to adjust the code to do it.
Hello, I am a new user of GP and I really love your GD theme, I find it's the only theme that gives me what I am looking for. I am wondering if there is anywhere where I can find a "formula" (settings, modules, etc.,) to get it to look like the screen capture in your blog or as close as possible to this demo:
I'm glad your keeping your eye on WP though. Have you heard anything about the next update--coming very soon now--and how it improves the WP core gallery functions?
Not much, I am developing custom themes for WP, and I keep an eye on anything new about it. you can find decent amount of Photo Blog themes out there already and if one works for you, then it is always an option. it just different style of presenting data.
Is it possible to have another "sidebar" in a theme?
No, G3 is single "barred". I have made few requests for it in the past, but without much luck to get any attention from core team.
sound your desire by commenting on the case in tracking system.
Is it possible to have another "sidebar" in a theme?
No, G3 is single "barred". I have made few requests for it in the past, but without much luck to get any attention from core team.
sound your desire by commenting on the case in tracking system.
1. is it possible to insert, let's say a "random-image module" code straight into the page.template.php (similar to shortcode of WP or otherwise)?
2. once again, Grey Dragon is an awesome theme. thank you, thank you, thank you!!!
sash
dwdallam
Joined: 2006-11-19
Posts: 394
Posted: Tue, 2012-06-05 23:44
Then you better get busy learning some php and js. This is the problem with G3--it's very stiff when it comes to modifying it like you want. Remember, G3 is a GALLERY not a CMS. If you remember that you will save yourself a lot of headaches--I spend 3 months trying to get G2 like I wanted and finally did somewhat, but gave up due to time restraints.
I think if it weren't for GreyDraon G3 would not have been as popular with it's supporters. GreyDragon really enhances G3.
G3 just isn't set up to easily add menus where you want, or sidebars and columns. You might try ZenPhoto which is a stand alone blog/media-gallery system--and a damn nice one at that. However, it's not as developed as WordPress is. http://www.zenphoto.org/ It does have it's own blog and was specifically a gallery that evolved.
In summary, G3 is a GALLERY specific, and if you need lots of customization, you'll need to do lots of customized html, php, js, and css (Like Serge has done). I know this isn't what you want to hear, but hopefully it will help you make a decision before you have 100s of hours in it only to finally understand that G3 is a GALLERY and does not work well as a CMS system--at all.
With all due respect given to the G3 team, I suggest ZenPhoto because it sounds exactly what you are looking for.
On the left you will see two links in the sidebar. That's a plugin. You can add anything you want to it, including links.
The module is called "CODE BLOCK."
dwdallam,
thank you for your suggestion. From the module description I see that "code block" adds more functionality to the sidebar. However, I need to have custom menu in a separate location from the sidebar. My "sidebar" area displays rss links, tag cloud, etc in the "main" area of the gallery layout. What I need it is to place a custom menu in the header of the gallery (next to the logo, for example). I have tried to install "custom_menu" module but it doesn't show any new pages in "grey dragon" theme... I am not sure if that is because I am doing something wrong or the "custom_menu" module is not compatible with Grey Dragon theme...
please, could someone help with adding a "custom menu" to Grey Dragon tutorial?
sash
floridave
Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2012-06-06 00:19
sash140367 wrote:
2. Could you please tell me how to add custom menus to your theme?
3. ...or if that is not possible (i.e. "custom menus"), then how could I add static pages into your theme?
2. Could you please tell me how to add custom menus to your theme?
3. ...or if that is not possible (i.e. "custom menus"), then how could I add static pages into your theme?
I have most of what I wanted to do working now, thanks to your suggestions about those modules. Well, not all is working but most and that is enough to keep going with G3. The only thing missing is obviously lack of second "widgetized" sidebar in G3. Oh, well. Great many thanks regarding those modules! the biggest problem for me was that I just didn't even know about them. Once you have alerted me to them - it was a breeze. So, thank you, again.
@ dwdallam
thank you for your suggestions. I have tried ZenPhoto a loooong time ago. Didn't like it that much and absolutely loved Gallery2. It was not even a contest, as G2 thoroughly outshined ZenPhoto (at that time). Perhaps I should revisit ZenPhoto. I have been using G2 but recently decided, for the sake of progress, upgrade to G3. I am not impressed with G3 thus far. It does the job, I suppose, but G3 is light years behind the development support that G2 had. Luckily, we live in a technology-driven world, so "light years" is not actually that long.
I am not a PHP/JS developer. I am a photographer. Very few of us, photographers have the know-how of the scripting. So we have to rely on "unofficial" work (modules, themes, etc) and support of other enthusiasts like floridave and Sergei who can do both. I hope G3 team realizes that and helps these folks.
in my opinion, sash.
p.s. for now, I am all set. However, to be honest, in the last week, after upgrade from G2 to G3, I thought sever times of abandoning G3 alltogether. Grey Dragon theme made me stay.
floridave
Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2012-06-06 03:25
Serge,
When you get a chance, if you are updating this version or the next series;
Can you modify the public function get_thumb_element to include the new $item_class (g-movie) in your MY_Theme_view.php
not sure if this has been pointed out before (haven't browsed the last few pages), but this is how my window looks when adding a new album and photos, as seen by the provided attachment.
acydskull
Joined: 2012-06-05
Posts: 2
Posted: Wed, 2012-06-06 05:43
Thank you very much for your reply and all the info.
Kind regards.
dwdallam
Joined: 2006-11-19
Posts: 394
Posted: Wed, 2012-06-06 05:57
Zen has come a long way like WordPress. I looked at Coppermine, Zen, and WordPress years ago and Gallery 2 was an easy choice. Not so any longer though. G2 is light years ahead of G2 in being clean coded though.
sash140367 wrote:
I have most of what I wanted to do working now, thanks to your suggestions about those modules. Well, not all is working but most and that is enough to keep going with G3. The only thing missing is obviously lack of second "widgetized" sidebar in G3. Oh, well. Great many thanks regarding those modules! the biggest problem for me was that I just didn't even know about them. Once you have alerted me to them - it was a breeze. So, thank you, again.
@ dwdallam
thank you for your suggestions. I have tried ZenPhoto a loooong time ago. Didn't like it that much and absolutely loved Gallery2. It was not even a contest, as G2 thoroughly outshined ZenPhoto (at that time). Perhaps I should revisit ZenPhoto. I have been using G2 but recently decided, for the sake of progress, upgrade to G3. I am not impressed with G3 thus far. It does the job, I suppose, but G3 is light years behind the development support that G2 had. Luckily, we live in a technology-driven world, so "light years" is not actually that long.
I am not a PHP/JS developer. I am a photographer. Very few of us, photographers have the know-how of the scripting. So we have to rely on "unofficial" work (modules, themes, etc) and support of other enthusiasts like floridave and Sergei who can do both. I hope G3 team realizes that and helps these folks.
in my opinion, sash.
p.s. for now, I am all set. However, to be honest, in the last week, after upgrade from G2 to G3, I thought sever times of abandoning G3 alltogether. Grey Dragon theme made me stay.
dwdallam
Joined: 2006-11-19
Posts: 394
Posted: Wed, 2012-06-06 06:01
Hey guys, I'll be bowing out now because I have G3 as good as I am going to get it. I think it will serve me transitioning into WordPress from here out. (WordPress will eventually have a full slung gallery at some point. I think for my needs, I can make it word now for my main gallery app. but I'll be leaving G3 up until I completely test it.
Thanks for all the help and I hope I have at least given back a little to the group. I learned a lot here that helped me get WP up and running really fast. This is a great community of involved and knowledgeable people.
Good luck with GD and G3 all!
windracer
Joined: 2007-03-05
Posts: 113
Posted: Wed, 2012-06-06 11:55
Shemo725 wrote:
not sure if this has been pointed out before (haven't browsed the last few pages), but this is how my window looks when adding a new album and photos, as seen by the provided attachment.
It has been brought up, but I'm still having the same problem too (but intermittently) It has something to do with CSS. The last fix (I think) was to use ".ui-dialog .ui-dialog-content {clear:both; }" (I put this in my custom.css so as to not modify the delivered greydragon files).
Serge D
Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2012-06-06 15:57
floridave wrote:
Serge,
When you get a chance, if you are updating this version or the next series;
Can you modify the public function get_thumb_element to include the new $item_class (g-movie) in your MY_Theme_view.php
I could, what is the logic to determine if item is the g-movie?
not sure if this has been pointed out before (haven't browsed the last few pages), but this is how my window looks when adding a new album and photos, as seen by the provided attachment.
As I switched to a HTML 5 there may be some issues with dialogs
What browser do you see it with?
Posts: 2466
mmm, no. it would mean either inline CSS or CSS server. do not want to do that just yet
Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter
Posts: 11
Thanks a lot, Shad! I don't have the time to implement that right now, but I will soon.
@Serge Yes, I'd vote for such an option, too, of course. Thanks for the great theme.
Posts: 154
Thank you Serge for your great work.
I wish customize browser tab title and add the album title to the photo title.
example:
album title : Venice
photo title : Gondola
new photo title : Venice - Gondola
I have identified these in page.html.it of GreyDragon theme but I do not know what to do
Can you help me to edit this code?
My site http://www.alefoto.it/photo/
Posts: 11
@Shad Hm, I implemented that now and double-checked that it looks like you wrote above, but it didn't do the trick for me.
I disabled, saved then reenabled and saved extended aspect ratio to make sure some "dirty flag" that might be present is set. Then I rebuilt all thumbnails, but they look just the same as they did before, i.e. protrait thumbnails are as wide as the thumbnail width and are cut at the top and at the bottom.
Is there something else I have to do to make this work?
Thanks, Christian
Posts: 183
Sorry, I didn't mention: what do you have the "aspect ratio" dropdown set to?
The mod I posted only works if the aspect ratio is left as "Actual" (whose actual value is the "photo" option you see in the code). If you'd like something else, you can hack the code a bit different. The key is you want to run the line $rule = Image::AUTO; and not $rule = Image::WIDTH;.
Take care,
Shad
Posts: 11
Hm, it was set to actual.
I now looked into the database and found that in the thumb rule in the gallery_rules table, master was set to 4, which is Image::WIDTH, so it couldn't have worked.
A deeper look into the code of admin_theme_options.php told me that this rule is only rewritten if the rebuild thumbnails option is checked. I expected that the rule would always be rewritten (i.e. new thumbnails would be created in the new way after the setting is changed), and setting the rebuild thumbnails option would only flag them for rebuilding, nothing else. I probably first set the rebuild thumbnails option and later changed the thumbnail size options to my desried values before I actually started the rebuild process.
@Serge: Is there a good reason why the thumb rule is only updated if rebuild thumbs option is also checked?
Posts: 11
Yay, it works now, thanks Shad.
Posts: 394
Serge,
I just don't know how else to start to figure this problem out, so I'm asking you.
Lately I've redone my entire website using WordPress. One of the plugins for a gallery uses something called "Shutter" for a "Fancybox" like animation. What I have found though is that the WordPress gallery plugin (not related to G3) allows browsers to dynamically resize the window when the image exceeds the window dimensions.
Edit:
I figured this out. It was the effect's allowing it. I installed Fancybox and now it 3works just like I wanted it too!
Posts: 2466
Because it is very expensive operation as thumbs need to be rebuild
Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter
Posts: 11
Ah, so setting the thumb rule is what flags the thumbs as "rebuild required"? Ok, then it makes sense, of course.
I thought these were different operations, like if the thumb rule is changed, all newly uploaded pictures will get thumbs according to that rule, and only if they were set to "rebuild required" in a seperate operation, they would be rebuilt.
Posts: 394
Two things here:
(1) I've forgotten how thumbnail sizes work in GD. Can you refresh me? I looked all over and in options, but can't find that option. I'm thinking I did it with css somehow. lol
--------
I found it--either 200px or 300px.
--------
(2) I was thinking it might be a good idea to have the option to dynamically scale thumbnails.
Ex:
You have a static sized page (e.g., 1000px)
You want 5 columns but the size of your theme (css) won't allow it, unless the theme can dynamically resize the thumbnails.
Solution: Allow as many thumbnails on the page with a set thumbnail minimum size.
Example of Solution:
Static page width = 1000px
(1) At a 200 pixels longest edge thumbnail size, only 4 columns are possible--taking into consideration that the sidebar takes up 200px.
(2) Theme would dynamically resize the thumbnails to fit 4 columns given user "minimum thumbnail width (e.g. 100px widest side).
Posts: 394
Serge,
I just updated GD from a really old version. I remember that you could set one of the image "boxes" (or maybe all of them, but definitely Fancybox) to show the popup image, and then if you clicked it again, it would give you a full sized version without any watermarks--but only for people who had accounts and were logged in.
Do you remember that?
It was really helpful because I could use watermarks for the general public and then clients could click the popup image, and get the final version (no matter what it's size was) without the water marks.
Did you take that option out?
ty
Posts: 30
Serge
Once more congratulations for you great Theme.
I have two small issues that I can't find a solution in the forums, so I hope you could point me the right direction. One is related with your theme Grey Dragon, the other is more related with Gallery3 in general.
#1 - I want to change the Album Title font only, and remove the symbol before the title(see Example.gif). I´m not very experienced in CSS and PHP, so can you please tell me what to change, or add to my custom css?
#2 - In my gallery I have a main album (with no photos in it, only sub-albuns), as you can see here:
http://www.nunofeliz.com/gallery/main.php?g2_itemId=81911&g2_GALLERYSID=a10c09915402132c9f0598498c7717c8
How can I set a custom thumbnail to the main album? In Gallery2 there was an option in album edit, but I cant find it in Gallery3.
Best Regards
Nuno Feliz
Posts: 394
One other thing: How do I change the banner URL? Can I do that in css or does that need to be done in a php file? If so, can I copy that file to a special directory like I did with the custom.css file?
Posts: 394
I don't currently see any Gallery Title nor do I see the folder img you want to take out of the thumbnails.
Please use Firebug to find the css you want (http://getfirebug.com/).
Also, do you have your "custom.css" file set up yet?
I found the folder image you want to take out. comment out the "background: url":
.g-album .g-thumbslide .g-description {
background: url("http://www.dwdallam.com/G3_DWDALLAM/themes/greydragon/css/colorpacks/greydragon/css/../images/ico-album.png") no-repeat scroll 8px 4px #1E1E1E;
}
Posts: 30
Hi
Dwdallam, thank you for your answer. The icon problem is solved with the custom.css, and the problem was with the Album Description, not the Title. Sorry about that.
For the #2 Issue, maybe I didn't explained well, but english is not my natural language. Here is a better explanation to the problem.
In Gallery2 when you edit an album, there is an option where you can choose any image, even in your hard disk, to be the album cover.
On my site I have some albums which have no images, only sub-albums, to group the galleries by a specific theme. So I need to set an image to the Main Album, to help identify the galleries inside, the problem is that Gallery3 gets an image from the first sub-album, and set it as the Main Album image. I want to know it is possible to choose the image.
Best Regards
Feliz
Posts: 2466
yes, you are correct
use flexible column layout, set fixed width of the gallery (see FAQ).
there is a possibility to use "sliding doors" technique and develop new framepack which would override default CSS, thumb background, etc. In fact, iPhoto framepack has frame structure override - check frame.html.php file in views folder of the pack.
if you succeed with that, please share as I did introduce this option exactly for that reason.
Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter
Posts: 2466
Use Fancybox, Colorbox or Shadowbox
if you want popup when clicking thumbnail, set "Disable Photo Page (use Slideshow Mode)"
I do not think there was ever option like that. In fact, if you do allow full size by permissions, "popup" would have full size image...
Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter
Posts: 2466
there is a module somewhere which allows you manage album covers
otherwise, when on sub-level you can choose any item to be album cover from context menu
Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter
Posts: 2466
not via CSS
you can create header.html.php in custom/views folder and put any html you want there along with suppressing "#g-logo" by entering something like " " into Header Text field
Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter
Posts: 394
Yes I understand the first part, but I was just using that to include information about how clicking the "intermediate" popup image would then allow the full sized image to show without any watermarks.
I do remember that now distinctly. You would click the thumb, then you get the "intermediate" image. Then if you clicked it again, it would give you the final image without watermarks, and the final image would sort of slide out to the left and upper corner--to show you it was giving you the full sized image.
It was an option you set in admin to allow only registered users see the full sized image. Otherwise, you would only see the "intermediate" image with watermarks.
Please remember!!! It was a great tool.
Posts: 394
Ok thanks for the information. I could probably get it done, but I'm having second thoughts about G3 now. (sorry to say )
So I wanted to post some thoughts and information you might want to look at.
First, the main reason I'm having doubts about keeping up with and developing G3 is that I recently changed my entire website into WorPress.
The reason I did that was initially only to allow me to post tutorials for model posing (I'm a photographer). But then i got into wordPress and found it was incredibly developed and very mature--great documentation and back-end/front-end integration.
Like G3, they have directories where you copy all files to make changes. Please let me explain:
Once you install WorPress, you create a directory in the "themes" directory called "child-theme." The logic is built into WP. That's how it works for all 3rd party themes too. Now you can copy any php or css files into that location and work on them.
Having this type of universal method greatly reduces the time developers, like you, have to spend helping people.
The best part--It's all CLEARLY documented in the WordPress repository.
Second, all the plugins, like G3, go into one place. The difference is that you install them and remove them directly from the front end (if you prefer, you can install them like G3 by FTP). You browse the repository of plugins right from the WP front end, install them, and activate them from the front end. Each plugins has install and details right in the front end as a popup.
In essence, everything is perfectly organized. The plugins--like yours do now--all tell you if they are conflicting with each other or not.
Third, the WP website has all of the information you need in one simple location. All of the plugins have their own sub forum in the same location. You can reach each plugin's help forum right from the WP front end, as well. All of them have a link to the their help forum INSIDE WP!
What does all of this mean? It means people spend almost no time looking for the location of help files/forums, and then less time is needed by developers to answer questions.
Last, WP is a "blog" CMS, but it's much more than that because it is so easily customizable. Changing links to banners or anything else can be done in css. Forwarding from your root directory to the index.php in order to show www.yoursite.com/page instead of www.yoursite.com/Gallery3/page is as easy as copying a php file from your WP directory to your root directory and changing one directory name in it. Fully documented and easy to do.
This is it:
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require('./WP/wp-blog-header.php');
?>
All of the comments are added by the developers. The only thing I changed is ./wp-blog-header.php to ./WP/wp-blog-header.php ("WP" directory) DONE!
Well, the reason I am writing was to say one thing. WP, as it is currently, is weak in one area--a gallery!
The best plugin gallery for WP is currently NEXgen Gallery and it's helpers.
The problem is that the built in WP gallery function is very weak in that it is hard to manage galleries and you have very little control of them. In the next update, the developers are supposedly going implement most of the suggestions to improve the WP gallery option. I suspect it will be more like NEXgen Gallery plug in.
Last, and to bring all of this to a conclusion are these final points:
(1) WP does all of the permissions for galleries. That's very mature and easy to use. You can password protect "pages" where the galleries reside using an easy method in the front end. So you don't need any permissions with any development of a gallery for WP (although some do).
(2) All galleries in WP are integrated in the WP directory--that is, embedded--unlike having to link to an external gallery database.
(3) If you learn the WP front end, then you automatically understand any gallery plugin method. This means only one system to learn and keep up with.
(4) You get image gallery and also a full fledged CMS complete with form mails, spam protection (in many forms including AKISMET) all in one place.
So, I'm saying that although G3 is a great piece of software, I'm having a hard time justifying anymore of my time keeping up with it and trying to modify it when I can use WP to do the same thing, and much easier really.
The only thing keeping me from going 100% WP is that it does not have a fully robust built in gallery and relies on gallery plugins. I'm almost positive that the WP/gallery plugins can handle everything, but it's not as robust as G3 is (Although it is easier to modify) and so I am not moving yet.
What do you think about all of this? Would you be interested in developing a WP plugin gallery? I wouldn't make any decisions until the next version of WP comes out so we can see what it's new gallery function looks like. But I'm sure there will be many needs for Gallery plugins.
At the very least, you may want to install WP and have a look at it.
In the mean time, here is my new site done in WP.
This is the main site:
http://dwdallam.com
You can browse to a gallery I set up by going to this page:
http://dwdallam.com/client/private/
Password: kush
(Yes you can password protect individual pages where the galleries are!!! That's built into WP.)
Looking forward to your ideas.
Posts: 394
Oh one thing you should know:
WordPress.org is the official site.
WordPress.com is the site for hosting WordPress is you prefer to use that instead of your own host--my host supports WP from cPanel. This is only a HOSTING site. All information is at the .org site.
Posts: 394
Check this out too:
http://wpdevel.wordpress.com/
developer blog.
Posts: 394
This is easy. Create an album under any other album and upload only images you want for the album cover--if you don't want any that are.
ex:
Main Album
-Sub Album (crate an album here for album covers)
Then hide the album with album covers using Admin permissions (you don't need to hide it is you don't want to). You can now use any images from the hidden album (protected) on the album cover of any higher level album. "choose as album cover" It's kind of unclear but if you have a sub album, you assign a cover to it using the images in it, and then use the cover of that album for the main album.
Posts: 2466
Hm,
still do not believe it was ever supported.
when you allow view of the full size, then page references the full size image, otherwise page references the resize. when displayed in FB popup it is "squished" to fit your screen when in fact image behind is of full size. if you right click and save to the disc then a full size would be saved.
simple click on the image would usually cause to go to the next image and not opening something else
if you in Photo page, clicking on "Full Size" would open just one image instead of slideshow
Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter
Posts: 2466
I am long-time WP user myself (blog.dragonsoft.us) and I know all advantages of it. even photo gallery (not G3) within
difference is how gallery is maintained in both cases. WP is not designed to be the large size gallery, not yet at least.
Nevertheless, I like WP and is long time proponent of bringing some of the ideas of WP into G3, but bottom line it would not happen unless people like me and you write all necessary modules to replicate functionality over.
To be fair, G3 is not market recognized product and many Host companies do offer it as part of the install. So G3 has the rightful place under the sun
Port G3 as plugin for WP? could have some merit, but would compete with already deployed Gallery support within WP.
Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter
Posts: 394
Serge, yes, what I did was set the "re-sized" image to 700px and then upload the image which was full sized at 700px. then when I clicked on the 700px popup image, the 700px full sized image would appear--w/o watermarks.
Posts: 2
Hello, I am a new user of GP and I really love your GD theme, I find it's the only theme that gives me what I am looking for. I am wondering if there is anywhere where I can find a "formula" (settings, modules, etc.,) to get it to look like the screen capture in your blog or as close as possible to this demo:
http://photo.dragonsoft.us/
Many thanks in advance.
Posts: 5
Serge.
1. Thank you for a wonderful G3 theme!
2. Could you please tell me how to add custom menus to your theme?
3. ...or if that is not possible (i.e. "custom menus"), then how could I add static pages into your theme?
I would like to have some links in G3 "custom menu" that will take my users/visitors to my blog (which is a WP installation).
sash
Posts: 394
Sash
See my G3 here:
http://www.dwdallam.com/G3_DWDALLAM/
On the left you will see two links in the sidebar. That's a plugin. You can add anything you want to it, including links.
The module is called "CODE BLOCK."
Posts: 394
Serge,
Agreed. I'm glad you are familiar with WP. I thought it was a great system. I'm very impressed with it.
For those reading this discussion on WP:
Serge is right: Not ready for a full gallery ready--yet.
Also, true--G3 will never get like WP because there isn't enough development with G3. G3 have a very small team compared to WP.
Port G3 to Word Press: Yeah, there are lots of threads out there discussing that, but when you think about it, yes, it would just duplicate things and make WP more convoluted. It's not worth it.
It seems that as CMSs evolve, the necessity and time spent on products like G3 come into question. Right now, I'm stuck in the middle becsaue I am now using WP and I want to migrate my photography database to WP also--but like you say, it's not ready for millions of images--yet.
Still I find myself getting sucked into G3 becsaue I believed in it, and it's a challenge figuring it out and fun to help people. But I don't have the time to do both.
I'm glad your keeping your eye on WP though. Have you heard anything about the next update--coming very soon now--and how it improves the WP core gallery functions?
Posts: 5
dwdallam,
thank you for your suggestion. From the module description I see that "code block" adds more functionality to the sidebar. However, I need to have custom menu in a separate location from the sidebar. My "sidebar" area displays rss links, tag cloud, etc in the "main" area of the gallery layout. What I need it is to place a custom menu in the header of the gallery (next to the logo, for example). I have tried to install "custom_menu" module but it doesn't show any new pages in "grey dragon" theme... I am not sure if that is because I am doing something wrong or the "custom_menu" module is not compatible with Grey Dragon theme...
please, could someone help with adding a "custom menu" to Grey Dragon tutorial?
sash
Posts: 5
Nevermind about "custom_menu". I've figured it out.
One question still remains, though...
Is it possible to have another "sidebar" in a theme? It looks like that the preinstalled "sidebar" that comes with G3 installation acts as sort of a widget area similar to WordPress. However, in WP you can have a bunch of those "widget areas" in different parts of the page template. For example, header would have "widget-area-1" displaying rss feed and search; main content area would have another widget area displaying meta, adblocks, etc; and footer would have yet another widgetized area displaying comments, recent posts, and so on.
What I am trying to achieve in gallery display is to have a structure something like this:
1. header div: logo | menu | custom-menu | search
2. sub-head div (i.e. div below header): sidebar1: rss-feed | albumtree | tag-cloud | random-image
3. main div: gallery display (rows and columns of albums and photos)
4. sub-main (i.e. div below main): sidebar2: static-pages | random-iamge2 | social-bookmarks
5. footer: copyright-info | login
Posts: 2466
did you confirmed that you can do it now?
if not, as you can see from my explanation, it is exactly what you would have if you allow see full size images from photo pages - when click on "full size" icon on that page your "700px" without watermark would appear while page itself would show resize.
if you expect FB to use resizes, then you would need to adjust the code to do it.
Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter
Posts: 2466
admin settings are as below
And CSS
Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter
Posts: 2466
Not much, I am developing custom themes for WP, and I keep an eye on anything new about it. you can find decent amount of Photo Blog themes out there already and if one works for you, then it is always an option. it just different style of presenting data.
Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter
Posts: 2466
No, G3 is single "barred". I have made few requests for it in the past, but without much luck to get any attention from core team.
sound your desire by commenting on the case in tracking system.
Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter
Posts: 5
Serge,
thank you for your reply. I think I saw your comment on Gallery3 codex (http://sourceforge.net/apps/trac/gallery/ticket/1079 and http://sourceforge.net/apps/trac/gallery/timeline?from=2010-03-13T19%3A59%3A52Z%2B0000&precision=second). That's too bad for G3 core team.
as a work-around:
1. is it possible to insert, let's say a "random-image module" code straight into the page.template.php (similar to shortcode of WP or otherwise)?
2. once again, Grey Dragon is an awesome theme. thank you, thank you, thank you!!!
sash
Posts: 394
Then you better get busy learning some php and js. This is the problem with G3--it's very stiff when it comes to modifying it like you want. Remember, G3 is a GALLERY not a CMS. If you remember that you will save yourself a lot of headaches--I spend 3 months trying to get G2 like I wanted and finally did somewhat, but gave up due to time restraints.
I think if it weren't for GreyDraon G3 would not have been as popular with it's supporters. GreyDragon really enhances G3.
G3 just isn't set up to easily add menus where you want, or sidebars and columns. You might try ZenPhoto which is a stand alone blog/media-gallery system--and a damn nice one at that. However, it's not as developed as WordPress is. http://www.zenphoto.org/ It does have it's own blog and was specifically a gallery that evolved.
In summary, G3 is a GALLERY specific, and if you need lots of customization, you'll need to do lots of customized html, php, js, and css (Like Serge has done). I know this isn't what you want to hear, but hopefully it will help you make a decision before you have 100s of hours in it only to finally understand that G3 is a GALLERY and does not work well as a CMS system--at all.
With all due respect given to the G3 team, I suggest ZenPhoto because it sounds exactly what you are looking for.
Posts: 27300
Enable the "Show Main Menu for Guest Users" on the theme settings and use one of the following modules:
http://codex.gallery2.org/Gallery3:Modules:custom_menus
http://codex.gallery2.org/Gallery3:Modules:menu_links
to link to your page:
http://codex.gallery2.org/Gallery3:Modules:Pages
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 5
I have most of what I wanted to do working now, thanks to your suggestions about those modules. Well, not all is working but most and that is enough to keep going with G3. The only thing missing is obviously lack of second "widgetized" sidebar in G3. Oh, well. Great many thanks regarding those modules! the biggest problem for me was that I just didn't even know about them. Once you have alerted me to them - it was a breeze. So, thank you, again.
@ dwdallam
thank you for your suggestions. I have tried ZenPhoto a loooong time ago. Didn't like it that much and absolutely loved Gallery2. It was not even a contest, as G2 thoroughly outshined ZenPhoto (at that time). Perhaps I should revisit ZenPhoto. I have been using G2 but recently decided, for the sake of progress, upgrade to G3. I am not impressed with G3 thus far. It does the job, I suppose, but G3 is light years behind the development support that G2 had. Luckily, we live in a technology-driven world, so "light years" is not actually that long.
I am not a PHP/JS developer. I am a photographer. Very few of us, photographers have the know-how of the scripting. So we have to rely on "unofficial" work (modules, themes, etc) and support of other enthusiasts like floridave and Sergei who can do both. I hope G3 team realizes that and helps these folks.
in my opinion, sash.
p.s. for now, I am all set. However, to be honest, in the last week, after upgrade from G2 to G3, I thought sever times of abandoning G3 alltogether. Grey Dragon theme made me stay.
Posts: 27300
Serge,
When you get a chance, if you are updating this version or the next series;
Can you modify the public function get_thumb_element to include the new $item_class (g-movie) in your MY_Theme_view.php
Cheers!
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 424
Serge,
not sure if this has been pointed out before (haven't browsed the last few pages), but this is how my window looks when adding a new album and photos, as seen by the provided attachment.
Posts: 2
Thank you very much for your reply and all the info.
Kind regards.
Posts: 394
Zen has come a long way like WordPress. I looked at Coppermine, Zen, and WordPress years ago and Gallery 2 was an easy choice. Not so any longer though. G2 is light years ahead of G2 in being clean coded though.
Posts: 394
Hey guys, I'll be bowing out now because I have G3 as good as I am going to get it. I think it will serve me transitioning into WordPress from here out. (WordPress will eventually have a full slung gallery at some point. I think for my needs, I can make it word now for my main gallery app. but I'll be leaving G3 up until I completely test it.
Thanks for all the help and I hope I have at least given back a little to the group. I learned a lot here that helped me get WP up and running really fast. This is a great community of involved and knowledgeable people.
Good luck with GD and G3 all!
Posts: 113
It has been brought up, but I'm still having the same problem too (but intermittently) It has something to do with CSS. The last fix (I think) was to use ".ui-dialog .ui-dialog-content {clear:both; }" (I put this in my custom.css so as to not modify the delivered greydragon files).
Posts: 2466
I could, what is the logic to determine if item is the g-movie?
Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter
Posts: 2466
As I switched to a HTML 5 there may be some issues with dialogs
What browser do you see it with?
Edit: Try fix above
Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter