[Tien Theme] Thumnailed Sub-Albums?

NBrady

Joined: 2005-10-07
Posts: 77
Posted: Fri, 2006-02-03 03:00

I wanna know how to display thumbnails for sub-albums instead of text links, I read the theme thread in and attempted the code replacement unsuccessfully. Any help would be greatly appreciated.

Also, I wanna know how to not show the item description.

------------------------------------------
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.3.10 apache
Webserver = Apache/1.3.34 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.10 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a
Database = mysql 4.0.25-standard
Toolkits = ArchiveUpload, ImageMagick, NetPBM, Gd, mplayer
Operating system = Linux sh60.surpasshosting.com 2.4.28-ow1 #2 SMP Wed Dec 29 04:36:59 EST 2004 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Fri, 2006-02-10 12:51

I am leaving work early today. When I am at home I have about an hour. I'll see if there is anything I can do in that short time. One thing I need to do within that time as well is install the whole ting again :P

But doing it shouldn't be very difficult. At the worst I need a separate section in the template for dis-/enabled... 
______________________
I made a theme for G2, try it :)

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Fri, 2006-02-10 18:25

OK!

It is done now, you can get the updated theme from here.
I didn't did a lot of testing with it; I'll assume it works perfectly unless told otherwise ;)

Actually changing it was a funny story :P
I said in the post above that I had one hour to see what I could do. And within that hour I fixed the "on" button for my pc which in some way failed to depress (switching off the pc after 4 seconds) (took 20 minutes because I'd never taken off the front panel before :S). Then I needed 10 minutes to upgrade g2 and I did the most of the change in 30 minutes. Luckily the change wasn't that hard. Although I might not have delivered the most beatifull code :(

(But then again; I already put in like three tables for layout purposes, so I can't screw up a lot more)
______________________
I made a theme for G2, try it :)

 
NBrady

Joined: 2005-10-07
Posts: 77
Posted: Fri, 2006-02-10 23:23

I installed and upgraded and it checked to show thumbnails but still no luck

www.nbhq.net/gallery

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Sat, 2006-02-11 09:06

Can someone else verify this? I tried on 2 different installations; just overwrote the old files and it worked...

NBrady,
Did you do all the upgrade steps? Was the cache cleared? Did you check the per album settings?
It is just weird because I cannot get it to not work...
______________________
I made a theme for G2, try it :)

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Sat, 2006-02-11 09:10

Cr*p. I see I've forgotten about a setting for the nr of album columns (which is named subalbum columns I should change that). But I set a fixed with for the description part when using thumbnails. So if you use any setting that is higher then 2 it won't display properly....

I'll see if I fix that later today.
______________________
I made a theme for G2, try it :)

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Sat, 2006-02-11 13:29

ok, newest version 1.4 fixes the problem I described.
btw, to go from 1.3 to 1.4 I had to delete all cache manually before it worked, perhaps you need to do that as well?
______________________
I made a theme for G2, try it :)

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Sun, 2006-02-12 11:59
NBrady wrote:
I installed and upgraded and it checked to show thumbnails but still no luck

www.nbhq.net/gallery

Someone posted his gallery here http://limustang.com/photos. As you can see it does actually work for other people ;)

 
NBrady

Joined: 2005-10-07
Posts: 77
Posted: Mon, 2006-02-13 04:26

Are you planning on making this theme compliant with 2.1?

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Tue, 2006-02-14 14:29

not before 2.1 is out... 
______________________
I made a theme for G2, try it :)