Theme: GreyDragon - v.4.0.2

micware
micware's picture

Joined: 2008-12-27
Posts: 16
Posted: Thu, 2012-03-29 22:46

Hi,
Thanks for your help so far Serge, I’m beginning to understand it a little bit

But where can I change the value for #g-rootpage-slideshow which is now 640x480

If a pace

#g-rootpage-roll { float: right; text-align: center; z-index: 1; position: absolute; right: 0px; width: 1024px; height: 680px; }
#g-rootpage-slideshow { width: 1024px; height: 680px; }

In my custom.css it won’t work

Maybe I don’t understand what you mean with “You need to synchronize them”

 
micware
micware's picture

Joined: 2008-12-27
Posts: 16
Posted: Fri, 2012-03-30 22:02

I can see the full size images in my /var/albums folder with the correct dimensions
But the slideshow in the root page is not using them, permissions on album is allow "full View full size" for "Everybody"
i'm i missing somthing but what?

Any advice is greatly appreciated.

 
micware
micware's picture

Joined: 2008-12-27
Posts: 16
Posted: Sat, 2012-03-31 23:21

Hi, still struggling with the size of the slideshow

Can I point the slideshow to /var/albums/..... instead of /var/resizes/...

If yes, witch file?

I searched every file in my gallery folder for a reference to /var/resizes but not found it

I want the slideshow image to be the same size as the full image I uploaded

I'm learning alot, digging thru the gallery and greydragon files :-)

THX for all the help sofar.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sun, 2012-04-01 00:37
micware wrote:
I can see the full size images in my /var/albums folder with the correct dimensions
But the slideshow in the root page is not using them, permissions on album is allow "full View full size" for "Everybody"
i'm i missing somthing but what?

Any advice is greatly appreciated.

check RSS feed you are using for the slideshow. you would notice that regardless of the permissions, resizes are used, not full size versions
if you want a full size, you need to modify logic for the RSS feed to use full sizes

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
Terren

Joined: 2012-03-28
Posts: 1
Posted: Thu, 2012-04-05 06:50

Hello everyone!
First of all, thanks Serge D for all the affort and the great theme :)
Iam pretty new to gallery but have two questions about the theme.

The first one is about a translation issue. I start translation mode an click show all. The first half works fine (source & destination language) but your Help text ( "<fieldset><legend>Help</legend><ul><li><h3>Prerequisites</h3> <p><b>REQUIREMENTS NEED ... case you think that something is not right, you can always <b>Reset Theme to a Default State</b>. </li></ul></fieldset>" ) somehow disrupts the translation with me. After this box the green fields in the left dont match the right boxes.
For Exsample: i click on "Add path" an in the middle source box "Brightness value" with its correct translation on the right appears.
It seems on the right everything is shown 9 boxes lower than what i clicked on. Maybe this is just my installation, so it would be nice if someone can confirm or deny this.

The second question is about the fancybox support. I disabled the photo page cause i like this behaviour. Is there a way to show the image description under the image in the fancybox? Maybe i just didnt see it. And iam wondering if there is a way to go from fancybox to fullscreen view of the picture (maybe through clicking on the picture again, this is how i used a plugin in typo3 before).
Thanks in advance!
Terren

 
bigu_c
bigu_c's picture

Joined: 2007-10-28
Posts: 421
Posted: Thu, 2012-04-05 11:10

Hi,

Can you please help me to do how to open full-size image in HTML page? (Step-by-step)

Thank you.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2012-04-05 18:33
Terren wrote:
The first one is about a translation issue. I start translation mode an click show all. The first half works fine (source & destination language) but your Help text ( "<fieldset><legend>Help</legend><ul><li><h3>Prerequisites</h3> <p><b>REQUIREMENTS NEED ... case you think that something is not right, you can always <b>Reset Theme to a Default State</b>. </li></ul></fieldset>" ) somehow disrupts the translation with me. After this box the green fields in the left dont match the right boxes.
For Exsample: i click on "Add path" an in the middle source box "Brightness value" with its correct translation on the right appears.
It seems on the right everything is shown 9 boxes lower than what i clicked on. Maybe this is just my installation, so it would be nice if someone can confirm or deny this.

I need to break help in individual paragraphs to clean up structure markup. it would be in next release.

