Theme: clean canvas

whirlwind

Joined: 2004-06-10
Posts: 23
Posted: Wed, 2011-06-29 11:58

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.

Login or register to post comments
iamwally

Joined: 2011-06-19
Posts: 9
Posted: Thu, 2011-07-07 18:50

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

Login or register to post comments
Amalaswinta

Joined: 2011-06-06
Posts: 67
Posted: Mon, 2011-07-18 08:44

loved the theme but have done a little editing so it'd fit my personal style ;)
tnx for creating this!!

Login or register to post comments
kukrapok
kukrapok's picture

Joined: 2011-07-16
Posts: 32
Posted: Mon, 2011-07-18 11:38

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.

Login or register to post comments
kukrapok
kukrapok's picture

Joined: 2011-07-16
Posts: 32
Posted: Tue, 2011-07-19 07:54

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.

Login or register to post comments
kukrapok
kukrapok's picture

Joined: 2011-07-16
Posts: 32
Posted: Tue, 2011-07-19 11:06

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).

Login or register to post comments
mcrr
mcrr's picture

Joined: 2011-07-31
Posts: 1
Posted: Sun, 2011-07-31 23:41

How would I go about removing the thumbnail rollover that appears?

Login or register to post comments
rudy64

Joined: 2005-01-19
Posts: 15
Posted: Sun, 2011-08-07 02:42

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.

Login or register to post comments
kukrapok
kukrapok's picture

Joined: 2011-07-16
Posts: 32
Posted: Wed, 2011-08-10 12:50

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?

Login or register to post comments
carpman

Joined: 2011-08-10
Posts: 3
Posted: Thu, 2011-08-11 10:51

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

Login or register to post comments
kukrapok
kukrapok's picture

Joined: 2011-07-16
Posts: 32
Posted: Mon, 2011-08-15 14:54

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).

Login or register to post comments
beerygaz

Joined: 2011-04-29
Posts: 5
Posted: Tue, 2011-08-16 09:15

Any ideas why I get "Views:" and "By:" repeated in my Albums when using this theme?

http://highpeak.co.za/gallery3/index.php/

Login or register to post comments
marshfire

Joined: 2010-07-20
Posts: 43
Posted: Tue, 2011-08-16 10:44

Please check if you have different notes/info modules running and disable one of them.

marshfire

Login or register to post comments
beerygaz

Joined: 2011-04-29
Posts: 5
Posted: Tue, 2011-08-16 15:11

That was exactly the problem, both the info and rwinfo modules enabled. Thanks for the quick fix.

Login or register to post comments
Tessalief

Joined: 2009-07-18
Posts: 48
Posted: Wed, 2011-08-17 13:11

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?

into

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

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25953
Posted: Wed, 2011-08-17 13:57

moving the menu:

#g-site-menu {
margin-left: 400px;
}

@search: http://codex.gallery2.org/Gallery3:Modules:searchbox

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
Tessalief

Joined: 2009-07-18
Posts: 48
Posted: Thu, 2011-08-18 08:54

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

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25953
Posted: Fri, 2011-08-19 03:26

http://gallery.menalto.com/donate?donate_tag=floridave

Cheers!
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
Tessalief

Joined: 2009-07-18
Posts: 48
Posted: Fri, 2011-08-19 23:55

On the way (or maybe already there).

Login or register to post comments
coaster1

Joined: 2003-08-24
Posts: 29
Posted: Tue, 2011-08-23 23:20

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.

Login or register to post comments
engineer

Joined: 2005-09-13
Posts: 84
Posted: Mon, 2011-08-29 02:49

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).

Login or register to post comments
timned88

Joined: 2011-08-31
Posts: 88
Posted: Wed, 2011-08-31 02:05

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

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25953
Posted: Fri, 2011-09-02 00:38
Quote:
I'm using 1.0.7 and i'm missing some icons on the permissions set for particular albums:

