Is there a way to change the size of thumbnails? I'm setting the size in "advanced" checking "mark all thumbnails for resize" and initiating in "maintenance" but nothing is happening. Thumbnails are always one size.
Also, someone above mentioned allowing square thumbs that would not change the aspect ratio, but simply crop the image to fit in a square. Any plans to implement that?
what do you mean by changing thumb size?
there are two ways of doing so:
* changing thumb aspect ratio via admin panel
* modifying code (mentioned above) to increase/decrease thumb image dimentions and then changing aspect ratio to trigger rules changes
* marking for rebuild/rebuild
buzzz
Joined: 2010-12-12
Posts: 6
Posted: Sun, 2010-12-12 19:53
undagiga wrote:
2. I have two G3 installations that I am experimenting with. In one of them, I can't change the Greydragon settings. They seem to change when I press the save settings button, but nothing happens, and when I return to the theme settings page, they haven't changed. I can't even reset the theme to the default state. Is this because I once changed something using "Advanced Settings"? Where are the settings stored and how can I fix this?
U-G
Hi,
I have the same problem too.
Tried on a completely new installation (only with required modules) and have the same problem. After pressing the "Save changes", I received the settings page without the correct layout and none of the settings are saved. I also tried with the setting "favicon_url" and "show_credits" => the reading of the value works but not the writing (tested by changing it in the Settings\Advanced page.
Nothing found in the logs of the server nor the Gallery one.
Information:
Server OS: CentOS
Web Server: LAMPP 1.7.3a (PHP 5.3.1, MySQL 5.1)
Theme Grey Dragon: 2.6.1
The Grey Dragon Wind Theme settings applies fine on the same installations.
Thank you,
Michel
Serge D
Joined: 2009-06-11
Posts: 2436
Posted: Sun, 2010-12-12 19:57
undagiga wrote:
1. In another thread <http://gallery.menalto.com/node/99646> I received advice about speeding up G3. It was suggested that I combine the separate css and js files that various modules are installing. However Firebug indicated that almost all of these were coming from the combination of Greydragon and Fancybox. Have you considered ways to combine these and have them load faster?
I started to work on this, but run into instability of the caching code. I am working on different approach
In general, I do not see it as a big optimization. GD Theme loads up-to-3 css in the main thread. main css then would span loading of necessary extra.
I would say that it is not number of files which are loaded what matters, as they are loaded in parallel, but that they are not compressed.
As I would have stable solution, it would be included.
undagiga wrote:
2. I have two G3 installations that I am experimenting with. In one of them, I can't change the Greydragon settings. They seem to change when I press the save settings button, but nothing happens, and when I return to the theme settings page, they haven't changed. I can't even reset the theme to the default state. Is this because I once changed something using "Advanced Settings"? Where are the settings stored and how can I fix this?
Look in Settings->Advanced section for th_greydragon group
I cannot imagine why or what would prevent saving all the settings on just one installation. Anything in error log right after saving it?
Serge D
Joined: 2009-06-11
Posts: 2436
Posted: Sun, 2010-12-12 19:58
buzzz wrote:
I have the same problem too.
Tried on a completely new installation (only with required modules) and have the same problem. After pressing the "Save changes", I received the settings page without the correct layout and none of the settings are saved. I also tried with the setting "favicon_url" and "show_credits" => the reading of the value works but not the writing (tested by changing it in the Settings\Advanced page.
Nothing found in the logs of the server nor the Gallery one.
any particular setting or just any?
buzzz
Joined: 2010-12-12
Posts: 6
Posted: Sun, 2010-12-12 20:11
Serge D wrote:
Look in Settings->Advanced section for th_greydragon group
I cannot imagine why or what would prevent saving all the settings on just one installation. Anything in error log right after saving it?
For me, no settings from the module th_greydragon, that's why I tried with the settings from the Gallery module but none can be changed.
Serge D wrote:
any particular setting or just any?
None of the settings I tried (most of the possible) changed (tried the reset too).
Tried with FF, IE8, IE8+CM
undagiga
Joined: 2010-11-26
Posts: 643
Posted: Sun, 2010-12-12 22:49
Further clarification. I discovered that I have this problem in both my G3 installations. So I have the same problem as buzzz. In all my installations, any edits I do in "Admin | Appearance | Theme Options" aren't saved. This appears to be true for all the fields in Theme Options. Changes that I make in advanced settings are saved, but only a few options can be changed this way. I attach a G3 log file from yesterday, which seems to have some Greydragon related errors. I'm going to downgrade to see if this problem happens in an earlier version of the theme.
SergeD wrote:
I started to work on this, but run into instability of the caching code. I am working on different approach
In general, I do not see it as a big optimization. GD Theme loads up-to-3 css in the main thread. main css then would span loading of necessary extra.
I would say that it is not number of files which are loaded what matters, as they are loaded in parallel, but that they are not compressed.
As I would have stable solution, it would be included.
I am probably less concerned about the speed of the initial load and more concerned about the speed of moving from page to page. Hence my interest in preloading. Firebug also warns that various files don't have expiration dates set. I'd have thought that effective caching of files that are required for every page would be adequate, rather than going to a lot of effort to combine them.
For me, no settings from the module th_greydragon, that's why I tried with the settings from the Gallery module but none can be changed.
have no idea, sorry
Serge D
Joined: 2009-06-11
Posts: 2436
Posted: Mon, 2010-12-13 02:19
undagiga wrote:
Further clarification. I discovered that I have this problem in both my G3 installations.
...
From attachment - I suspect problem with your theme's location.
Error recorded in the file is in this line $theme_info = new ArrayObject(parse_ini_file(THEMEPATH . "$theme_id/theme.info"), ArrayObject::ARRAY_AS_PROPS);
This indicates that folder structure for the theme's location is incorrect - THEMEPATH . "$theme_id/theme.info" - and theme.info is not located in themes/greydragon/ folder.
Please make sure that you have proper folder structure and no leftovers are present - clean upload is suggested.
As for caching - you can potentially use page expiration option from admin section to keep cache for 60 seconds.
this is page expiration, since CSS is not dynamic for the page, browser should have kept cached version of the same theme's css files.
I have not tried to do any other caching... Suggestions?
undagiga
Joined: 2010-11-26
Posts: 643
Posted: Mon, 2010-12-13 02:42
Serge D wrote:
From attachment - I suspect problem with your theme's location.
Error recorded in the file is in this line $theme_info = new ArrayObject(parse_ini_file(THEMEPATH . "$theme_id/theme.info"), ArrayObject::ARRAY_AS_PROPS);
This indicates that folder structure for the theme's location is incorrect - THEMEPATH . "$theme_id/theme.info" - and theme.info is not located in themes/greydragon/ folder.
Please make sure that you have proper folder structure and no leftovers are present - clean upload is suggested.
I double-checked and I'm fairly sure that the theme is in the right place. I had already tried a clean upload. I've just remembered that I did unintentionally upload a clean upload to "themes/greydragon-2.6.1" before I realised that this would not work, and corrected the folder name. So these errors in the log file may be misleading and probably are not related to the problem that buzzz & I are having. Sorry.
I have been able to edit the theme options before - on both installations. This problem has only emerged since upgrading to either 2.6.0 or 2.6.1. It's like there is a small but subtle typo in one of the latest versions. I am about to try downgrading in order to test this.
U-G
undagiga
Joined: 2010-11-26
Posts: 643
Posted: Mon, 2010-12-13 02:55
There is a problem somewhere in admin_theme_options.php. I just replaced the copy in one of my 2.6.1 installations with the 2.6.0 copy, and it now works. Changes are now saved. I've used a file comparison utility and I can't spot what might be causing the problem, but will keep looking.
Re caching, I don't profess expertise in this area, other than a bit of simple javascipt-based preloading. I am only really reporting what Firebug and Google Page Speed are saying. Is it possible to put something in the header?
U-G
dwdallam
Joined: 2006-11-19
Posts: 394
Posted: Tue, 2010-12-14 10:27
deleted
dwdallam
Joined: 2006-11-19
Posts: 394
Posted: Mon, 2010-12-13 06:04
deleted
dwdallam
Joined: 2006-11-19
Posts: 394
Posted: Mon, 2010-12-13 06:41
Serge, I think I asked this before. How can we open images directly into shadowbox/fancybox from an album's thumbnails? I think that would be really cool. See, you would have all the thumbnails in front of you, and clicking on one would open an image over the top of the others. Very easy to navigate for people.
Also, I am getting the same problem as people above. I cannot save my Theme Options settings. Clicking the save button does not save them.
Serge D
Joined: 2009-06-11
Posts: 2436
Posted: Mon, 2010-12-13 07:08
undagiga wrote:
There is a problem somewhere in admin_theme_options.php. I just replaced the copy in one of my 2.6.1 installations with the 2.6.0 copy, and it now works. Changes are now saved. I've used a file comparison utility and I can't spot what might be causing the problem, but will keep looking.
Re caching, I don't profess expertise in this area, other than a bit of simple javascipt-based preloading. I am only really reporting what Firebug and Google Page Speed are saying. Is it possible to put something in the header?
Do you have rss module enabled?
undagiga
Joined: 2010-11-26
Posts: 643
Posted: Mon, 2010-12-13 08:11
Serge D wrote:
undagiga wrote:
There is a problem somewhere in admin_theme_options.php. I just replaced the copy in one of my 2.6.1 installations with the 2.6.0 copy, and it now works. Changes are now saved. I've used a file comparison utility and I can't spot what might be causing the problem, but will keep looking.
Do you have rss module enabled?
Yes.
Serge D
Joined: 2009-06-11
Posts: 2436
Posted: Mon, 2010-12-13 14:52
There is something strange going on when RSS module disabled
I have made some changes to improve code protection
see attached and let me know if it helped
Edited: Do you have any warnings in admin panel? what version of G3 are you on?
Edited: attachment removed
ajorgereis
Joined: 2008-09-06
Posts: 132
Posted: Mon, 2010-12-13 08:32
Hi, Serge
How to insert an image in the root page?
i have the same problem. latest version of gallery3 (version 41) and i can't save any changes. i also tried the .zip file you attached, makes no difference!
no warnings in the admin panel. i have the RSS module enabled as well.
thanks,
Tom
undagiga
Joined: 2010-11-26
Posts: 643
Posted: Mon, 2010-12-13 11:03
Serge D wrote:
There is something strange going on when RSS module disabled
I have made some changes to improve code protection
see attached and let me know if it helped
Edited: Do you have any warnings in admin panel? what version of G3 are you on?
I am sorry to say that 2.6.2 doesn't work. But it does with the admin_theme_options.php from 2.6.0. Even so, behaviour is different. With 2.6.1, after pressing the save settings button, I was returned to a strange-looking version of the theme options page. With 2.6.2 I was returned to the normal theme options page and the save settings initially seemed to have worked. But when I returned to the gallery, the old settings were still in operation. If I returned to theme options, the old settings are displayed.
There are no warnings in the admin panel. Certainly not in the theme options - I installed all the suggested modules. Nothing in maintenance. Should I look somewhere else?
Should I try without the RSS module? I was going to uninstall it, but was warned that the slideshow required it.
U-G
Serge D
Joined: 2009-06-11
Posts: 2436
Posted: Mon, 2010-12-13 16:43
Due to some issues encountered in some environments, theme is reverted to 2.6.0
bryan145
Joined: 2010-10-24
Posts: 83
Posted: Mon, 2010-12-13 15:50
I would like to be able to change the hover color to this theme. I've looked through every css file that has to do with colors and layout but I can't find a hover section anywhere. I even experimented with adding a line for hover color but it didn't work. Can this line actually be added or is this something for a future release?
lightxx
Joined: 2010-12-02
Posts: 26
Posted: Mon, 2010-12-13 15:55
thanks for your effort Serge.
downgrading makes it working again.
Serge D
Joined: 2009-06-11
Posts: 2436
Posted: Mon, 2010-12-13 16:27
bryan145 wrote:
I would like to be able to change the hover color to this theme. I've looked through every css file that has to do with colors and layout but I can't find a hover section anywhere. I even experimented with adding a line for hover color but it didn't work. Can this line actually be added or is this something for a future release?
which hover color?
all colors are in color packs. some items do not :hover specified (ex: links), so you would need to add one
I doubt I will provide special hover rules unless critical design issue arise, but you could always specify your own in cusom.css
bryan145
Joined: 2010-10-24
Posts: 83
Posted: Mon, 2010-12-13 16:40
I was hoping to add a hover color to every link in any given color pack. Say for instance I want to match the hover color of the greydragon color pack to the site from which it is associated. I was able to change the <a> color to match the site, but I didn't know the proper syntax to add a hover color. Can you help?
Serge D
Joined: 2009-06-11
Posts: 2436
Posted: Mon, 2010-12-13 16:51
bryan145 wrote:
I was hoping to add a hover color to every link in any given color pack. Say for instance I want to match the hover color of the greydragon color pack to the site from which it is associated. I was able to change the <a> color to match the site, but I didn't know the proper syntax to add a hover color. Can you help?
create your own custom.css
reference in the admin
add something like a:hover { color: yellow !important; }
bryan145
Joined: 2010-10-24
Posts: 83
Posted: Mon, 2010-12-13 16:57
Thanks! I'll try it and let you know if it works.
bryan145
Joined: 2010-10-24
Posts: 83
Posted: Mon, 2010-12-13 18:10
It is working now. I didn't use the correct syntax on the lines I added for hover and visited link colors. Thanks Serge!
buzzz
Joined: 2010-12-12
Posts: 6
Posted: Mon, 2010-12-13 22:27
Serge D wrote:
Due to some issues encountered in some environments, theme is reverted to 2.6.0
Thank you, effectively, with this "old" release I have no problem anymore.
For your info, with or withour the RSS module enabled, I encountered the problem.
Thank you once again for this great theme.
Buzzz
undagiga
Joined: 2010-11-26
Posts: 643
Posted: Mon, 2010-12-13 22:54
Serge D wrote:
Due to some issues encountered in some environments, theme is reverted to 2.6.0
That's a pity. In one sense I am relieved that it wasn't just me. If it works for you and some others, perhaps a plugin conflict? I could provide a list of those I'm using at the moment, if that would help.
U-G
p.s. It is a great theme, and a very responsive theme developer. Both are greatly appreciated.
micrographics
Joined: 2010-02-18
Posts: 79
Posted: Tue, 2010-12-14 03:36
Hi Serge
Nice to see that Root page option has been introduced in the theme but there is no detail available on how to use it. Can you provide more detail on it.
Serge D
Joined: 2009-06-11
Posts: 2436
Posted: Tue, 2010-12-14 04:29
micrographics wrote:
Hi Serge
Nice to see that Root page option has been introduced in the theme but there is no detail available on how to use it. Can you provide more detail on it.
Please wait for 2.6.2 release
I will provide more info then
Serge D
Joined: 2009-06-11
Posts: 2436
Posted: Tue, 2010-12-14 19:24
For some of you who had used 2.6.1 and it failed: attached in 2.6.2 release candidate
If you have time to spare plaese try it and let me know if situation improved
Edited: removed attachment
MtnBiker
Joined: 2008-02-11
Posts: 171
Posted: Tue, 2010-12-14 05:41
Somewhat OT, but Serge helped with this before.
Has anything changed on 1and1? I'm having major problems. My G3/GreyDragon showed blank pages.
Eventually I tried a brand new G3 including a new database and it wouldn't work with the .htaccess I'd been using, so went back to the default .htaccess and it worked better but same pages gave errors.
I'll look around the other forums and if nothing shows up, I'll post some of the errors.
Thanks
dwdallam
Joined: 2006-11-19
Posts: 394
Posted: Tue, 2010-12-14 06:02
Bryan,
Use Firebug. It will track down each css style for you. Most are in color.css. Then as Serge said, create a custom css file and use that. If you don't know what I'm talking about, ask and I will further explain. Here is my custom css page in case it might help:
/* Gallery Root as seen by greydragon theme: /G3_DWDALLAM/themes/greydragon/custom_css/custom.css */
/*Too do: get ride of or change padding on album thumbs so the border is tight around the image or closer */
/* This centers the album, sort of , and makes it 1000px wide*/
body { margin-right: auto; margin-left: auto; width: 1000px; }
/* Imported from color.css values changed */
/* This makes the background black */
html {
background-color: #000000;
}
/* This takes the background image out of the album thumbs container and leaves the original color of the top album title grey BBBBBB */
body {
background: #000000;
color: #BBBBBB;
}
/* This changes the breadcrumb links color from light blue 6392CF to gray BBBBBB */
a {
color: #BBBBBB !important;
}
/* This takes the background image out of the footer and makes the background black */
#g-footer {
background: #000000 !important;
}
/* This makes the inner border of the thumbnails disappear but keep spacing by turning the border black 000000 */
.g-thumbcrop {
border: 1px solid #000000;
}
/* This takes the double border off the album thumbs and changes the borders from light gray BBBBBB to a darker gray 404040 solid border */
.g-album .g-thumbslide, .g-album .g-thumbslide-ext {
border-color: #404040;
border-style: solid solid solid solid;
border-width: 1px 1px 1px 1px;
background: #000000;
}
/* This takes the background image out of the album thumbs page and makes the border grey 404040 */
.g-thumbslide, .g-thumbslide-ext {
background: #000000;
border: 1px solid #BBBBBB;
}
/* This is the main image preview, before swhadowbox, etc. It takes the padding off to make a 1px border with color inherited from the above. Original padding 5px. Changed to 0px */
div.g-resize {
float: left;
font-size: 0.9em;
left: 50%;
padding: 0px;
position: relative;
}
/* end custom.css */
dwdallam
Joined: 2006-11-19
Posts: 394
Posted: Tue, 2010-12-14 06:12
I had to comment out aline in the htaccess file at my site root. It is the line that tells the server what version php it is using. Host admin said it won't hurt anything. I can't remember what line it was. Start commenting out your site's root htaccess file and you will eventually find it.
undagiga
Joined: 2010-11-26
Posts: 643
Posted: Tue, 2010-12-14 07:10
Serge D wrote:
For some of you who had used 2.6.1 and it failed: attached in 2.6.2 release candidate
If you have time to spare plaese try it and let me know if situation improved
Serge - I'm really sorry to have to say this, but no. Same problem. Theme settings are still not saved with this RC.
U-G
lightxx
Joined: 2010-12-02
Posts: 26
Posted: Tue, 2010-12-14 09:31
while playing around with your theme i noticed i can re-enable the rotation buttons on the photo page by adding "#g-site-menu .ui-icon-rotate-ccw, #g-site-menu .ui-icon-rotate-cw { display: inline; }" to my custom.css.
is there a way to re-enable that functionality on the album page as well, as it is with the wind theme?
also, after rotating a pic i get a download dialog, at least with Firefox.
thanks,
Tom
dwdallam
Joined: 2006-11-19
Posts: 394
Posted: Tue, 2010-12-14 10:30
Serge,
Recently I've asked about thumbnail size. After revisiting yuor method for aspect ratio, I think it is great. "Original size" works nicely. The only thing I'd like to do is be able to reduce the thumbnail "overall size: from 200px to maybe 175px or maybe even 150px. That way more rows can fit on a page w/o scrolling.
bryan145
Joined: 2010-10-24
Posts: 83
Posted: Tue, 2010-12-14 13:40
lightxx wrote:
while playing around with your theme i noticed i can re-enable the rotation buttons on the photo page by adding "#g-site-menu .ui-icon-rotate-ccw, #g-site-menu .ui-icon-rotate-cw { display: inline; }" to my custom.css.
is there a way to re-enable that functionality on the album page as well, as it is with the wind theme?
also, after rotating a pic i get a download dialog, at least with Firefox.
thanks,
Tom
You really didn't have to add anything. Under the main menu heading in menus.css, if you removed
it adds rotation back to the resize photo page under the photo options menu. Also, under the context menu heading in menus.css, if you removed
.g-item .g-context-menu li li a.ui-icon-rotate-cw { display: none; }
and replaced it with
.g-item .g-context-menu li li a.ui-icon-rotate-cw,
it adds rotation back to the photo thumbnail menus.
undagiga
Joined: 2010-11-26
Posts: 643
Posted: Tue, 2010-12-14 14:05
undagiga wrote:
Serge D wrote:
For some of you who had used 2.6.1 and it failed: attached in 2.6.2 release candidate
If you have time to spare plaese try it and let me know if situation improved
Serge - I'm really sorry to have to say this, but no. Same problem. Theme settings are still not saved with this RC.
This may or may not be a clue. If I use 2.6.2 RC with the 2.6.2 admin_theme_options.php, then I make a change to a setting, click "Save Changes", and then I am returned to the theme options page with the setting change seemingly made (but it is not really saved). However on this second view of the theme options page, the "Save Changes" button at the bottom of the page has lost its text. It is just a very small blue square with no text, rather than a larger rectangle with "Save Changes". I can still click the small blue square to resave the changes (still not really saved), and still see the same small blue square on the next presentation of the theme options dialog.
To get the regular "Save Changes" button back, I have to select "Appearance | Theme Options" from the top menu, which seems to provide a refresh of the dialog. (At which point I can see that the settings change was not saved.)
Is this a clue?
U-G
Serge D
Joined: 2009-06-11
Posts: 2436
Posted: Tue, 2010-12-14 15:15
undagiga wrote:
Serge - I'm really sorry to have to say this, but no. Same problem. Theme settings are still not saved with this RC.
yes, this is how error manifests. there is no error in the log though...
could you PM me with the list of modules you have active with respective versions?
Serge D
Joined: 2009-06-11
Posts: 2436
Posted: Wed, 2010-12-15 06:45
Ok, let's give it another try
See a new attachment - I have removed logic to prepopulate RSS feed path from available RSS feeds
Edit: removed. released officially
dchoe1
Joined: 2010-12-10
Posts: 3
Posted: Tue, 2010-12-14 20:17
serge.. is it possible to have the exif data show below the photo?
bryan145
Joined: 2010-10-24
Posts: 83
Posted: Tue, 2010-12-14 20:27
dchoe1 wrote:
serge.. is it possible to have the exif data show below the photo?
I second this idea, maybe make it a theme option to turn on or off?
Serge D
Joined: 2009-06-11
Posts: 2436
Posted: Tue, 2010-12-14 21:05
bryan145 wrote:
dchoe1 wrote:
serge.. is it possible to have the exif data show below the photo?
I second this idea, maybe make it a theme option to turn on or off?
there is a whole different discussion about this somewhere: allowing selection of fields to display, etc. I think it is better to have it as a module which would inject the content into the page as comments block does
lightxx
Joined: 2010-12-02
Posts: 26
Posted: Tue, 2010-12-14 21:07
thanks for your feedback bryan.
everything works as it should now, with one exception. when i rotate the pictures in the photo thumbnail menu, the wind theme would refresh the picture. any ideas how to do that with GreyDragon?
bryan145
Joined: 2010-10-24
Posts: 83
Posted: Tue, 2010-12-14 21:11
lightxx wrote:
thanks for your feedback bryan.
everything works as it should now, with one exception. when i rotate the pictures in the photo thumbnail menu, the wind theme would refresh the picture. any ideas how to do that with GreyDragon?
Other than a manual refresh of your browser, I don't know, but I'm sure it can be done.
MtnBiker
Joined: 2008-02-11
Posts: 171
Posted: Tue, 2010-12-14 22:52
dwdallam wrote:
I had to comment out a line in the htaccess file at my site root. It is the line that tells the server what version php it is using. Host admin said it won't hurt anything. I can't remember what line it was. Start commenting out your site's root htaccess file and you will eventually find it.
I have some Wordpress stuff and these two lines which I think I got from Serge:
And without these, I get an error accessing any G3 about the wrong PHP version.
I tried with and without the Wordpress lines in the root level htaccess in a new virgin installation with new database. I can access everything except admin.
@dwdallam: Are you still on 1and1? I think Serge is too.
Other discussions of this problem talk about Apache version, 1and1 still being at v1.
Serge D
Joined: 2009-06-11
Posts: 2436
Posted: Wed, 2010-12-15 02:05
I am on 1and1 home without any problems
I have following php.ini and htaccess (about 2x size of the original due to some bot protection rules)
I do not buy Apache argumenents as WordPress working just fine... including gallery
and I am more concern about slightly outdated jquery and Kohana...
I realize this may not be the best place to post this, but I am having issues with the latestupdates module and greydragon. If I try to view the latest photos for the album/gallery, I get a page with no photos. This module seems to work fine with other themes, which all use the layout that the stock theme does.
Posts: 2436
what do you mean by changing thumb size?
there are two ways of doing so:
* changing thumb aspect ratio via admin panel
* modifying code (mentioned above) to increase/decrease thumb image dimentions and then changing aspect ratio to trigger rules changes
* marking for rebuild/rebuild
Posts: 6
Hi,
I have the same problem too.
Tried on a completely new installation (only with required modules) and have the same problem. After pressing the "Save changes", I received the settings page without the correct layout and none of the settings are saved. I also tried with the setting "favicon_url" and "show_credits" => the reading of the value works but not the writing (tested by changing it in the Settings\Advanced page.
Nothing found in the logs of the server nor the Gallery one.
Information:
Server OS: CentOS
Web Server: LAMPP 1.7.3a (PHP 5.3.1, MySQL 5.1)
Theme Grey Dragon: 2.6.1
The Grey Dragon Wind Theme settings applies fine on the same installations.
Thank you,
Michel
Posts: 2436
I started to work on this, but run into instability of the caching code. I am working on different approach
In general, I do not see it as a big optimization. GD Theme loads up-to-3 css in the main thread. main css then would span loading of necessary extra.
I would say that it is not number of files which are loaded what matters, as they are loaded in parallel, but that they are not compressed.
As I would have stable solution, it would be included.
Look in Settings->Advanced section for th_greydragon group
I cannot imagine why or what would prevent saving all the settings on just one installation. Anything in error log right after saving it?
Posts: 2436
any particular setting or just any?
Posts: 6
For me, no settings from the module th_greydragon, that's why I tried with the settings from the Gallery module but none can be changed.
None of the settings I tried (most of the possible) changed (tried the reset too).
Tried with FF, IE8, IE8+CM
Posts: 643
Further clarification. I discovered that I have this problem in both my G3 installations. So I have the same problem as buzzz. In all my installations, any edits I do in "Admin | Appearance | Theme Options" aren't saved. This appears to be true for all the fields in Theme Options. Changes that I make in advanced settings are saved, but only a few options can be changed this way. I attach a G3 log file from yesterday, which seems to have some Greydragon related errors. I'm going to downgrade to see if this problem happens in an earlier version of the theme.
I am probably less concerned about the speed of the initial load and more concerned about the speed of moving from page to page. Hence my interest in preloading. Firebug also warns that various files don't have expiration dates set. I'd have thought that effective caching of files that are required for every page would be adequate, rather than going to a lot of effort to combine them.
U-G
Posts: 2436
have no idea, sorry
Posts: 2436
From attachment - I suspect problem with your theme's location.
Error recorded in the file is in this line
$theme_info = new ArrayObject(parse_ini_file(THEMEPATH . "$theme_id/theme.info"), ArrayObject::ARRAY_AS_PROPS);This indicates that folder structure for the theme's location is incorrect -
THEMEPATH . "$theme_id/theme.info"- and theme.info is not located in themes/greydragon/ folder.Please make sure that you have proper folder structure and no leftovers are present - clean upload is suggested.
As for caching - you can potentially use page expiration option from admin section to keep cache for 60 seconds.
this is page expiration, since CSS is not dynamic for the page, browser should have kept cached version of the same theme's css files.
I have not tried to do any other caching... Suggestions?
Posts: 643
I double-checked and I'm fairly sure that the theme is in the right place. I had already tried a clean upload. I've just remembered that I did unintentionally upload a clean upload to "themes/greydragon-2.6.1" before I realised that this would not work, and corrected the folder name. So these errors in the log file may be misleading and probably are not related to the problem that buzzz & I are having. Sorry.
I have been able to edit the theme options before - on both installations. This problem has only emerged since upgrading to either 2.6.0 or 2.6.1. It's like there is a small but subtle typo in one of the latest versions. I am about to try downgrading in order to test this.
U-G
Posts: 643
There is a problem somewhere in admin_theme_options.php. I just replaced the copy in one of my 2.6.1 installations with the 2.6.0 copy, and it now works. Changes are now saved. I've used a file comparison utility and I can't spot what might be causing the problem, but will keep looking.
Re caching, I don't profess expertise in this area, other than a bit of simple javascipt-based preloading. I am only really reporting what Firebug and Google Page Speed are saying. Is it possible to put something in the header?
U-G
Posts: 394
deleted
Posts: 394
deleted
Posts: 394
Serge, I think I asked this before. How can we open images directly into shadowbox/fancybox from an album's thumbnails? I think that would be really cool. See, you would have all the thumbnails in front of you, and clicking on one would open an image over the top of the others. Very easy to navigate for people.
Also, I am getting the same problem as people above. I cannot save my Theme Options settings. Clicking the save button does not save them.
Posts: 2436
Do you have rss module enabled?
Posts: 643
Yes.
Posts: 2436
There is something strange going on when RSS module disabled
I have made some changes to improve code protection
see attached and let me know if it helped
Edited: Do you have any warnings in admin panel? what version of G3 are you on?
Edited: attachment removed
Posts: 132
Hi, Serge
How to insert an image in the root page?
www.ajorge.net
Posts: 26
i have the same problem. latest version of gallery3 (version 41) and i can't save any changes. i also tried the .zip file you attached, makes no difference!
no warnings in the admin panel. i have the RSS module enabled as well.
thanks,
Tom
Posts: 643
I am sorry to say that 2.6.2 doesn't work. But it does with the admin_theme_options.php from 2.6.0. Even so, behaviour is different. With 2.6.1, after pressing the save settings button, I was returned to a strange-looking version of the theme options page. With 2.6.2 I was returned to the normal theme options page and the save settings initially seemed to have worked. But when I returned to the gallery, the old settings were still in operation. If I returned to theme options, the old settings are displayed.
There are no warnings in the admin panel. Certainly not in the theme options - I installed all the suggested modules. Nothing in maintenance. Should I look somewhere else?
Should I try without the RSS module? I was going to uninstall it, but was warned that the slideshow required it.
U-G
Posts: 2436
Due to some issues encountered in some environments, theme is reverted to 2.6.0
Posts: 83
I would like to be able to change the hover color to this theme. I've looked through every css file that has to do with colors and layout but I can't find a hover section anywhere. I even experimented with adding a line for hover color but it didn't work. Can this line actually be added or is this something for a future release?
Posts: 26
thanks for your effort Serge.
downgrading makes it working again.
Posts: 2436
which hover color?
all colors are in color packs. some items do not :hover specified (ex: links), so you would need to add one
I doubt I will provide special hover rules unless critical design issue arise, but you could always specify your own in cusom.css
Posts: 83
I was hoping to add a hover color to every link in any given color pack. Say for instance I want to match the hover color of the greydragon color pack to the site from which it is associated. I was able to change the <a> color to match the site, but I didn't know the proper syntax to add a hover color. Can you help?
Posts: 2436
create your own custom.css
reference in the admin
add something like
a:hover { color: yellow !important; }Posts: 83
Thanks! I'll try it and let you know if it works.
Posts: 83
It is working now. I didn't use the correct syntax on the lines I added for hover and visited link colors. Thanks Serge!
Posts: 6
Thank you, effectively, with this "old" release I have no problem anymore.
For your info, with or withour the RSS module enabled, I encountered the problem.
Thank you once again for this great theme.
Buzzz
Posts: 643
That's a pity. In one sense I am relieved that it wasn't just me. If it works for you and some others, perhaps a plugin conflict? I could provide a list of those I'm using at the moment, if that would help.
U-G
p.s. It is a great theme, and a very responsive theme developer. Both are greatly appreciated.
Posts: 79
Hi Serge
Nice to see that Root page option has been introduced in the theme but there is no detail available on how to use it. Can you provide more detail on it.
Posts: 2436
Please wait for 2.6.2 release
I will provide more info then
Posts: 2436
For some of you who had used 2.6.1 and it failed: attached in 2.6.2 release candidate
If you have time to spare plaese try it and let me know if situation improved
Edited: removed attachment
Posts: 171
Somewhat OT, but Serge helped with this before.
Has anything changed on 1and1? I'm having major problems. My G3/GreyDragon showed blank pages.
Eventually I tried a brand new G3 including a new database and it wouldn't work with the .htaccess I'd been using, so went back to the default .htaccess and it worked better but same pages gave errors.
I'll look around the other forums and if nothing shows up, I'll post some of the errors.
Thanks
Posts: 394
Bryan,
Use Firebug. It will track down each css style for you. Most are in color.css. Then as Serge said, create a custom css file and use that. If you don't know what I'm talking about, ask and I will further explain. Here is my custom css page in case it might help:
/* Gallery Root as seen by greydragon theme: /G3_DWDALLAM/themes/greydragon/custom_css/custom.css */
/*Too do: get ride of or change padding on album thumbs so the border is tight around the image or closer */
/* This centers the album, sort of , and makes it 1000px wide*/
body { margin-right: auto; margin-left: auto; width: 1000px; }
/* Imported from color.css values changed */
/* This makes the background black */
html {
background-color: #000000;
}
/* This takes the background image out of the album thumbs container and leaves the original color of the top album title grey BBBBBB */
body {
background: #000000;
color: #BBBBBB;
}
/* This changes the breadcrumb links color from light blue 6392CF to gray BBBBBB */
a {
color: #BBBBBB !important;
}
/* This takes the background image out of the footer and makes the background black */
#g-footer {
background: #000000 !important;
}
/* This makes the inner border of the thumbnails disappear but keep spacing by turning the border black 000000 */
.g-thumbcrop {
border: 1px solid #000000;
}
/* This takes the double border off the album thumbs and changes the borders from light gray BBBBBB to a darker gray 404040 solid border */
.g-album .g-thumbslide, .g-album .g-thumbslide-ext {
border-color: #404040;
border-style: solid solid solid solid;
border-width: 1px 1px 1px 1px;
background: #000000;
}
/* This takes the background image out of the album thumbs page and makes the border grey 404040 */
.g-thumbslide, .g-thumbslide-ext {
background: #000000;
border: 1px solid #BBBBBB;
}
/* This is the main image preview, before swhadowbox, etc. It takes the padding off to make a 1px border with color inherited from the above. Original padding 5px. Changed to 0px */
div.g-resize {
float: left;
font-size: 0.9em;
left: 50%;
padding: 0px;
position: relative;
}
/* end custom.css */
Posts: 394
I had to comment out aline in the htaccess file at my site root. It is the line that tells the server what version php it is using. Host admin said it won't hurt anything. I can't remember what line it was. Start commenting out your site's root htaccess file and you will eventually find it.
Posts: 643
Serge - I'm really sorry to have to say this, but no. Same problem. Theme settings are still not saved with this RC.
U-G
Posts: 26
while playing around with your theme i noticed i can re-enable the rotation buttons on the photo page by adding "#g-site-menu .ui-icon-rotate-ccw, #g-site-menu .ui-icon-rotate-cw { display: inline; }" to my custom.css.
is there a way to re-enable that functionality on the album page as well, as it is with the wind theme?
also, after rotating a pic i get a download dialog, at least with Firefox.
thanks,
Tom
Posts: 394
Serge,
Recently I've asked about thumbnail size. After revisiting yuor method for aspect ratio, I think it is great. "Original size" works nicely. The only thing I'd like to do is be able to reduce the thumbnail "overall size: from 200px to maybe 175px or maybe even 150px. That way more rows can fit on a page w/o scrolling.
Posts: 83
You really didn't have to add anything. Under the main menu heading in menus.css, if you removed
#g-site-menu .ui-icon-rotate-cw { display: none; }and replaced it with
#g-site-menu .ui-icon-rotate-cw { left: auto; }it adds rotation back to the resize photo page under the photo options menu. Also, under the context menu heading in menus.css, if you removed
.g-item .g-context-menu li li a.ui-icon-rotate-cw { display: none; }and replaced it with
it adds rotation back to the photo thumbnail menus.
Posts: 643
This may or may not be a clue. If I use 2.6.2 RC with the 2.6.2 admin_theme_options.php, then I make a change to a setting, click "Save Changes", and then I am returned to the theme options page with the setting change seemingly made (but it is not really saved). However on this second view of the theme options page, the "Save Changes" button at the bottom of the page has lost its text. It is just a very small blue square with no text, rather than a larger rectangle with "Save Changes". I can still click the small blue square to resave the changes (still not really saved), and still see the same small blue square on the next presentation of the theme options dialog.
To get the regular "Save Changes" button back, I have to select "Appearance | Theme Options" from the top menu, which seems to provide a refresh of the dialog. (At which point I can see that the settings change was not saved.)
Is this a clue?
U-G
Posts: 2436
yes, this is how error manifests. there is no error in the log though...
could you PM me with the list of modules you have active with respective versions?
Posts: 2436
Ok, let's give it another try
See a new attachment - I have removed logic to prepopulate RSS feed path from available RSS feeds
Edit: removed. released officially
Posts: 3
serge.. is it possible to have the exif data show below the photo?
Posts: 83
I second this idea, maybe make it a theme option to turn on or off?
Posts: 2436
there is a whole different discussion about this somewhere: allowing selection of fields to display, etc. I think it is better to have it as a module which would inject the content into the page as comments block does
Posts: 26
thanks for your feedback bryan.
everything works as it should now, with one exception. when i rotate the pictures in the photo thumbnail menu, the wind theme would refresh the picture. any ideas how to do that with GreyDragon?
Posts: 83
Other than a manual refresh of your browser, I don't know, but I'm sure it can be done.
Posts: 171
I have some Wordpress stuff and these two lines which I think I got from Serge:
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
And without these, I get an error accessing any G3 about the wrong PHP version.
I tried with and without the Wordpress lines in the root level htaccess in a new virgin installation with new database. I can access everything except admin.
@dwdallam: Are you still on 1and1? I think Serge is too.
Other discussions of this problem talk about Apache version, 1and1 still being at v1.
Posts: 2436
I am on 1and1 home without any problems
I have following php.ini and htaccess (about 2x size of the original due to some bot protection rules)
I do not buy Apache argumenents as WordPress working just fine... including gallery
and I am more concern about slightly outdated jquery and Kohana...
Posts: 51
I realize this may not be the best place to post this, but I am having issues with the latestupdates module and greydragon. If I try to view the latest photos for the album/gallery, I get a page with no photos. This module seems to work fine with other themes, which all use the layout that the stock theme does.