Terren wrote:
The second question is about the fancybox support. I disabled the photo page cause i like this behaviour. Is there a way to show the image description under the image in the fancybox? Maybe i just didnt see it. And iam wondering if there is a way to go from fancybox to fullscreen view of the picture (maybe through clicking on the picture again, this is how i used a plugin in typo3 before).

not out of the box. I do not have plans to support this feature, but if anyone wants to take a look and suggest the solution I will incorporate it

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
cndxt

Joined: 2012-04-05
Posts: 5
Posted: Mon, 2012-04-09 12:11

Hi all,

without reading through all pages...

Something i noticed during work with Gallery Modules..

If a Module is trying to use the $theme class-instance, for example to use is_photo() method or "id"-property, it will cause a 500-Server Error resulting in a GD-Gallery Page with no contents, because code execution is stopped at this point.

This occurs only if a Module outputting custom content, for example creating a list of Tags, etc... Because this is not treatened as an Item itself from Gallery/Greydragon.

In WIND Theme this is somehow handled, but in Greydragon (3.1.4) it's not...

This causes also a Basket-Module Error, because this one uses these class method of every page

See in this Thread for a fix: http://gallery.menalto.com/node/104319#comment-389799

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2012-04-09 15:54
cndxt wrote:
without reading through all pages...

as you have noticed and explained yourself basket module code does not handle correctly item presence in cases when item is not there
your suggested code is doing just that - it verifies indirectly that item is in fact initialized.
there was a discussion and fix for that some pages ago :) it almost feels like I need my own forum now :)

so if in basket module we could add the check for $item being initialized then we would be fine.

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
jaesflo

Joined: 2006-05-09
Posts: 45
Posted: Wed, 2012-04-11 01:37

I want to change the word "Photo" by another word, I searched through all the template files GreyDragon and can not find.

Here is an example, this graph shows my explanation.

Maybe I can help with this link, if the event theme

My them greydragon Version: 3.1.4

Thank you

-------------------------------------------------------------------------------
http://www.goperutravel.com/pictures/

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2012-04-12 18:31
jaesflo wrote:
I want to change the word "Photo" by another word, I searched through all the template files GreyDragon and can not find.

You would not find one. I am using item's type
in MY_Theme_View.php locate get_item_title function.
Part of the code you are interested in is

    if ($title === "")
      $title = ucfirst($item->type) . " " . $item->id;

PS: in upcoming release "type" would be translatable

jaesflo wrote:
Maybe I can help with this link, if the event theme

as it was suggested, you should disallow RSS feed references

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
micware
micware's picture

Joined: 2008-12-27
Posts: 16
Posted: Thu, 2012-04-12 21:39

Hi Serge,
I managed to get the slideshow working the way I wanted (on the root page)

micware.nl/gallery

The downside is: I had alter the top and bottom padding and the hight to 680px for #g-column-centerfull!
Now I miss 10px top en bottom on every page, not only the root page.
I can not find a way to override #g-column-centerfull only for the root page!

http://micware.nl/gallery/index.php/Close-Up---Nature <- only 3.5 row visable due to the hight of 680px for #g-column-centerfull i need for the rood page

Do you know a solution?

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2012-04-12 23:51
micware wrote:
The downside is: I had alter the top and bottom padding and the hight to 680px for #g-column-centerfull!
Now I miss 10px top en bottom on every page, not only the root page.
I can not find a way to override #g-column-centerfull only for the root page

Add #g-rootpage to your CSS rule, it is an id of body element of the root page

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
jaesflo

Joined: 2006-05-09
Posts: 45
Posted: Sat, 2012-04-14 03:57
Serge D wrote:
You would not find one. I am using item's type in MY_Theme_View.php locate get_item_title function.
Part of the code you are interested in is

Hi Serge D, I modified the file, but I can not change the word "Photo" by "Foto"

My gallery is entirely in spanish, just want to change the word Photo

I searched in translation and have not found the word to translate.

My gallery: deviajesaperu.com/fotos/cusco/choquequirao

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sat, 2012-04-14 17:52
jaesflo wrote:
Hi Serge D, I modified the file, but I can not change the word "Photo" by "Foto"

My gallery is entirely in spanish

You need to modify line mentioned above as following

$title = t($item->type) . " " . $item->id;
This would allow you use translation

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
Feliz

Joined: 2009-01-08
Posts: 30
Posted: Mon, 2012-04-16 10:07

Hi Serge,

First let me congratulate you for this fabulous theme you did, and support.

I don't know much about programming, but whit the right information I've been able to change my Gallery 2 them to suit my needs. So I hope to do the same with gallery 3.