Copy the gallery3/themes/wind/images/*.*
to the gallery3/themes/clean_canvas/images/ directory.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
timned88

Joined: 2011-08-31
Posts: 88
Posted: Sun, 2011-09-04 18:21

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

Login or register to post comments
hanspech

Joined: 2011-07-31
Posts: 6
Posted: Mon, 2011-09-19 19:58

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

Login or register to post comments
hanspech

Joined: 2011-07-31
Posts: 6
Posted: Mon, 2011-09-19 23:53

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

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25953
Posted: Tue, 2011-09-20 02:59

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

Login or register to post comments
hanspech

Joined: 2011-07-31
Posts: 6
Posted: Tue, 2011-09-20 09:11

Problem solved, thank you very much!

Best regards,
Hans Pech

Login or register to post comments
engineer

Joined: 2005-09-13
Posts: 84
Posted: Mon, 2011-09-26 10:37

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): ?>

Login or register to post comments
crystalgirl

Joined: 2011-09-27
Posts: 36
Posted: Sun, 2011-10-02 12:55

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

Login or register to post comments
crystalgirl

Joined: 2011-09-27
Posts: 36
Posted: Sun, 2011-10-02 15:07

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

Login or register to post comments
matthieu

Joined: 2009-11-03
Posts: 11
Posted: Fri, 2011-10-07 20: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 ;-).

AttachmentSize
clean_canvas_fancybox_colorbox.patch_.txt3.38 KB
Login or register to post comments
crystalgirl

Joined: 2011-09-27
Posts: 36
Posted: Fri, 2011-10-07 21:38

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

Login or register to post comments
matthieu

Joined: 2009-11-03
Posts: 11
Posted: Fri, 2011-10-07 21:51

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.

Login or register to post comments
jnash
jnash's picture

Joined: 2004-08-02
Posts: 605
Posted: Sat, 2011-10-08 00:46

matthieu: I like! Thanks for your patch.

Login or register to post comments
crystalgirl

Joined: 2011-09-27
Posts: 36
Posted: Mon, 2011-10-10 17:20

Hi Matthieu,

My hosting company said they would install the patch for me...just awaiting them to tell me it is complete.

Thanks,
CrystalGirl

Login or register to post comments
matthieu

Joined: 2009-11-03
Posts: 11
Posted: Mon, 2011-10-10 21:42

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.

AttachmentSize
search.html_.php_.txt1.38 KB
clean_canvas_language.patch_.txt1.42 KB
Login or register to post comments
crystalgirl

Joined: 2011-09-27
Posts: 36
Posted: Mon, 2011-10-10 22:57

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

Login or register to post comments
crystalgirl

Joined: 2011-09-27
Posts: 36
Posted: Thu, 2011-10-13 01:08

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

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25953
Posted: Tue, 2012-04-17 01:39

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

AttachmentSize
clean_canvas.zip279.01 KB
Login or register to post comments
artistpjb

Joined: 2012-04-12
Posts: 8
Posted: Tue, 2012-04-17 09:41

Thanks Dave problem solved now I can get on with filling it up :-)

Login or register to post comments
jnash
jnash's picture

Joined: 2004-08-02
Posts: 605
Posted: Tue, 2012-04-17 14:10

Fixed for me too! Thanks Dave!

Login or register to post comments
rWatcher
rWatcher's picture

Joined: 2005-09-06
Posts: 716
Posted: Wed, 2012-04-18 23:08

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)): ?>

Login or register to post comments
mcgeepj2
mcgeepj2's picture

Joined: 2012-05-27
Posts: 8
Posted: Sun, 2012-05-27 12:11

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?

Login or register to post comments
pergraziaricevuta
pergraziaricevuta's picture

Joined: 2007-06-13
Posts: 14
Posted: Mon, 2012-05-28 13:43

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

Login or register to post comments
DrNoD

Joined: 2012-05-23
Posts: 8
Posted: Mon, 2012-05-28 20:21

great theme!

is there a possibility for a page selector (Page 1, 2, 3 etc) in Album/Picture Overview?

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25953
Posted: Mon, 2012-05-28 22:05
pergraziaricevuta wrote:
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>

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25953
Posted: Tue, 2012-05-29 00:20
Quote:
is there a possibility for a page selector (Page 1, 2, 3 etc) in Album/Picture

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

Login or register to post comments
bigu_c
bigu_c's picture

Joined: 2007-10-28
Posts: 417
Posted: Wed, 2012-05-30 05:01

http://citywallpaper.org/Moscow/Red-Square/Red-Square-Yard-Wallpaper-1920x1200

Can you please tell me how to display breadcrumb in photo pages?

Thanks.

Login or register to post comments
DrNoD

Joined: 2012-05-23
Posts: 8
Posted: Wed, 2012-05-30 09:18
floridave wrote:
Not sure if this would help or not with this theme:
http://gallery.menalto.com/node/106250#comment-391161

Thx i took the paginator.html.php from another theme and extracted the page Number Section. Works well

Login or register to post comments