Hi I've just upgraded to Gallery3 and have picked the clean canvas theme. I've had a quick look through the forum and done a search but didn't find anything relevant.
Can you tell me if it is possible to change the alignment of thumbnails and child albums in an album from left to center alignment. The reason for asking is I intend to have only two child albums and no photos in the root album and particularly in wide screen it doesn't look good.
any idea why the Clean canvas (and its Dark versions) don't show language flags when the language flag module is loaded? This language flag module is working well w/ other themes.
Finally I could figure this out. The theme embeds a user_languages_block_html.php that the Language flag module can't (or don't) override, for a reason I don't know. I removed that .php file et voila.
Did anybody succeed it getting this theme family displayed well w/ IE? Here on IE8/IE7, round corners are not OK, and color blend is not done, making this theme looking particularly awckward, whereas it looks so nice on Firefox/Google Chrome/Opera (even if w/ Opera, round corners around photos are not present).
Under .../gallery3/themes/clean_canvas/css, edit the file screen_layout_base.css .
Find the "Layout Containers" section, and then locate #g-sidebar and add display: none between the braces. This removes the sidebar box.
Next, find .yui-t5 #yui-main .yui-b near the bottom of the stylesheet, beneath all of the RTL code. Change margin-right: 210px to margin-right: 20px . This fills in the space where the sidebar box used to be.
I use the "wide" layout and everything seems to flow properly.
I had no use for the slideshow, so I don't mind that the link to it is missing. I could still add it as an icon to the header or footer if I wanted to.
I wonder if it's possible to toggle the side bar, with a button put somewhere in header for instance. The css lead is not the right one here I guess. Any hint?
I guess you need to learn a bit of CSS, and a tiny bit of PHP and HTML..
I presume that you identified the logo image by browsing your theme directory. Now looking in your theme pages to views/page.html.php, you can see that the 'canvaslogo.png' image (<img) is placed into a HTML anchor (<a>) with id attribue 'g-logo' and class 'g-left'.
Both g-logo and g-left are defined in css/screen.css.
It was a struggle to find the #g-site-menu code in all those files, but I have succeed.
The search and searchbox difference I wasn't aware about. I thought it was already in the modules. But that also worked out very well.
The login part i just found out on an older link by you.
Because of all those topics in this forum, it is hard to find an answer..
But I'm very glad you helped me!!
I just download and update gallery3 from github, the canvas theme can't show thumbnail page correctly. Has anyone also encountered this problem? I guess that it maybe cause by the fixes on 8/27 or 8/28. (http://sourceforge.net/apps/trac/gallery/timeline).
1. could someone please point me in the direction of how to change the album title link and breadcrumbs (specifically i want to change the truncation to a longer amount of text before it "...'s") found this one in advanced settings...
2. is it possible to have the total number of photos and views recurse backward from the top to the bottom levels? ie. i have a disney photo site and its set up as such MAGIC KINGDOM -> ADVENTURELAND -> PIRATES OF THE CARIBBEAN -> folder date. is it possible to have it say how many total photos and views are under MAGIC KINGDOM then subtract for ADVENTURELAND then subtract for PIRATES OF THE CARIBBEAN, etc.?
if someone could help with these two things, i will be in heaven (at least until my next question). THANKS!
i am having the same problem. i copied the wind files to the canvas clean and dark image folders but it still isn't working. any other ideas?
DISREGARD... i had the icons into the /clean and /dark subfolders, not the root images folder under the theme.
gallery = http://www.themagicinpixels.com/gallery3
I'm loose an answer myself.
I found the screen_candy.css file and set some values to fit my needs.
But now I have anothter question.
The labeling of the thumbnails seem to have a fixed width. Because the image "delivers" enough space the shortcut name with the "..." dots look unnecessary ugly. Is there a way to display more characters, i.e. the whole name of the picture/thumbnail?
Albums, Pictures, and Tags have cool effects like rounded corners and shadows on the thumbnails (of course is this browser dependent)
However, the SEARCH RESULTS page does not include these cool features of the theme...rounded corners and shadowing. Is this an oversight in implementation?
Could someone point me in the right direction if a coding change can be made easily so that I can make it consistent with the rest of the theme?
By the way, I am using the Custom Fields Plugin, which has its own search function, but when I activated the standard search module, it appeared to be missing the cool effects as well.
And while I'm asking....can I limit the search results caption to the TITLE only, not the TITLE + first part of the description? (I'm using a longer visible_title_length due to length of my album names)
This theme is really nice .
I added fancybox and colorbox support on my server (based on shadowbox integration). The patch is attached.
Please give me your feedback ;-).
I have not installed 'patches' before. I looked at the patch.
Can you give me some decyphering tips on patches? At a glance, it appears I need to add, modify, and delete code in some select files. I want to make sure that this is correct and gain any additional tips before embarking on code mods.
If you are using linux it's quite easy :
- copy the file to your filesystem
- go to clean canvas folder, for example /opt/gallery3/themes/clean_canvas/
- try the patch (no modification really applies) : patch -p 1 --dry-run < patch_filename
- if the output is ok (no error reported), apply the patch for real : patch -p 1 < patch_filename
PS : you can do a backup copy of clean canvas before.
ok, I can also upload the modified files if you prefer, but if you modified some other parts it will override them.
For the search page, you should be able to correct the style by addind the attached search page in the /views subfolder
I also uploaded another patch for the language bar to correct the overlap between the language and login bars on my system.
The dry run yielded no errors, but this was the report from the patch command:
patching file views/photo.html.php
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 17.
Hunk #3 FAILED at 52.
3 out of 3 hunks FAILED
If you can give me the source files, that would be great. Would be easier than asking my hosting company again. I don't mind making customizations if necessary.
In fact, I'm using the custom fields module and will likely have to figure out how to incorporate your mods into that, unless I can figure out how to disable the 'custom fields' search module to use the standard search module. A couple days ago I posed this this very question to the forum as the 'custom fields' search module has bugs in and the standard search module seems to be working fine. (I've gotten no replies to the post as of yet.)
Your help (on clean_canvas) is very much appreciated! Thanks!
CrystalGirl
This line of code in search.html.php:
<?= $item->thumb_img(array("class" => "g-thumbnail")) ?>
is exactly what I needed for the shadow boxes to appear in the search results!
I'll have to use the backup files for the standard search since my hosting company had trouble with the patch. (in case I can figure out how to revert back to the standard search module)
Thanks much for that line of code! Works like a charm!
Breadcrumbs are broken when you click on photos from the tags module with this theme.
Replacing line 136 of views\page.html.php with the following code fixes this: <? if (!empty($breadcrumbs)): ?>
Hi friends,
i would like to show the entire title image on album page, not abcdefg...
i've changed the "visible_title_length" on advanced, but this run only for home page, seem..
For the single album how i should do?
i would like to show the entire title image on album page, not abcdefg...
i've changed the "visible_title_length" on advanced, but this run only for home page, seem..
Should work as the code that I see from the codex page is:
<h2><span class="<?= $item_class ?>"></span>
<? if ($useShadowBox && ($item_class === "g-photo")) : ?>
<? // limit the title length to something reasonable (defaults to 15) ?>
<?= html::purify(text::limit_chars($child->title,
module::get_var("gallery", "visible_title_length"))) ?>
<? else: ?>
<a href="<?= $child->url() ?>">
<? // limit the title length to something reasonable (defaults to 15) ?>
<?= html::purify(text::limit_chars($child->title,
module::get_var("gallery", "visible_title_length"))) ?>
</a>
<? endif ?>
</h2>
Posts: 23
Hi I've just upgraded to Gallery3 and have picked the clean canvas theme. I've had a quick look through the forum and done a search but didn't find anything relevant.
Can you tell me if it is possible to change the alignment of thumbnails and child albums in an album from left to center alignment. The reason for asking is I intend to have only two child albums and no photos in the root album and particularly in wide screen it doesn't look good.
Posts: 9
Using the Dark Clean Canvas theme and there does not seem to be a forgot password or reset password link in this them. Any ideas?
Thanks,
John
Posts: 67
loved the theme but have done a little editing so it'd fit my personal style ;)
tnx for creating this!!
Posts: 32
Hi there!
any idea why the Clean canvas (and its Dark versions) don't show language flags when the language flag module is loaded? This language flag module is working well w/ other themes.
Posts: 32
Finally I could figure this out. The theme embeds a user_languages_block_html.php that the Language flag module can't (or don't) override, for a reason I don't know. I removed that .php file et voila.
Posts: 32
Did anybody succeed it getting this theme family displayed well w/ IE? Here on IE8/IE7, round corners are not OK, and color blend is not done, making this theme looking particularly awckward, whereas it looks so nice on Firefox/Google Chrome/Opera (even if w/ Opera, round corners around photos are not present).
Posts: 1
How would I go about removing the thumbnail rollover that appears?
Posts: 15
Removed the sidebar!
Under .../gallery3/themes/clean_canvas/css, edit the file screen_layout_base.css .
Find the "Layout Containers" section, and then locate #g-sidebar and add display: none between the braces. This removes the sidebar box.
Next, find .yui-t5 #yui-main .yui-b near the bottom of the stylesheet, beneath all of the RTL code. Change margin-right: 210px to margin-right: 20px . This fills in the space where the sidebar box used to be.
I use the "wide" layout and everything seems to flow properly.
I had no use for the slideshow, so I don't mind that the link to it is missing. I could still add it as an icon to the header or footer if I wanted to.
Posts: 32
I wonder if it's possible to toggle the side bar, with a button put somewhere in header for instance. The css lead is not the right one here I guess. Any hint?
Posts: 3
Hello, how can i change the logo size?
I have new logo but it now squashed, i have moved the menu over ok but can't see how to set logo image size.
Any ideas?
cheers
Posts: 32
I guess you need to learn a bit of CSS, and a tiny bit of PHP and HTML..
I presume that you identified the logo image by browsing your theme directory. Now looking in your theme pages to views/page.html.php, you can see that the 'canvaslogo.png' image (<img) is placed into a HTML anchor (<a>) with id attribue 'g-logo' and class 'g-left'.
Both g-logo and g-left are defined in css/screen.css.
You can learn how classes and id applies in CSS from here: http://www.w3schools.com/css/.
You need to use a custom image file and force its size in the css definitions (and of course set the size as attribute of the HTML <img> tag).
Posts: 5
Any ideas why I get "Views:" and "By:" repeated in my Albums when using this theme?
http://highpeak.co.za/gallery3/index.php/
Posts: 43
Please check if you have different notes/info modules running and disable one of them.
marshfire
Posts: 5
That was exactly the problem, both the info and rwinfo modules enabled. Thanks for the quick fix.
Posts: 48
Thank you very much for this theme...
I am working with the grey dragon and this clean canvas theme.
As I like them both very much, It is difficult to choose.
So I want to change a few things. (As a non programmer I rather ask the profis here).
Is it possible to move login/logged in logout and search section in the sidebar above the flags?
And is it possible to put the menu to the right?

