Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-08-19 15:49:57

dl33
Member
Registered: 2006-06-17
Posts: 192
Website

How to create url-based image gallery without creating articles

Hi all,
I want to create an image gallery that shows all thumbnails on one page, which then point to a full-size view of the image including a title, description etc.
I know that I can use upm_image to extract the alt text, the title and the description of an image, yet I would still have to create an article for the url of the detail page. Also upm.image needs to be passed the id of the image.
Is there an easier was to do what I want to do? (Create an image gallery with a detail page without having to create articles?)
Thanks a lot already,
dl33

Offline

#2 2007-08-19 16:03:47

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: How to create url-based image gallery without creating articles

Why not using rss_thumbpop – It does popup-page with information of image automatically, but uses JavaScript so maybe it isn’t the best.

Cheers!

Offline

#3 2007-08-19 16:06:44

dl33
Member
Registered: 2006-06-17
Posts: 192
Website

Re: How to create url-based image gallery without creating articles

Thanks Gocom, I really like the idea of this plugin, but yes, I do not want to use javascript and also I dont think that using popups is a good idea. Any other ideas?

Offline

#4 2007-08-19 16:48:58

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: How to create url-based image gallery without creating articles

there’s probably a way, but I usually use photostack for this and use alongside txp in a subdirectory.


TXP Builders – finely-crafted code, design and txp

Offline

#5 2007-08-26 23:44:46

dl33
Member
Registered: 2006-06-17
Posts: 192
Website

Re: How to create url-based image gallery without creating articles

OK, I figured it out, at least for small image galleries. I created a small blog post about the procedure as it is rather lengthy…

Last edited by dl33 (2007-08-26 23:45:37)

Offline

#6 2007-08-27 01:51:20

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: How to create url-based image gallery without creating articles

Thanks for sharing your technique; it could come in very handy.

I notice you’re using asy_wondertag. That plugin is a small miracle, and has recently allowed me to pull off some really interesting things.

Offline

#7 2007-08-27 06:57:09

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: How to create url-based image gallery without creating articles

dl33 – do you have a link for the gallery you created? Quick look at your article, but did not see a link..

Offline

#8 2007-08-27 09:23:48

dl33
Member
Registered: 2006-06-17
Posts: 192
Website

Re: How to create url-based image gallery without creating articles

The site is officially not up yet, as in doesn’t have any content, but I used this over at http://www.dianathijssen.com

Last edited by dl33 (2007-08-27 09:58:15)

Offline

#9 2007-08-27 10:26:05

dl33
Member
Registered: 2006-06-17
Posts: 192
Website

Re: How to create url-based image gallery without creating articles

@gemal: I do not know how your pages and forms are arranged, but if you use the same code as for the detail page but just plug it between the <title> tags, I am sure that it would work.
I think that the tag for the Image alt text is something like <txp:upm_img_alt />, but you might have to check the upm_image documentation.

Offline

Board footer

Powered by FluxBB