Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-10-26 04:36:16

Dorian Graph
New Member
From: Australia
Registered: 2010-10-26
Posts: 8
Website

Gallery plugins?

Hello,

I’ll be starting a new project for a photographer and I’m having a hard time for a gallery plugin that would be used to showcase her, well, photos. ;) As for what I am looking for is nothing too horribly fancy, but something the photographer could easily use, not being too horribly computer-literate, with the obvious neat things like albums, automatic watermark creation, etc.

Sorry if there are gallery plugins somewhere blindingly obvious, I’ve searched the usual places and am yet to find a decent one or one that is still being maintained by the creator.

Thank you.

Offline

#2 2010-10-26 08:30:13

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,538
Website GitHub Twitter

Re: Gallery plugins?

smd_slimbox or smd_gallery for example.

Cheers

Offline

#3 2010-10-26 11:39:04

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: Gallery plugins?

Hello Dorian,

You can use a javascript based script to run a gallery for you, one based on jQuery is a good choice because of TXP’s association with that javascript library but you could equally well use a one based on Moo Tools or any of the other libraries. These scripts are often called plugins too. Color Box and Galleria are two jQuery Gallery plugins that you can use for instance. The TXP plugin smd_gallery can be used to generate the appropriate thumbnails and links to build the Gallery. It is pretty much the essential in the process though there are alternatives too. Typically one assigns images to a TXP image category as a way of defining an album. Have a look here for a bunch of ways of doing it. You might also want to add a TXP bulk image uploader plugin to help your photographer manage her photos.

Offline

#4 2011-03-05 08:19:13

ali.jubilee
Member
Registered: 2011-03-05
Posts: 15

Re: Gallery plugins?

I like galleria, and have figured out how to get it working on a plain html page, but I am absolutely baffled as to how to integrate it with textpattern.. Help?

Offline

#5 2011-03-05 12:35:36

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Gallery plugins?

I’m still using version 1.0, so I might be out of date, but:

Installing/activating Galleria is more or less the same on Txp as what you’ve already done in straight HTML. That is, put the Galleria files on the server, then put the appropriate script and link (for the CSS) HTML tags in your page template. (Note that Txp already has a copy of jquery, in the textpattern directory.) If you prefer you could copy the contents of the Galleria files to pages under Presentation->Styles, then call them with Txp’s “ css tag.

What images do you want to use? The new (in Txp 4.3.0) “ images tag is probably all you need, e.g.:

<txp:images category="doughnuts" html_id="gallery" wraptag="div" break="" />

Or, to use separate thumbnails, as recommended in the Galleria documentation:

<txp:images category="doughnuts" html_id="gallery" wraptag="div" break="">
	<txp:thumbnail link="1" />
</txp:images>

Code is topiary

Offline

#6 2011-03-05 17:00:20

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Gallery plugins?

ali.jubilee wrote:

I like galleria, and have figured out how to get it working on a plain html page, but I am absolutely baffled as to how to integrate it with textpattern.. Help?

Plus a TxpTip

Offline

#7 2011-03-05 18:21:58

ali.jubilee
Member
Registered: 2011-03-05
Posts: 15

Re: Gallery plugins?

jsoo wrote:

I’m still using version 1.0, so I might be out of date, but:

Installing/activating Galleria is more or less the same on Txp as what you’ve already done in straight HTML. That is, put the Galleria files on the server, then put the appropriate script and link (for the CSS) HTML tags in your page template. (Note that Txp already has a copy of jquery, in the textpattern directory.) If you prefer you could copy the contents of the Galleria files to pages under Presentation->Styles, then call them with Txp’s “ css tag.

What images do you want to use? The new (in Txp 4.3.0) “ images tag is probably all you need, e.g.:

<txp:images category="doughnuts" html_id="gallery" wraptag="div" break="" />

Or, to use separate thumbnails, as recommended in the Galleria documentation:

<txp:images category="doughnuts" html_id="gallery" wraptag="div" break="">
	<txp:thumbnail link="1" />
</txp:images>

I must be doing something wrong, because I’m not getting even broken links when I try inputting this into my article.. Please understand that I have a fairly basic grasp of html and only installed txp yesterday night. :)

Offline

#8 2011-03-05 18:28:37

ali.jubilee
Member
Registered: 2011-03-05
Posts: 15

Re: Gallery plugins?

maverick wrote:

ali.jubilee wrote:

I like galleria, and have figured out how to get it working on a plain html page, but I am absolutely baffled as to how to integrate it with textpattern.. Help?

Plus a TxpTip

Sorry.. stuck on step 3..

Offline

#9 2011-03-05 20:49:54

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Gallery plugins?

Welcome to Txp

The linked Tip is fine, but predates Txp 4.3.0. With 4.3.0, you no longer need an image plugin to do this.

Since you’re still figuring out Txp, first thing I’d do is get the images you want loading on the page you want, without Galleria. Have you uploaded the images to Txp using the Content->Images panel? Once you’ve done that, decide how you want to select the images for you gallery (or galleries). The most likely choices are by image category or by assigning an arbitrary list of images to an article. If the former, assign the desired category to the images for each gallery.

Decide where you want galleries to appear. Will this be on a section front page, the home page, individual article pages, or a category pages?


Code is topiary

Offline

#10 2011-03-05 21:45:04

ali.jubilee
Member
Registered: 2011-03-05
Posts: 15

Re: Gallery plugins?

I want to be able to post between two and ten pictures in a post in some other format than a long list of pictures (such as scrolling through them with galleria). I’ve sorted out how to upload images and how to post links to images in my post (although how to get the article image thing to insert images continues to baffle me).

Offline

#11 2011-03-05 21:47:21

ali.jubilee
Member
Registered: 2011-03-05
Posts: 15

Re: Gallery plugins?

Something like this, but in a txp article post:

linktext

Offline

#12 2011-03-05 21:54:44

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Gallery plugins?

ali.jubilee wrote:

I want to be able to post between two and ten pictures in a post

OK, so article images are the way to go. For a given post, put the images you want in the article-image field, using image IDs separated by commas, e.g.:

2,7,14

In the article form (Presentation -> Forms) you’re using to format posts (probably the default form), add the images tag:

<txp:images break=""><txp:thumbnail link="1" /></txp:images>

Alternatively, you could put the above code directly into the article body.

Once you have that working we’ll sort out Galleria.


Code is topiary

Offline

Board footer

Powered by FluxBB