Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2004-06-25 20:55:50

nimnix
Archived Plugin Author
Registered: 2004-05-26
Posts: 63
Website

Re: Using the new image gallery tags

Any time.


textpattern.org :: find and share Textpattern resources
textpattern.net :: TextBook – Textpattern wiki

Offline

#50 2004-06-26 00:16:32

pwg
Member
From: *sunny* Melbourne, Au
Registered: 2004-02-24
Posts: 14
Website

Re: Using the new image gallery tags

Thanks from me, too, nimnix


Peter Gallagher — www.petergallagher.com.au — inquit pty ltd

Offline

#51 2004-07-25 17:51:33

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: Using the new image gallery tags

Why do you need that code?

Offline

#52 2004-07-25 19:40:51

nimnix
Archived Plugin Author
Registered: 2004-05-26
Posts: 63
Website

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

#53 2004-09-26 14:54:29

dude
New Member
From: Manchester, UK
Registered: 2004-07-19
Posts: 6
Website

Re: Using the new image gallery tags

I was sent here from another article. What I was looking for was a way to give a list of categories displayed on the right hand side of my Photos 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

#54 2005-08-12 14:19:16

bauhouse
Archived Plugin Author
From: Abbotsford, BC Canada
Registered: 2004-06-29
Posts: 68
Website

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

#56 2006-03-17 00:52:58

MichaelZ
New Member
From: Winnipeg, Canada
Registered: 2004-04-07
Posts: 5
Website

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

#57 2006-03-17 16:48:41

MichaelZ
New Member
From: Winnipeg, Canada
Registered: 2004-04-07
Posts: 5
Website

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

Board footer

Powered by FluxBB