Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Simple Gallery with Categories
Hi,
Is there a plugin/technique that lets you display multiple image categories (with a pic for each category), in which you click the category image and then view the full gallery?
I stumbled on prad_image_index but have no idea how to implement it!
Help would be appreciated
Offline
Re: Simple Gallery with Categories
Hi Ross,
not sure if it does what you want (because I’ve never used it), but maybe helpful: upm_category_image
Offline
Re: Simple Gallery with Categories
maniqui wrote:
not sure if it does what you want (because I’ve never used it), but maybe helpful: upm_category_image
Mary’s plugin applies to article categories, not image categories unfortunately.
Thanks for the suggestion though :)
Offline
Re: Simple Gallery with Categories
Look at smd_gallery. It can probably do what you need cause I think it can do everything.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#5 2008-07-03 22:27:13
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Simple Gallery with Categories
I think bos_image_index can do that. Nothing wrong with smd_gallery but it’s probably much more than you need.
Offline
Re: Simple Gallery with Categories
Hello,
is this what you’re looking for ?
A portfolio section with many articles (portfolios), and in each article, only the “call” to an image category with <txp:image_index />
(or prad_image_index). A thumbnail is placed in the excerpt of each article and displayed in the articles list of the portfolio section.
françois
Offline
Re: Simple Gallery with Categories
fpradignac wrote:
A portfolio section with many articles (portfolios), and in each article, only the “call” to an image category with
<txp:image_index />
(or prad_image_index). A thumbnail is placed in the excerpt of each article and displayed in the articles list of the portfolio section.
Hi fpradignac,
That’s exactly what I’m after! I cannot – for the life of me – get it working using prad_image_index.
I’m not familiar with image_index (which is obviously the root of the problem). Is it something to do with lists? Do I need accompanying CSS styles? Some instructions for exact process to implement it would be exceedingly helpful!
Thanks very much!
Offline
Re: Simple Gallery with Categories
rossharvey,
I’ll take time to give you a complete “how to get it work” like the last example this evening.
But for now, just try to put <txp:prad_image_index c="portfolio1" textalt="1" />
in your article, after creating an image category named “portfolio1”, and assign this category to your images. It should display all your images, after that you should add a brunch of CSS ;-) : look at the one I used in Arnaud Galy web site.
françois
Offline
Re: Simple Gallery with Categories
…
You will need an image category per portfolio : portfolio1, portfolio2, etc. as you like, and a section portfolio. Create on article for each porfolio.
Articles in the section portfolio:
body =
<txp:prad_image_index c="portfolio1" textalt="1" />
excerpt =<txp:thumbnail id="676" />
(the thumb that will be displayed in the list of articles and on which you can click to access the full portfolio)
Page :
<txp:if_article_list>
<txp:article_custom form=“list_portfolio” section=“portfolio” />
</txp:if_article_list>
<txp:if_individual_article>
<txp:article form=“unique_portfolio” />
</txp:if_individual_article>
Form list_portfolio :
<div class=“resume_portfolio”>
<txp:permlink><txp:title /><txp:excerpt /><br /></txp:permlink>
<p class=“date”>Click to see the portfolio</p>
</div>
Form unique_portfolio :
<h3 id=“portfolio”><a><txp:title /></a></h3>
<txp:body />
For the CSS : look at the example site
Hope that it will help you enough ;-)
Last edited by fpradignac (2008-07-04 17:42:01)
françois
Offline
Re: Simple Gallery with Categories
Thank you very much fpradignac – that is very clear. Will get that tested and online this weekend.
Much appreciated!
Offline
Re: Simple Gallery with Categories
You’re welcome ;-)
françois
Offline
Pages: 1