1 - I have a gallery2 website and I'm upgrading to gallery 3 with your Grey Dragon Theme that is great. But as you can see im my actual site http://www.nunofeliz.com (after the page load click on the menu button on the camera) I dont use a root album, and don't want people to access it. I've been searching all the foruns, but couldn´t find any answer, so is it possible to tell me how to remove the Gallery link from the Breadcrumbs?

2 - As my site is in Portuguese and didn't nottice that problem im Gallery2, I have the EXIF description as photo title, and it displays all the Foreign Characteres without any problem. But on my test site with Gallery3 it doesn´t displays the title right, replacing the foreign characteres with other's. Is there a way to solve this?

Thanks in advance for any help you could provide. And apologise for any mistake in my english.

Keep up the good work.

Best regards
Nuno Feliz

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2012-04-16 13:13

1. this might be what you are after:
http://codex.gallery2.org/Gallery3:Modules:no_home_link

Quote:
after the page load click on the menu button on the camera

I would rethink that. It took me some time to find the [ enter ] button to get to the menu. I clicked on various places on the camera and it was not that apparent to use the enter button.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2012-04-16 16:42
Feliz wrote:
First let me congratulate you for this fabulous theme you did, and support.

Thank you

Feliz wrote:
1 - I have a gallery2 website and I'm upgrading to gallery 3 with your Grey Dragon Theme that is great. But as you can see im my actual site http://www.nunofeliz.com (after the page load click on the menu button on the camera) I dont use a root album, and don't want people to access it. I've been searching all the foruns, but couldn´t find any answer, so is it possible to tell me how to remove the Gallery link from the Breadcrumbs?

Let me try to understand what you want to do here...
you want a root page but not default one - fine, just create your own rootpage.html.php and place it into gallery3/themes/custom/views/ folder. This would override default one for you. Inside you can have your nice camera. I would however made navigation confined to one page and use CSS/JS to create desired effect so that current http://www.nunofeliz.com/ and http://www.nunofeliz.com/menu.html could be combined. You can use code from default rootpage.html.php as a starting point.

Feliz wrote:
2 - As my site is in Portuguese and didn't nottice that problem im Gallery2, I have the EXIF description as photo title, and it displays all the Foreign Characteres without any problem. But on my test site with Gallery3 it doesn´t displays the title right, replacing the foreign characteres with other's. Is there a way to solve this?

perhaps you need to adjust meta tags to switch the language

in page.html/php find

<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
and replace it with
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1" />
you have on yours
you can also add
<META HTTP-EQUIV="Content-Language" CONTENT="pt" />

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
Feliz

Joined: 2009-01-08
Posts: 30
Posted: Mon, 2012-04-16 16:43

Floridave

Thanks for your quick answer. The no_home_link module doesn't solve my problem. It removes the home link from the menus, but I don't use menus. I want to remove the link Gallery (root album) from the breadcrumbs.

I add a link to my Menu page in the beginning of the breadcrumbs, and want to remove the Gallery link, because the breadcrumbs appears:

Menu :: Galery :: (album) :: (photo)

and I want to appear:

Menu :: (album :: (photo)

So people can't go to de root album, and click menu to return to the menu page.

As for the main page it's going to be changed as soon I get gallery 3 to work properly. But if you waited a few seconds appears a message saying to click menu for enter (in portuguese)

Best Regards
Nuno Feliz

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2012-04-16 17:18
Feliz wrote:
I add a link to my Menu page in the beginning of the breadcrumbs, and want to remove the Gallery link, because the breadcrumbs appears:

Menu :: Galery :: (album) :: (photo)

and I want to appear:

Menu :: (album :: (photo)

a) Under theme admin uncheck "Show Breadcrumbs in root album/root page"
b) Add .g-breadcrumbs .g-first { display: none; in custom.css
c) if :: is an issue then you may want to adjust public function breadcrumb_menu($theme, $parents) to have $content .= (($i > 1)? " :: " : null );

Best Regards
Nuno Feliz

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
Feliz

Joined: 2009-01-08
Posts: 30
Posted: Tue, 2012-04-17 12:38

Hi

Serge, thank you for your quick answer and help. Later I'll try this at home and post the results here.

Once more congratulations for these fabulous theme, and for the patience to answer all our questions.

Best Regards and keep up the good work
Nuno Feliz

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Tue, 2012-04-17 18:08

version 3.2.0 is out