If Yes? Please can you help me with this?
If No? Thanks anyway for reading this!
Thank you for your help
Regards,
Tessa
Posts: 25953
moving the menu:
#g-site-menu { margin-left: 400px; }@search: http://codex.gallery2.org/Gallery3:Modules:searchbox
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 48
Again, thank you for the 2 hints.
It was a struggle to find the #g-site-menu code in all those files, but I have succeed.
The search and searchbox difference I wasn't aware about. I thought it was already in the modules. But that also worked out very well.
The login part i just found out on an older link by you.
Because of all those topics in this forum, it is hard to find an answer..
But I'm very glad you helped me!!
Can I buy you a cup of coffee or something?
Regards,
Tessa
Posts: 25953
http://gallery.menalto.com/donate?donate_tag=floridave
Cheers!
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 48
On the way (or maybe already there).
Posts: 29
I'm using 1.0.7 and i'm missing some icons on the permissions set for particular albums:
Any ideas? I have checked the older version and appears all the icons and images are in the correct locations.
Posts: 84
I just download and update gallery3 from github, the canvas theme can't show thumbnail page correctly. Has anyone also encountered this problem? I guess that it maybe cause by the fixes on 8/27 or 8/28. (http://sourceforge.net/apps/trac/gallery/timeline).
Posts: 88
1. could someone please point me in the direction of how to change the album title link and breadcrumbs (specifically i want to change the truncation to a longer amount of text before it "...'s")found this one in advanced settings...2. is it possible to have the total number of photos and views recurse backward from the top to the bottom levels? ie. i have a disney photo site and its set up as such MAGIC KINGDOM -> ADVENTURELAND -> PIRATES OF THE CARIBBEAN -> folder date. is it possible to have it say how many total photos and views are under MAGIC KINGDOM then subtract for ADVENTURELAND then subtract for PIRATES OF THE CARIBBEAN, etc.?
if someone could help with these two things, i will be in heaven (at least until my next question). THANKS!
here is my gallery3 site... http://www.themagicinpixels.com/gallery3
Posts: 25953
Copy the gallery3/themes/wind/images/*.*
to the gallery3/themes/clean_canvas/images/ directory.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 88
i am having the same problem. i copied the wind files to the canvas clean and dark image folders but it still isn't working. any other ideas?DISREGARD... i had the icons into the /clean and /dark subfolders, not the root images folder under the theme.
gallery = http://www.themagicinpixels.com/gallery3
Posts: 6
Hello Everybody,
is there a way to remove the shadow and the round corners from the different views?

Thank you very much in advance!
Best regards,
Hans Pech
Posts: 6
Hello Everybody,
I'm loose an answer myself.
I found the screen_candy.css file and set some values to fit my needs.
But now I have anothter question.
The labeling of the thumbnails seem to have a fixed width. Because the image "delivers" enough space the shortcut name with the "..." dots look unnecessary ugly. Is there a way to display more characters, i.e. the whole name of the picture/thumbnail?
Again, thank you very much in advance!
Best regards,
Hans Pech
Posts: 25953
There is an advanced setting; visible_title_length, that should fix that up for you unless the theme does something special.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 6
Problem solved, thank you very much!
Best regards,
Hans Pech
Posts: 84
I finally found the problem in clean canvas theme after updated gallery3 core on Aug. 29.
Please fix clean_canvas/views/page.html.php, line 26
<? if ($thumb_proportion != 1): ?>
to
<? if (($thumb_proportion = $theme->thumb_proportion($theme->item())) != 1): ?>
Posts: 36
I really like this theme, very pleased with it
Albums, Pictures, and Tags have cool effects like rounded corners and shadows on the thumbnails (of course is this browser dependent)
However, the SEARCH RESULTS page does not include these cool features of the theme...rounded corners and shadowing. Is this an oversight in implementation?
Could someone point me in the right direction if a coding change can be made easily so that I can make it consistent with the rest of the theme?
By the way, I am using the Custom Fields Plugin, which has its own search function, but when I activated the standard search module, it appeared to be missing the cool effects as well.
And while I'm asking....can I limit the search results caption to the TITLE only, not the TITLE + first part of the description? (I'm using a longer visible_title_length due to length of my album names)
Thanks,
CrystalGirl
Posts: 36
I have figured out how to limit the search results caption...editing search.html.php.
So now, my outstanding issue remains in the formatting of the thumbnails with the cool effects.
Thanks for any suggestions that anyone may have.
CrystalGirl
Posts: 11
This theme is really nice
.
I added fancybox and colorbox support on my server (based on shadowbox integration). The patch is attached.
Please give me your feedback ;-).
Posts: 36
I have not installed 'patches' before. I looked at the patch.
Can you give me some decyphering tips on patches? At a glance, it appears I need to add, modify, and delete code in some select files. I want to make sure that this is correct and gain any additional tips before embarking on code mods.
Thanks much!
CrystalGirl
Posts: 11
hi crystal,
If you are using linux it's quite easy :
- copy the file to your filesystem
- go to clean canvas folder, for example /opt/gallery3/themes/clean_canvas/
- try the patch (no modification really applies) : patch -p 1 --dry-run < patch_filename
- if the output is ok (no error reported), apply the patch for real : patch -p 1 < patch_filename
PS : you can do a backup copy of clean canvas before.
Posts: 605
matthieu: I like! Thanks for your patch.
Posts: 36
Hi Matthieu,
My hosting company said they would install the patch for me...just awaiting them to tell me it is complete.
Thanks,
CrystalGirl
Posts: 11
ok, I can also upload the modified files if you prefer, but if you modified some other parts it will override them.
For the search page, you should be able to correct the style by addind the attached search page in the /views subfolder
I also uploaded another patch for the language bar to correct the overlap between the language and login bars on my system.
Posts: 36
Hi,
The dry run yielded no errors, but this was the report from the patch command:
patching file views/photo.html.php
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 17.
Hunk #3 FAILED at 52.
3 out of 3 hunks FAILED
If you can give me the source files, that would be great. Would be easier than asking my hosting company again. I don't mind making customizations if necessary.
In fact, I'm using the custom fields module and will likely have to figure out how to incorporate your mods into that, unless I can figure out how to disable the 'custom fields' search module to use the standard search module. A couple days ago I posed this this very question to the forum as the 'custom fields' search module has bugs in and the standard search module seems to be working fine. (I've gotten no replies to the post as of yet.)
Your help (on clean_canvas) is very much appreciated! Thanks!
CrystalGirl
Posts: 36
This line of code in search.html.php:
<?= $item->thumb_img(array("class" => "g-thumbnail")) ?>
is exactly what I needed for the shadow boxes to appear in the search results!
I'll have to use the backup files for the standard search since my hosting company had trouble with the patch. (in case I can figure out how to revert back to the standard search module)
Thanks much for that line of code! Works like a charm!
CrystalGirl
Posts: 25953
Not sure why this thread was locked, so I unlocked it.
I have updated the theme to be compatible with G3.0.3
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 8
Thanks Dave problem solved now I can get on with filling it up
Posts: 605
Fixed for me too! Thanks Dave!
Posts: 716
Breadcrumbs are broken when you click on photos from the tags module with this theme.
Replacing line 136 of views\page.html.php with the following code fixes this:
<? if (!empty($breadcrumbs)): ?>Posts: 8
As to the thumbnails jumping around on mouseover... mine still do it on the sites I have a gallery in an iframe such as:
http://www.f-106deltadart.com/photogallery.htm
But it works fine when the gallery is by itself on its own page as when I take the above link out of the iframe here:
http://www.f-106deltadart.com/photo_gallery/index.php
Any idea why the thumbnails still bounce around in IE if the gallery is in an iframe?
Posts: 14
Hi friends,
i would like to show the entire title image on album page, not abcdefg...
i've changed the "visible_title_length" on advanced, but this run only for home page, seem..
For the single album how i should do?
many thanks!
davide
italy
Posts: 8
great theme!
is there a possibility for a page selector (Page 1, 2, 3 etc) in Album/Picture Overview?
Posts: 25953
Should work as the code that I see from the codex page is:
<h2><span class="<?= $item_class ?>"></span> <? if ($useShadowBox && ($item_class === "g-photo")) : ?> <? // limit the title length to something reasonable (defaults to 15) ?> <?= html::purify(text::limit_chars($child->title, module::get_var("gallery", "visible_title_length"))) ?> <? else: ?> <a href="<?= $child->url() ?>"> <? // limit the title length to something reasonable (defaults to 15) ?> <?= html::purify(text::limit_chars($child->title, module::get_var("gallery", "visible_title_length"))) ?> </a> <? endif ?> </h2>Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 25953
Not sure if this would help or not with this theme:
http://gallery.menalto.com/node/106250#comment-391161
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 417
http://citywallpaper.org/Moscow/Red-Square/Red-Square-Yard-Wallpaper-1920x1200
Can you please tell me how to display breadcrumb in photo pages?
Thanks.
Posts: 8
Thx i took the paginator.html.php from another theme and extracted the page Number Section. Works well