Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
Re: Gallery plugins?
smd_slimbox or smd_gallery for example.
Cheers
Offline
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
Re: Gallery plugins?
I’m still using version 1.0, so I might be out of date, but:
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
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:
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
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:
Offline
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