IMPORTANT! This release requires new shared module - GreyDragon - for admin section to work properly - it is available here - http://blog.dragonsoft.us/downloads/15
Theme as any of future releases of my modules now allows you to be notified when new version is available.

Notes: This is big release please backup your old version of the theme if you need to rollback
If you have custom CSS which you are using, please read carefully changelog below as some adjustments may be required
If you run into any issues, please let me know.

- Theme is now HTML 5
- CSS: Dropped support for IE 6
- IMPORTANT: .g-extended class moved from .g-item level into a <body> to allow layout manipulation based on thumb formats. Styles are affected.
- Added class marker to page's <body> element to indicate current sidebar mode - g-sidebar-xxxxxxxx
- CSS: Min width of the gallery is now enforced based on number of columns and sidebar visibility - extended thumbs 3/4 columns
- CSS: Decrease size of the column for 3 column layout to 31% to prevent wrapping in some browser modes
- ADMIN: Logic added to inform site owner about new versions of the theme
- ADMIN: Admin page layout is now based on shared GreyDragon module which is now required
- ADMIN: "Visible Title Length" option - access to G3 title length setting.
- ADMIN: Use Permalinks for navigation - allows /root, /enter be used for root page access.
Requires the following rules added in .htaccess <mod_rewrite.c> section

########## Enable /root url ################
#
RewriteRule ^root ?root=yes [NC]
RewriteRule ^enter ?root=no [NC]
#
############################################

