Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-08-13 22:51:43
- dimfish
- Member
- Registered: 2006-06-01
- Posts: 72
Which image gallery plugin?
Hi,
I am trying to decide on an image gallery plugin and wondered if anyone can point me in the right direction….
I’d like to have:
- images arranged by category into albums displayed as a list (with a preview image for each album) on my “Photos” section page.
- a thumbnail gallery for each category
- clicking on thumb displays main image in same page
- prev/next nav links underneath main image
- image categories listed in the sidebar when viewing images
I am trying with rss_thumbs but not getting anywhere fast…all advice appreciated : )
Offline
Re: Which image gallery plugin?
Nothing specifically like that is available for Textpattern, but I have been working on a plugin that does exactly that. An example of what I have so far (VERY BUGGY example) can be found here
I expect to start working on this again once I’ve finished my bulk-image upload plugin.
Offline
Re: Which image gallery plugin?
Eric, I didn’t find that buggy from my browser…. it’s coming along very nicely in fact. Is that adding tables to the db?
Offline
Re: Which image gallery plugin?
Yes, it does add one table to the database. One which has the album name, and its associated category of images.
It’s buggy as you’ll note the page navigation (ie. 1 2 3 4 5) doesn’t quite work yet. The plugin as a whole is about ~80% completed. Hopefully, I’ll start again on the EBL_Gallery in the next couple of weeks.
Last edited by TheEric (2006-08-14 03:21:30)
Offline
#5 2006-08-14 08:48:15
- dimfish
- Member
- Registered: 2006-06-01
- Posts: 72
Re: Which image gallery plugin?
- )
Offline
Re: Which image gallery plugin?
dimfish wrote:
Hi,
I am trying to decide on an image gallery plugin and wondered if anyone can point me in the right direction….
I’d like to have:
- images arranged by category into albums displayed as a list (with a preview image for each album) on my “Photos” section page.
- a thumbnail gallery for each category
- clicking on thumb displays main image in same page
- prev/next nav links underneath main image
- image categories listed in the sidebar when viewing images
Actually it’s possible with my bos_image_display plugin and stw_category_tree plugin for sidebar. I just did it for a client. Maybe it’s not something that come out of the box (you need conditionals and understanding some tags), but it’s doable. Let me know if you need examples and help.
Bye
Z
Offline
#7 2006-08-14 10:31:31
- dimfish
- Member
- Registered: 2006-06-01
- Posts: 72
Re: Which image gallery plugin?
Hey Z. That sounds good. I have those two plugins ready.
Can you show me an example of how it works?
Last edited by dimfish (2006-08-14 10:46:54)
Offline
Re: Which image gallery plugin?
I’m talking about that in this thread , but your needs are a bit more heavy (with albums and subcats). I’ll try to post the code I used for my client here in the afternoon. Bye
Z-
Offline
Re: Which image gallery plugin?
Ok, here I am.
First, suppose you have n album of images. Any image should have a thumbs for this to work. You need to create an image category for any album, I.e.: ‘album-1’, ‘album-2’, .., ‘album-n’.
Then, you must assign any of these category the same parent category, let’s call it ‘gallery’. So you have image category ‘gallery’ with his children ‘album-1’-‘album-n’. Create albums simply assigning each image the proper album category.
Create a section called gallery and a page template called gallery.
In the middle of the template place this:
<txp:if_category> <!-- this part is for displaying any specific album -->
<p>You're seeing the <txp:bos_image_category title="1" link="0" /> album:</p>
<div class="big_image">
<!-- the image will be displayed with the caption; if you don't need it, delete capt="1" and wrap_capt -->
<txp:bos_image_display capt="1" sortby="date" sortdir="asc" wrap_capt="div" />
<ul class="img_nav">
<txp:bos_imgprev sortby="date" sortdir="asc" wraptag="li">Previous</txp:bos_imgprev />
<txp:bos_imgnext sortby="date" sortdir="asc" wraptag="li" />Next</txp:bos_imgnext />
</ul>
</div>
<txp:bos_image_index wraptag="ul" sortby="date" sortdir="asc" break="li"/>
<txp:else /> <!-- this part is for displaying the album index with thumbs before you select a cat -->
<txp:bos_subcat_image_index cat="gallery" sortdir="asc" sortby="date" />
</txp:if_category>
This should do the trick for the main part of the page, both album index and album displaying. Let me know if something is wrong, because I changed the code a little from my examples and haven’t checked it out.
For listing the categories in the sidebar, I use stw_category_tree as follows:
<txp:stw_category_tree section="gallery" start="gallery" type="image" cssid="gallery" onclass="active" />
Hope it’s useful. Bye!
Z-
Offline
Re: Which image gallery plugin?
Depending upon whether your categories equate to your albums or independently of the albums, you might want to try photostack. For a pure gallery with albums, sub-albums, thumbnail overviews and individual picture viewing it is superb. The themes are customisable too, so if one of the 3-4 included doesn’t fit, you can work up your own. Much easier image handling than txp but not tied in with txp at the back end.
TXP Builders – finely-crafted code, design and txp
Offline
Re: Which image gallery plugin?
jakob wrote:
Depending upon whether your categories equate to your albums or independently of the albums, you might want to try photostack.
The latest PhotoStack is based on singapore, Noel has done some nicer things on the admin side though. singapore is stable at this point but I don’t know at what state Noel has his code, hoping to see a stable release soon.
Pavian, one of the singapore developers, is actively working on a Wordpress plugin for much tighter integration to the backend. I’m keeping an eye on this cause I plan on doing the same for Textpattern.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: Which image gallery plugin?
I think it’s pretty stable now, but noel wants to add some new features. I’ve not really checked out singapore having stopped looking after finding photostack, which I really enjoy using. I’d be interested to see how much noel has moved away from singapore or how similar they are. Likewise I have no wordpress experience having stuck with txp :-)
I can’t really imagine how the integration works – can you explain more, Bert?
TXP Builders – finely-crafted code, design and txp
Offline