Siriux Modification request (Cool Stuff!)

mikeage
mikeage's picture

Joined: 2005-01-23
Posts: 138
Posted: Sun, 2006-09-03 13:56

Based on the comments here, I implemented a similar solution at http://mikeage.net/content/gallery/updates/ . I also added a lightbox based resizing for vertical images, with a zoom to allow one to see (in the lightbox frame) the full resized image. I posted the steps I used on my site at http://mikeage.net/2006/09/03/gallery-2-lightbox/, which is probably easier than retyping everything here.

Unlike most of the posts here, my theme is based on classic, not matrix/siriux -- maybe this might help someone.

Thanks to all those who commented here, I couldn't've done it without you!

 
genu

Joined: 2006-04-24
Posts: 9
Posted: Wed, 2006-09-20 04:24

Hey take a look at this: http://rbya.org/beta/gallery/main.php?g2_itemId=1138

why doesnt the lightbox show the image when it clicked?

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Wed, 2006-09-20 05:42

When you look at the link it says http://rbya.org/beta/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=

The itemId needs to have a number after it like the link you posted.

 
idex

Joined: 2006-08-05
Posts: 3
Posted: Thu, 2006-09-21 20:05

I switched over to litebox.

http://www.mattder.com/wp-gallery2.php?g2_itemId=10.

Works the same and less bloat.

 
sallybelgium

Joined: 2004-12-12
Posts: 12
Posted: Fri, 2006-11-03 12:59

Is the opticalpork theme finished already? Where can I find it?
I just LOVE that theme, and I would like to try it out on my site!!

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Fri, 2006-11-03 13:08

It's not finished, nor guaranteed to work on newer G2 installs. The code has been submitted to gallery-contrib on sf.net ( http://gallery-contrib.svn.sourceforge.net/viewvc/gallery-contrib/trunk/gallery2/themes/opticalpork/ ) and I see bharat has done some cleanup on it. Try it out. :)


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org

 
sallybelgium

Joined: 2004-12-12
Posts: 12
Posted: Fri, 2006-11-03 13:45

I will, thank you very much Hobbel

 
sallybelgium

Joined: 2004-12-12
Posts: 12
Posted: Fri, 2006-11-03 14:48

Fatal error: Smarty error: [in gallery:themes/opticalpork/templates/album.tpl line 87]: syntax error: unrecognized tag: $child.title|markup|wordwrap:10:" ":true (Smarty_Compiler.class.php, line 436)

 
JohnEvans

Joined: 2006-11-03
Posts: 2
Posted: Fri, 2006-11-03 23:07

Hah, that was just what I needed. About to set it up on my new Therabreath site

Thanks :)

 
gumnaam1

Joined: 2006-05-04
Posts: 4
Posted: Thu, 2007-02-22 22:38

I am confused by this.
PeerList block will fetch peers of $Item. In this case since we are at the album (album.tpl).
it fetches peers of the album, but what I need is the peers of the Album's child photos.

I am trying this with Gallery 2.2 rc1.

Any pointers guys ?

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Thu, 2007-02-22 22:48

Feed the PeerList with the first item of the album. That will give you all the items in the album.

 
gumnaam1

Joined: 2006-05-04
Posts: 4
Posted: Fri, 2007-02-23 02:16

thanks lv,
but how do i feed the first item of the album. I checked the code here, it doesn't seem to do so

Quote:
g->block type="core.PeerList" class="Peers" windowSize=$theme.childCount first=$first}

,
Also an album can have sub albums, which I don't want in the peer list, I want only photos, I guess
I can use canContainChildren , to filter those out, but I still need to know how to feed the first item
in the album to the peer list block

thanks

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Fri, 2007-02-23 02:45

Take a look at how I did it in the greypop theme. Look in albumlight.tpl and the tpl files in the module.