- Visible Title Length is now taken in consideration when displaying Photo Titles in thumbs, breadcrumbs, etc.
- Improved file name detection for Title Source
- CP: new color pack - Round Robin \
- FP: new frame pack - Round Corners / combined would give look of Clean Canvas theme
- FP: Book frame pack : removed right padding to prevent wrapping on smaller resolutions
- FP: Wall frame pack : min width decreased to all proper alignment of tiles
- jquery.cycle.js updated to v.2.9999.4
- Synchronize Calendar page with page.html.php
- CSS: forms.css - fixed two misspelled rules
- Added code protection from Camel case in CMD parameters
- Fixed issue with missing status icons for some colorpacks in Upload dialog
- Added code protection in Root page to detect situation when roller is empty and then do not initialize the cycle plugin
- Added translation support for default thumb caption (Photo #, Movie #, etc)

Enjoy

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
windracer

Joined: 2007-03-05
Posts: 113
Posted: Wed, 2012-04-18 01:02

I'm having the same problem with the 3.2.0 release that I had when I tried the beta release: after installing the new theme I get a blank page when I try to go into theme options (I do have the module enabled) and my colorpack is not loading either so my gallery is displayed incorrectly.

What's strange is that when I go back to the 3.1.4 version of the theme, the Theme Options page shows 3.2.0. Is that a side-effect of the module?

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2012-04-18 02:58
windracer wrote:
I'm having the same problem with the 3.2.0 release that I had when I tried the beta release: after installing the new theme I get a blank page when I try to go into theme options (I do have the module enabled) and my colorpack is not loading either so my gallery is displayed incorrectly.

What's strange is that when I go back to the 3.1.4 version of the theme, the Theme Options page shows 3.2.0. Is that a side-effect of the module?

It means that you did unpack theme incorrectly
Please make sure that you have correct folder structure

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
cchiappa
cchiappa's picture

Joined: 2008-08-11
Posts: 101
Posted: Wed, 2012-04-18 03:49

I'm having the same problem I had with the beta as well and it sounds a lot like what windracer is describing as well. Nothing is logged to the apache logs and the only thing that ends up in the G3 log is:

2012-04-18 03:42:45 +00:00 --- error: Can't find css file: colors.css
2012-04-18 03:42:45 +00:00 --- error: Can't find css file: frame.css

every time I hit a page. I've tried resetting the them to a default state, switching to wind and back, etc and it doesn't seem to help. Trying to revert to 3.1.4 led to an even more broken front page where it didn't look like any layout was being done - the menus options were all listed out longhand, etc.
I'm not sure how I might have screwed up the installation - I've got the latest GD module installed, in the themes directory I moved the old theme out of the way (outside of the directory tree) and unzipped the new GD theme. Permissions look ok, althogh it installed with a lot of directories g+s (removing the +s didn't make a difference). Any thoughts appreciated...

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2012-04-18 06:15
cchiappa wrote:
I'm having the same problem I had with the beta as well and it sounds a lot like what windracer is describing as well. Nothing is logged to the apache logs and the only thing that ends up in the G3 log is:

2012-04-18 03:42:45 +00:00 --- error: Can't find css file: colors.css
2012-04-18 03:42:45 +00:00 --- error: Can't find css file: frame.css

every time I hit a page. I've tried resetting the them to a default state, switching to wind and back, etc and it doesn't seem to help. Trying to revert to 3.1.4 led to an even more broken front page where it didn't look like any layout was being done - the menus options were all listed out longhand, etc.
I'm not sure how I might have screwed up the installation - I've got the latest GD module installed, in the themes directory I moved the old theme out of the way (outside of the directory tree) and unzipped the new GD theme. Permissions look ok, althogh it installed with a lot of directories g+s (removing the +s didn't make a difference). Any thoughts appreciated...

Please pay attention to the way you unpack the files.
Zip contains the folder "greydragon". Zip itself for the shared module is of the same name
You are mixing files and/or having wrong folder structure.
This is why frame pack/color packs are missing
Also make sure that your FTP client does not conveniently changes folder name capitalization.
If you want to give me access to your FTP, I can take a quick look at the situation

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
windracer

Joined: 2007-03-05
Posts: 113
Posted: Wed, 2012-04-18 12:30
Serge D wrote:
It means that you did unpack theme incorrectly
Please make sure that you have correct folder structure

I'm pretty sure I unzipped the new theme correctly. Here's what it looks like:

07:59:06 /usr/local/gallery3_wr/themes/greydragon:$ ls -la
total 108
drwxr-xr-x 10 root root  4096 2012-04-17 21:04 .
drwxr-xr-x  8 root root  4096 2012-04-17 21:03 ..
drwxr-xr-x  4 root root  4096 2012-04-17 10:00 admin
-rw-r--r--  1 root root 33138 2012-04-17 10:04 changelog.txt
drwxr-xr-x  2 root root  4096 2012-04-17 10:00 controllers
drwxr-xr-x  4 root root  4096 2012-04-17 10:02 css
drwxr-xr-x  2 root root  4096 2012-04-17 10:02 helpers
drwxr-xr-x  2 root root  4096 2012-04-17 10:02 images
drwxr-xr-x  2 root root  4096 2012-04-17 10:02 js
drwxr-xr-x  2 root root  4096 2012-04-17 10:02 libraries
-rw-r--r--  1 root root   508 2012-04-17 21:04 theme.info
-rw-r--r--  1 root root 25791 2011-08-16 00:00 thumbnail.png
drwxr-xr-x  2 root root  4096 2012-04-17 10:02 views

The module is also correctly unzipped under the modules directory.

I'm seeing the same stuff in my Gallery log as cchiappa too:

2012-04-18 08:27:48 -04:00 --- error: Can't find css file: colors.css
2012-04-18 08:27:48 -04:00 --- error: Can't find css file: frame.css
 
cchiappa
cchiappa's picture

Joined: 2008-08-11
Posts: 101
Posted: Wed, 2012-04-18 12:42

Thanks, Serge, I'll send you a PM with login details. I'm running this on my own machine so there is no ftp client involved - I unzip the module and theme directly to the respective directory.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2012-04-18 15:54
cchiappa wrote:
Thanks, Serge, I'll send you a PM with login details. I'm running this on my own machine so there is no ftp client involved - I unzip the module and theme directly to the respective directory.

Confirmed, looking around

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2012-04-18 19:31

As it seems issue does not present itself always but only with some LAMP instances.

With help from cchiappa and ajorgereis I have identified the problem and updated versions of the theme and shared module are now available.

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
windracer

Joined: 2007-03-05
Posts: 113
Posted: Wed, 2012-04-18 19:54

The updated module and theme fixed my gallery display issues (all CSS and color is working properly with the carbon theme) but the Theme Admin page still loads blank (just the Gallery header and toolbar load, nothing else).

 
cchiappa
cchiappa's picture

Joined: 2008-08-11
Posts: 101
Posted: Wed, 2012-04-18 20:29

Thanks, Serge, the fix is much appreciated! The new version's layout seems more consistent, especially in the admin page where everything lines up now without fiddling with the font size.
One minor issue, I'm using the underPhotoText module to put the description of the photo, if present, under the photo along with the title and other metadata. With the previous version of the theme, this worked great with “Display Title Mode - Bottom” and “Meta Data Display Mode - Merge With Title” enabled. It still works with the new theme, but the size of the area at the bottom reserved for the title and metadata is fixed size (and too small to see much of the description at all) whereas it used to size itself dynamically. Is this something that is likely to be tweakable with some CSS? Adding something like this to custom.css doesn't seem to have any effect (but I know essentially nothing about such things so am almost certainly doing something wrong):

ul.g-description { min-height: 96px; }

If this isn't something easy to address I can dig into it when I get some time. The theme almost provides this sort of capability already with the “Title Source - Description” option except I'd like all of the Title, description + metadata, and HTML in the description doesn't get rendered properly. Maybe I'll see if I can get rid of the underPhotoText module with some expansion of the Title Source code…

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2012-04-18 20:37
windracer wrote:
The updated module and theme fixed my gallery display issues (all CSS and color is working properly with the carbon theme) but the Theme Admin page still loads blank (just the Gallery header and toolbar load, nothing else).

anything in the error log?

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2012-04-18 20:40
cchiappa wrote:
Is this something that is likely to be tweakable with some CSS? Adding something like this to custom.css doesn't seem to have any effect (but I know essentially nothing about such things so am almost certainly doing something wrong):

yes, it is CSS only. you need to make sure rule is fully qualified. use development tools or firebug to find what overrides your current rule.

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
windracer

Joined: 2007-03-05
Posts: 113
Posted: Wed, 2012-04-18 23:31
Serge D wrote:
windracer wrote:
The updated module and theme fixed my gallery display issues (all CSS and color is working properly with the carbon theme) but the Theme Admin page still loads blank (just the Gallery header and toolbar load, nothing else).

anything in the error log?

Nope ... nothing in the Gallery log or Apache error log. All I see in my Apache access log is the page request:

192.168.1.5 - - [18/Apr/2012:19:28:26 -0400] "GET /gallery3/admin/theme_options HTTP/1.1" 500 2788 "http://<url redacted>/gallery3/admin" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0"

Really weird.

 
windracer

Joined: 2007-03-05
Posts: 113
Posted: Thu, 2012-04-19 01:14

Serge ... it seems to be related to the checkVerionInfo function block in gd_admin_include.html.php.

When I checked the View Source of my "empty" Theme Admin page, I noticed that the first <script> block in gd_admin_include.html.php was there, but nothing else beyond that. So, on a whim, I commented out the entire checkVerionInfo block (note the spelling error, I think that's supposed to be checkVersionInfo, but at least it's spelled consistently in your code :-)). After commenting that out, the Admin page loaded normally, except for the top line where the name of the theme and the version would be displayed (because I commented out that code).

I'll keep digging, but wanted to let you know this is what I've found so far.

 
Feliz

Joined: 2009-01-08
Posts: 30
Posted: Thu, 2012-04-19 11:19
Serge D wrote:
Feliz wrote:
I add a link to my Menu page in the beginning of the breadcrumbs, and want to remove the Gallery link, because the breadcrumbs appears:

Menu :: Galery :: (album) :: (photo)

and I want to appear:

Menu :: (album :: (photo)

a) Under theme admin uncheck "Show Breadcrumbs in root album/root page"
b) Add .g-breadcrumbs .g-first { display: none; in custom.css
c) if :: is an issue then you may want to adjust public function breadcrumb_menu($theme, $parents) to have $content .= (($i > 1)? " :: " : null );

Best Regards
Nuno Feliz

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

Serge it worked 100%. Once more thanks for your help!

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2012-04-19 22:09
windracer wrote:
I'll keep digging, but wanted to let you know this is what I've found so far.

Is CURL support is installed on your server?

// ### Checks for presence of the cURL extension.
function _iscurlinstalled() {
  if  (in_array  ('curl', get_loaded_extensions())) {
    return true;
  } else {
    return false;
  }
} 

//Sample usage:
if (_iscurlinstalled()) echo "cURL is installed"; else echo "cURL is NOT installed";

PS: have corrected the function's name

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
windracer

Joined: 2007-03-05
Posts: 113
Posted: Thu, 2012-04-19 23:33
Serge D wrote:
Is CURL support is installed on your server?

I had curl installed, but apparently not the PHP extension for curl (as your script showed me). So I installed it (your script returns "cURL is installed") but I still get the blank Theme Admin page.

 
ajorgereis

Joined: 2008-09-06
Posts: 132
Posted: Thu, 2012-04-19 23:57

Colorpack Roundrobin and frampack Darkglass make a beautiful set.

Thank you Serge

www.ajorge.net

 
cchiappa
cchiappa's picture

Joined: 2008-08-11
Posts: 101
Posted: Fri, 2012-04-20 01:59

Adding this to custom.css gets me results which seem similar to the previous version of the theme where the space allocated to the text below the picture sizes itself:

.g-extended .g-thumbtype-sqr .g-thumbcrop { height: auto; min-height: 200px; max-height: 300px; }
.g-extended .g-thumbtype-sqr a.g-thumblink { min-height: 200px; }

Thanks again, Serge!

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sat, 2012-04-21 04:58
windracer wrote:
Serge D wrote:
Is CURL support is installed on your server?

I had curl installed, but apparently not the PHP extension for curl (as your script showed me). So I installed it (your script returns "cURL is installed") but I still get the blank Theme Admin page.

could you continue your investigation commenting parts of the function to see which call is failing?

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
windracer

Joined: 2007-03-05
Posts: 113
Posted: Sat, 2012-04-21 20:16

Serge ... it's working now. Apparently the missing cURL module for PHP was the issue. I don't know why it didn't work right away, I think maybe I hadn't restarted apache. It's all good now, thanks for your help!

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sun, 2012-04-22 03:39
windracer wrote:
Serge ... it's working now. Apparently the missing cURL module for PHP was the issue. I don't know why it didn't work right away, I think maybe I hadn't restarted apache. It's all good now, thanks for your help!

Great! I have added CURL check into the shared module so it would detect and disable the "auto" option if CURL is not installed. would be in next release

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
black-one

Joined: 2012-04-22
Posts: 1
Posted: Sun, 2012-04-22 07:46

Hello,

i´m using the greay dragon theme in Gallery 3.0.3.
Its fine, but how i can forbidden that user, guest, anonymous click on the pics to show this in original format and then download it.
I found not the funtion to forbidden this.
The Module no right click is active.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sun, 2012-04-22 15:03
black-one wrote:
Hello,

i´m using the greay dragon theme in Gallery 3.0.3.
Its fine, but how i can forbidden that user, guest, anonymous click on the pics to show this in original format and then download it.
I found not the funtion to forbidden this.
The Module no right click is active

"no right click" does not protect your images, simple code view would show your resize image path.
There was discussion here about it some time ago. Worse case scenario, visitor can simply do a screenshot...
Instead protect image with watermarking and do not allow access to full size images

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
MtnBiker

Joined: 2008-02-11
Posts: 172
Posted: Tue, 2012-04-24 04:40

Recently upgraded to GD 3.2.1 and also upgraded G3 to 3.0.3 build 59 and having some new problems.

Main one is that clicking on an image (or clicking on "View Full Size" icon) takes me to just a page with the photo and white space to the right and below in Safari for the Mac.

In Firefox the same action takes me to a full size image with a black surround but no way to navigate back to normal photo view. Arrow keys don't work either. I can go back a page to get to normal photo view. (Arrow keys work in other views)

This action (full size view) works fine in the default Gallery Wind theme.

Second problem is that the Organize page is reduced to a narrow column in both Safari and Firefox. Again fine in Gallery Wind.

[img]http://knobby.ws//toShare/GD.OrganizeProblem.png[/img]

I have a custom css, but not using it doesn't fix either problem.

I love the Gray Dragon theme and the great support from Serge.

Thanks for any help.

Sample page: http://knobby.ws/gallery3/Skiing/Mammoth-Crest-2012/MammothCrest2012-037

 
cchiappa
cchiappa's picture

Joined: 2008-08-11
Posts: 101
Posted: Tue, 2012-04-24 12:52

I just noticed myself having the same problem with Organize yesterday. If in the Firefox "Inspect Element" dialog I fiddle the width: property of div#g-dialog.ui-dialog-content.ui-widget-content from "auto" to an explicit width (say, 800px) it looks more reasonable...

 
windracer

Joined: 2007-03-05
Posts: 113
Posted: Tue, 2012-04-24 13:08
cchiappa wrote:
I just noticed myself having the same problem with Organize yesterday

Confirmed ... I'm seeing the same problem.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Tue, 2012-04-24 16:40

I dislike the whole dialog thing... to fragile...

in forms.css locate .ui-dialog .ui-dialog-content rule and change from display: inline-block; to display: block;

I hope it would not break rest of the stuff

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter