Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Using the new image gallery tags
Any time.
textpattern.org :: find and share Textpattern resources
textpattern.net :: TextBook – Textpattern wiki
Offline
Re: Using the new image gallery tags
Thanks from me, too, nimnix
Peter Gallagher — www.petergallagher.com.au — inquit pty ltd
Offline
Re: Using the new image gallery tags
Why do you need that code?
Refresh Dallas and other Refreshing Cities.
Offline
Re: Using the new image gallery tags
That code is what I used to display the image name and caption for each image.
I put it above the tag for the image display, then used echo statements to display the text where I wanted.
I only did it that way because I didn’t know if the image gallery tags included an easier way to do it.
textpattern.org :: find and share Textpattern resources
textpattern.net :: TextBook – Textpattern wiki
Offline
Re: Using the new image gallery tags
I was sent here from another . What I was looking for was a way to give a list of categories displayed on the right hand side of my section.
I have used the photo page in the photo section and uploaded all the lmages as suggested. What am I missing.
I really just want to group my image categories the way categories are grouped on the article page.
Offline
Re: Using the new image gallery tags
Bump. It appears that Dean’s image tags have been buried for a while and some threads are wondering what these “new tags” are all about. But I remember trying to use these and finding them hardcoded to work a certain way, which just didn’t fit my particular needs. They work great for what Dean had created them for.
TextBook offers an interesting example. Anyone else have some examples of what can be done with these tags?
Last edited by bauhouse (2005-08-12 14:20:51)
Offline
#55 2005-10-26 17:29:49
- domfucssion
- Plugin Author
- Registered: 2004-10-23
- Posts: 39
Re: Using the new image gallery tags
hi,
I have been looking at the photos section on textism and can’t figure out how to make a page like textism/photos
ie a list of links to each set of photos ( i know about category_list but want an thumb /title )
hows that done?
EDIT: I just remembered about article custom – but I would still like a way that supported paging
EDIT AGAIN: doh! I am using image_index and image_display – so I cant use article_custom
Last edited by domfucssion (2005-10-26 17:59:48)
Offline
Re: Using the new image gallery tags
Okay, I still can’t tell how to make a nice gallery index page like the one at textism.com/photos/.
I tried creating a gallery page which has the image_index and image_display tags, and making the root /photos/ page an article containing a manually-built list of links to the individual galleries. This almost works. The problem is that any images which are not in a category show up in their own gallery right on the index page (because it doesn’t have any category [?c=IMAGECATEGORY] in the URL).
Dean has done it somehow, and everyone refers to his canonical example, but I can’t find an explanation anywhere.
Last edited by MichaelZ (2006-03-17 00:54:24)
Offline
Re: Using the new image gallery tags
I think I answered my own question by assembling bits of previous postings in this thread. Use PHP to check for a gallery section querystring parameter: if it’s there, display the gallery, otherwise display the article (which contains your manually-built gallery index).
Put the following in your gallery page template. (Don’t forget to dumb down the quotation marks if you cut and paste):
<code>
<?php
if ($_GET[‘c’]) {
?>
<div id=“gallery”>
<txp:image_index wraptag=“div” label=“Art Gallery” labeltag=“h1” break=”“ limit=“8” />
<txp:image_display />
</div>
<?php
} else {
?>
<txp:article limit=1 form=“static_article” status=“sticky” />
<?php
}
?>
</code>
Last edited by MichaelZ (2006-03-17 16:52:55)
Offline
#58 2006-05-24 00:21:38
- brent
- New Member
- Registered: 2006-05-24
- Posts: 4
Re: Using the new image gallery tags
ahh I just looked through this whole thread and this is very interesting because it’s helping me do what I want to be able to do. So, basically I will have two custom page templates, one for the gallery index and one for the actual gallery category?
I think I got it.
Offline