Carbon Theme

mincel
mincel's picture

Joined: 2005-10-14
Posts: 134
Posted: Fri, 2006-09-01 06:18

Hi mindless,

I really would like my theme to be in SVN. I am already tracking the changes to that function. The current release (Gallery 2.1) does not allow me to add more block-list without overriding this function. Because the names of the block-lists are hard-coded. If we can find a way to make that function generic then I don't have to override it.

Thanks.

http://www.mincel.com/carbon
http://www.mincel.com/gallery

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2006-09-03 08:03

mincel.. great! Current svn now treats any parameter matching *Blocks as a block list.. I recommend an upgrade() function in your theme to copy albumBlocks2 and photoBlocks2 to something like albumLowerBlocks/photoLowerBlocks so the *Blocks pattern will match.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2006-09-03 09:19

i've gone ahead and updated the theme for 2.2, including the upgrade() function to rename the parameters (I used Upper instead of Lower). it's pretty much ready to go.. ok if I change your custom logo at the top to the standard gallery logo? doesn't really make sense to ship a theme that shows the url of some other site right at the top.

 
mincel
mincel's picture

Joined: 2005-10-14
Posts: 134
Posted: Sun, 2006-09-03 09:49

Thanks mindless, After the theme is added to SVN repository I will try to make it more configurable. You can change the logo to default gallery logo. I will try to make it parametric to change the logo url easily.

http://www.mincel.com/carbon
http://www.mincel.com/gallery

 
psygarden

Joined: 2003-03-25
Posts: 128
Posted: Sun, 2006-09-03 20:54
mincel wrote:
Thanks mindless, After the theme is added to SVN repository I will try to make it more configurable. You can change the logo to default gallery logo. I will try to make it parametric to change the logo url easily.

I have few suggestions for this already great theme:

-Allow users to switch the microthumbs to the left or right side of the photo.tpl

Having them on the left is generally more interesting when you have pictures in your gallery of various sizes, so the microthumbs will always stay on the same place on the screen, and not jump left/right when smaller/bigger images are loaded

- Allow the microthumbs columns/rows to be configured instead of the nr of thumbnails

for embedded sites where often a fixed width is used, saving space is a very important thing, so being able to have the micrthumbs display in 2 by 10 instead of 4 by 6 is an added value!

- Allow the sidebar to be made static

For embedded sites, the floating sidebar causes a lot of incompatibilities... It would be wonderfull to see an option that allows the user to choose between static or floating sidebar. I did a quick hack for this myself to allow my to embed your theme, otherwise it wouldn't have worked with my cms (e107), i don't know from personal experience of other cms users (drupal / joomla / wordpress) have this problem, but i assume they do (specially when you see that wordpress users even created their own more simplistic theme for optimal functionability.

take things into consideration, and thanks for making this theme as good as it is already!

Kind regards,
Rik
www.psygarden.be

 
marknekk

Joined: 2006-09-03
Posts: 28
Posted: Sun, 2006-09-03 21:55

I am another Carbon-Theme-Adept. :-)

Excellent work Mincel!!

But at this moment I'm going crazy about how to get the ImageFrame module to work. I've unzipped the module in my <...>/gallery2/ folder. I've checked also the other posts about that specific topic in this thread, but none helped.

What am I missing? (if more infos about my system are needed just ask me)

Any help is greatly appreciated! Thank you in advance.

I forgot to say I can actually see these files:

BB.gif BBL.gif BR.gif LL.gif RR.gif RRT.gif frame.inc

They are in the /gallery2/modules/imageframe/frames/carbon folder. What do I have to do? I just love the borders!! It's the special touch that makes 'carbon' truly carbon. ;-)

 
mincel
mincel's picture

Joined: 2005-10-14
Posts: 134
Posted: Sun, 2006-09-03 22:06

marknekk, after installing ImageFrame module normally you should see 3 more options for frames in the admin view of the theme. If you don't see the options could you please try deleting your template cache?

http://www.mincel.com/carbon
http://www.mincel.com/gallery

 
marknekk

Joined: 2006-09-03
Posts: 28
Posted: Sun, 2006-09-03 22:24

I'm afraid to say it didn't seem to work. :(

I deleted the template *and* the database cache. The options still don't appear. Another idea? Sorry for bothering you.

PS: I also force-reloaded the Carbon-Theme-Options page.

 
mincel
mincel's picture

Joined: 2005-10-14
Posts: 134
Posted: Sun, 2006-09-03 22:32
 
marknekk

Joined: 2006-09-03
Posts: 28
Posted: Sun, 2006-09-03 22:49

Oh I forgot to say: no, it doesn't appear on the modules page under Site Administration. :( I don't see why.

(Maybe it's stupid but ... could it be because I use Gallery2 in spanish?)

Just for testing purposes I installed the "Quotas" module, and it immediately worked. Gallery2 showed it on the module page.

Now I redownloaded from your site the ImageFrame module, unzipped it again in /var/www/htdocs/gallery2 .. and it still doesn't appear on the module page.

 
mincel
mincel's picture

Joined: 2005-10-14
Posts: 134
Posted: Sun, 2006-09-03 22:48

I dont think it is related to language, maybe you should send this problem to another forum.

http://www.mincel.com/carbon
http://www.mincel.com/gallery

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2006-09-03 23:41

do you have modules/imageframe/module.inc ? if not, you have only the carbon imageframe, but you don't have the imageframe module itself. you can download that from the main download page here.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2006-09-04 01:10

mincel/all- carbon theme is now in svn! The version is 1.1.2 and it works only with current svn (gallery 2.2).
Thanks mincel for contributing this popular theme.
Please try it out and make sure I didn't break anything :-)

 
mikblik

Joined: 2006-06-20
Posts: 34
Posted: Mon, 2006-09-04 04:56

Mincel, Mindless,

Thank you for creating such a great theme and bringing it into compliance with version 2.2 (SVN)!

As one of many users of this theme who have changed the theme dramatically to suite our tastes and website, I would not be able to upgrade the theme as all of my modifications would be lost. Would it be possible to post here exactly what files need to be updated and what in those files need to be changed to make the theme 2.2 compliant?

Such a cheat-sheet would be very appreciated by not only me, but, I am sure, many others!

Thank you,
Mihael

http://www.beastsandbotanicals.com

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2006-09-04 07:36
 
marknekk

Joined: 2006-09-03
Posts: 28
Posted: Mon, 2006-09-04 08:48
mindless wrote:
do you have modules/imageframe/module.inc ? if not, you have only the carbon imageframe, but you don't have the imageframe module itself. you can download that from the main download page here.

You all are allowed to laugh: that was the problem!! Damn... maybe there should be an advisor on the Carbon download site? Just an idea...

Thank you VERY much!! I love this theme. :D

 
mincel
mincel's picture

Joined: 2005-10-14
Posts: 134
Posted: Mon, 2006-09-04 09:35

Thank you very much mindless. First I am going to test if everything works, then I will start improving the theme.

http://www.mincel.com/carbon
http://www.mincel.com/gallery

 
mincel
mincel's picture

Joined: 2005-10-14
Posts: 134
Posted: Mon, 2006-09-04 09:38
Quote:
You all are allowed to laugh: that was the problem!! Damn... maybe there should be an advisor on the Carbon download site? Just an idea...

Thank you VERY much!! I love this theme. :D

LOL. It is my fault, the note is a bit small. "Carbon image frame requires ImageFrame module."

http://www.mincel.com/carbon
http://www.mincel.com/gallery

 
marknekk

Joined: 2006-09-03
Posts: 28
Posted: Mon, 2006-09-04 09:44

Yes, I saw that note, but i thought the "Carbon Image Frame v1.0.0 (Gallery 2.x)"-Module was meant. I didn't know there was "another" ImageFrame Module. Maybe the difference between "Carbon ImageFrame" vs. plain "ImageFrame" is not clear enough. Although maybe I am just a bit picky.

 
ng_tim

Joined: 2006-08-10
Posts: 28
Posted: Fri, 2006-09-08 03:51

Hi Mincel,

First of all, please let me thank you for your great work on providing such a great theme for us.

I'm trying to apply Carbon theme to my gallery (http://www.timexplorer.com/gallery2) recently. As a pilot test, I tried to apply it to a sub-album first. It looks fine for me on all aspects of the theme, except that the crop thumbnail function is never work again! It just show Java applet notinited. And when I check out the Java console, it has the following error:

java.lang.ClassCastException: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream
at ImageCrop.init(ImageCrop.java:163)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

So...maybe the theme has some potential crash with the ImageCrop function? As a note, for other albums with Matrix theme applied currently, the ImageCrop function still works fine.

Many thanks for your hard work and I am looking forward for your reply.
===============================================================

Update: I just feel speechless...after I logout and login again, the ImageCrop function works again...

Sorry for distrubing you guys... :(

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2006-09-08 20:43

(FYI, we don't use java for the crop applet anymore.. current svn uses a javascript/css based UI)

 
johnwalk

Joined: 2006-09-09
Posts: 1
Posted: Sat, 2006-09-09 00:26

Mincel, I will start by saying this is the coolest theme. I can't imagine switching from it.
I do have one tiny problem... How to I get the slideshow micro navigation at the top to show. I do get it in the swing out menu.

Cheers and great work.

 
oxynaz

Joined: 2006-09-11
Posts: 3
Posted: Mon, 2006-09-11 19:02

Hi,

I m with carbon theme it looks very good.

but I have one problem,
I installed BBCLONE to have statistics on my site and after installing bblcone as explained here:
http://codex.gallery2.org/index.php/Gallery2:How_to_embed_counter_code_at_the_page_bottom

my carbon theme was lost, white background, bad fonts, etc.....
if i delete the related page about BBCLONE, then carbon theme is back...

What can I do to have BBCLONE working with your great theme ??

 
mincel
mincel's picture

Joined: 2005-10-14
Posts: 134
Posted: Tue, 2006-09-12 07:43

oxynaz, I could not find a reason why theme is lost. There could be a problem with paths. Because a theme is just a kind of skin on top of Gallery. Could you please try the same procedure with matrix theme?

http://www.mincel.com/carbon
http://www.mincel.com/gallery

 
wookie6262

Joined: 2006-09-09
Posts: 12
Posted: Wed, 2006-09-13 17:44

Thanks for this theme. Even a novice like myself can have a good looking website. This topic has been briefly covered but not in the detail I would need. I have replaced the original logo.gif with my own and would like it to link to the homepage of my site www.simonwootton.com

I don't really know much about coding but can follow instructions. Be gentle with me.

 
mincel
mincel's picture

Joined: 2005-10-14
Posts: 134
Posted: Wed, 2006-09-13 18:46

Hi wookie6262, You need to change theme.tpl file. First, find the line containing

<img src="{g->url href="themes/carbon/images/logo.gif"}" alt=""/>

in the file. Then change that line to something like

<a href="URL_OF_YOUR_HOMEPAGE"><img src="{g->url href="themes/carbon/images/logo.gif"}" alt=""/></a>

http://www.mincel.com/carbon
http://www.mincel.com/gallery

 
wookie6262

Joined: 2006-09-09
Posts: 12
Posted: Wed, 2006-09-13 22:44

Mincel,

Thanks so much. It was easy than I thought it was.

wookie6262

 
menno

Joined: 2006-09-15
Posts: 3
Posted: Fri, 2006-09-15 21:38

Hi Mincel,

First I want to say to you that your theme for Gallery looks really great.

I would like to build a gallery with your theme so that it can function as the 'portfolio' page of my website. Can you tell me how I can link to popimage directly of the gallery page. So that when someone clicks on an image they don't go to the album page but instead get a popup image straight away?

I believe this is the piece of code in navigator.tpl that links the popup button to the javascript. Is it possible to replace the link to the album page with this code?

Quote:
{if $theme.params.fullSize && !empty($theme.sourceImage) && count($theme.imageViews) > 1}
{capture name="url"}{g->url arg1="view=core.DownloadItem" arg2="itemId=`$theme.sourceImage.id`"}{/capture}
<td class="gsActionIcon">
<div class="buttonPopup"><a href="{$smarty.capture.url}" target="_blank" onclick="popImage(this.href, '{$theme.item.title|escape:"quotes"}'); return false;" title="Full Size"></a></div>
</td>
{/if}

Thanks in advance!
Menno

 
wookie6262

Joined: 2006-09-09
Posts: 12
Posted: Sat, 2006-09-16 23:46

Mincel, You kindly answered my last question but I need to ask another. I have followed instructions on how to make index.php my main file. I have deleted main.php(still have a copy in case) and now of course my logo.gif link doesn't work. I redid your instructions above but instead used index.php as my URL

<a href="http://www.simonwootton.com/index.php"><img src="{g->url href="themes/carbon/images/logo.gif"}" alt=""/></a>

For some reason the Logo.gif file still points to main.php. Any suggestions welcome. I have cleared my browsers files etc in case it was using a cached version of my site. Even if I revert to the original code it logo.gif still links to main.php

 
Minna

Joined: 2006-09-17
Posts: 1
Posted: Sun, 2006-09-17 03:04

Hi Mincel,

First of all, thank you for providing a great theme. Best of all!

I'm new at Gallery. I'm building a gallery for a grade school. I would like to add to change the top logo to the school's name. I looked at the logo.gif; however I'm not sure how to edit it. This tell's you how new I am :).

Thanks , Minna

 
Warren
Warren's picture

Joined: 2002-07-24
Posts: 794
Posted: Tue, 2006-09-19 21:45

wookie6262, Looks like you either got it fixed or I'm not using your cache. If you are still seeing the old link, be sure to force refresh bowser by doing keys 'shift F5' together.

Warren~

 
Warren
Warren's picture

Joined: 2002-07-24
Posts: 794
Posted: Tue, 2006-09-19 22:03

Minna, I will simply quote Mincel from above:

mincel wrote:
...You need to change theme.tpl file. First, find the line containing

<img src="{g->url href="themes/carbon/images/logo.gif"}" alt=""/>

in the file. Then change that line to something like

<a href="URL_OF_YOUR_HOMEPAGE"><img src="{g->url href="themes/carbon/images/logo.gif"}" alt=""/></a>

Also I would remind that you should copy this theme.tpl into a sub directory 'local/' and make changes to that copy only. Future updates will not wipe your changes this way. However note when the theme does get updated and check the differences out. Linux example from the new local/... 'diff -u ../theme.tpl theme.tpl > theme.diff' then view the changes in the diff file. You can then patch updates but I digress.

Warren~

 
wookie6262

Joined: 2006-09-09
Posts: 12
Posted: Tue, 2006-09-19 23:12

I got it sorted after a reinstall.

 
Halaster

Joined: 2006-08-25
Posts: 7
Posted: Thu, 2006-09-21 21:12

Hey there, I am wondering what changes I need to make to remove the "Album Actions" box that appears below all of the albums and pictures.

 
losttarget

Joined: 2006-09-06
Posts: 18
Posted: Fri, 2006-09-22 17:41

RE: Remove Album Actions

Log Out...

 
deluxer

Joined: 2006-09-21
Posts: 3
Posted: Fri, 2006-09-22 19:44

First of all: what a great theme you made! Thank you a lot for your work! Really great!

And yes, I also have a question: is it possible to switch the album comments from the left side to the right side? I want to see my pictures on the left side. Is this possible?

You can visit my website (if you are interested) here: www.fotosdeluxe.de

Thank you in advance!

 
Halaster

Joined: 2006-08-25
Posts: 7
Posted: Fri, 2006-09-22 22:18

Thanks losttarget for the wonderful help.

Anyone have a real answer for me ?
I do not need it below every single Gallery and Picture. I have it in the sidebar already, and almost always view the gallery logged in.

For example, when configuring PGTheme there is an action section where you can disable it by setting, "ACTIONS :: Items - Show "Items" actions below thumbnails" to NO. That modifies some code or a file I would assume. Is there any way to do this in Carbon. :)

 
danhogman

Joined: 2006-04-10
Posts: 15
Posted: Mon, 2006-09-25 19:47

I need help inserint a png image as typical footer, with some links on top of it.
If you look at http://www.arhisstudios.com you see that all my pages have it, including the blog.

So I inserted this into the theme.TPL:

<div id="footerimage">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top" width="50%">
<img src="{g->url href="themes/carbon/images/footer.png"}" alt=""/>
</td>
<td align="right" valign="top">
{g->theme include="ads.tpl"}
</td>
</tr>
</table>
</div>

I used the same code that originally inserted the logo in the header.
It works, partially, with some issues:
- Buttons are not on top of the image, and I cannot get them there, just like the blog page.
- it looks centered in IE and Firefox, aligned to the left in Opera. Any Ideas?

UPDATE: nevermind, I think I got it! There is still an issue in Opera, where the footer image background is on top instead ob being on the bottom of the links. it would be so much easier if I could put the image bellow the links!

Any help appreciated!
Thanks

--------
-DH: http://www.arhisstudios.com/gallery

 
tigergal

Joined: 2006-09-26
Posts: 2
Posted: Tue, 2006-09-26 16:37

First let me just say that this theme is amazing. It fits the exact personality I want for my gallery. I do have a couple of little annoying problems that I have a question about. The first, and least important is with the shadow behind the albums. Since the background is grey it causes my shadows to have a white frame which I do not want.

Here is what I'm getting:

vs:

The most annoying problem is getting the picture to default size. I do not want the picture to automatically resize itself when it is being viewed. Even when I go to Edit Album>Album and have nothing in the resize picture field, all of my pictures resize to 640 width which causes them to distort badly (at least on a windows machine):

Any ideas?

Thanks for the wonderful theme.

 
Warren
Warren's picture

Joined: 2002-07-24
Posts: 794
Posted: Tue, 2006-09-26 17:14

tigergal, it seems you are not using the correct frame style for this theme. You get this at http://www.mincel.com/carbon/. As for the full size new window... good question... I would prefer a best fit in window. Firefox gives you the option to view original size when images go beyond window size. This full new window avoids this browser feature option.

Warren~

 
Warren
Warren's picture

Joined: 2002-07-24
Posts: 794
Posted: Tue, 2006-09-26 18:53

My turn ;-)
Thank you Mincel for this inspiring theme. Very modern, clean, and fine. Now to my problem...

I am using the Carbon theme via the latest SVN:
Gallery version = 2.2-svn core 1.1.16
PHP version = 4.3.11 apache2handler
Webserver = Apache/2.0.53 (Fedora)
Database = mysql 3.23.58, lock.system=flock
Toolkits = ArchiveUpload, Exif, NetPBM, SquareThumb, Thumbnail, ImageMagick, Ffmpeg, Dcraw, Getid3, LinkItemToolkit
Acceleration = full/86400, full/21600
Operating system = Linux soyo.sandersonline.org 2.6.12-1.1381_FC3 #1 Fri Oct 21 03:46:55 EDT 2005 i686
Default theme = carbon
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
URL = http://www.sandersonline.org
When using Image Blocks on album pages I get a link to /Array that doesn't exist. When installed on the sidebar all is well. Not sure this is a core bug or new to the SVN.

Warren~

 
marknekk

Joined: 2006-09-03
Posts: 28
Posted: Tue, 2006-09-26 21:33

@tigergal

In the Theme Options you've got to choose the Frame Sytle "Carbon" instead of "Shadow". With Carbon the borders around the images are shown correctly. That's a problem with IE-6 not being able to "alpha-blend" correctly. ;)

It's better to use some other browser like Firefox, Opera, Konqueror, Galeon... especially because of the never ending unpatched (VML) IE-bugs.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2006-09-27 03:26

Warren- problem confirmed.. I'll look into a fix. Changing album.tpl to not use a variable called "link" would fix it, but the fact that a theme's tpl can affect a block needs some investigation.

 
josini

Joined: 2005-12-07
Posts: 14
Posted: Wed, 2006-09-27 11:48

Nice theme! However I use anohter theme because my gallery has to work with WordPress. But I would really like to use the Exif popup from your theme. Which items do I need?

 
marknekk

Joined: 2006-09-03
Posts: 28
Posted: Wed, 2006-09-27 13:45

Apropos Exif...

Are there any compatibility issues with Carbon *AND* the Nikon D50 ??

When I show the ISO sensivity on the Carbon-Exif-Info there appear strange values like "3034949303" and other (apparently) random numbers. Is this because of propietary Exif Info? All the other info values are correctly shown (shutter, aperture, etc.).

Thanks for your patience.

 
brodymulry

Joined: 2006-10-02
Posts: 5
Posted: Tue, 2006-10-03 10:29

Hallo,

I've PM'ed Mincel, but can you guys have a look a what the cause is?

http://www.brodymulry.com/photos

Click on the only photo that is there...(its a Ford Cobra XT)

And then nothing progresses, seems the template failes to load on a individual picture?

I've spent a while on this, at first it thought it was the image toolkit, but i've changed to ImageMagick (from GD) as originally planned, and still no avail. I've checked the default theme (Matrix)...and it works!

So its definetly Carbon 1.1.1...

I'm really open to any susgestions..! on how to get this to work!

- Thanks!

[EDIT]

I've worked out the issue, you need EXIF module installed..otherwise the theme hangs (with blank).

I didnt have this installed, as I went for the minimal install.

Maybe make this a prerequisite for Carbon? I knew Carbon can display it...but anyhow. I've worked it out.

Keep up the good work guys!

 
Warren
Warren's picture

Joined: 2002-07-24
Posts: 794
Posted: Wed, 2006-10-04 20:04
mindless wrote:
Warren- problem confirmed.. I'll look into a fix. Changing album.tpl to not use a variable called "link" would fix it, but the fact that a theme's tpl can affect a block needs some investigation.

Thanks mindless. Come up with anything yet? Also, thanks for getting this into SVN! I was beyond the stable G2 version Carbon worked with and was forced to wait it out. Only had to wait a month or two; Gallery devs rock!

Warren~

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2006-10-04 20:14

we're considering something like this:
http://tools.gallery2.org/pastebin/864
but it has other implications, so not sure yet if we'll use this.

 
amorino

Joined: 2006-10-04
Posts: 1
Posted: Wed, 2006-10-04 23:00

Hi mincel
Thank you for this very nice template.
when i installed it i don't have the ombre under the thrumnail

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2006-10-05 19:04

Warren- carbon+imageblock should be ok in svn now, r14697