Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
More powerful image tag
I’ve looked, and I don’t see much mention of it around, but I could really use an image tag that can produce lists and not just single images.
It could work exactly the same way that <txp: article> works:
- Using forms
- Outputting multiple images
- Category
and sectionaware: (images don’t get assigned sections, Duh!) - Sort them by whatever criteria you like.
- Outputting caption, title, alt-text fields according to the form.
Seems like a very natural and elegant way to give the image tag a little more oomph!
Last edited by mrdale (2006-02-01 19:22:08)
Offline
Re: More powerful image tag
I’m hoping to do this with upm_image. Life just keeps getting in the way lately.
What are you thinking in terms of section aware?
I was hoping to implement it so it could take as input:
- image ID or list of image IDs
- image URLs or list of URLs
- lists of combined URLs and IDs
- category
Source of input could be specified in the tag. One’s I thought of were:
- article image field
- URL
- Any custom field
Maybe set a precedence so you could do article_image unless something is in the URL or something like that.
And forms support which currently already in upm_image, plus thumbnail, popup etc.
I’m hoping to separate it from the img_popper and make it it’s own plugin.
Anything else you can think of?
Last edited by hakjoon (2006-02-01 19:16:31)
Shoving is the answer – pusher robot
Offline
Re: More powerful image tag
> hakjoon wrote:
>What are you thinking in terms of section aware?
My bad… images don’t have sections assigned to them, silly. :)
Forget that I mentioned it. What you have sounds good…
BTW: Don’t you think this would be a good way to patch the standard image tag?
Last edited by mrdale (2006-02-01 19:21:20)
Offline
Re: More powerful image tag
mrdale wrote:
BTW: Don’t you think this would be a good way to patch the standard image tag?
We can always submit it as a patch once all bugs and features are worked out. I know the patch guidelines seem to look favorably at items that are already working hacks or plugins.
In some ways it’s faster to prototype features as a plugin because revisions don’t need to be tied to official releases. Specially for public side stuff it’s just as easy to do it as a plugin. Admin side is another story.
Shoving is the answer – pusher robot
Offline
#5 2006-02-13 06:50:44
- Logoleptic
- Plugin Author

- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: More powerful image tag
<cite>hakjoon wrote:</cite>
<blockquote>I’m hoping to separate it from the img_popper and make it it’s own plugin.
Anything else you can think of?
</blockquote>Will you announce in this thread when you have a working prototype? This would be perfect for something I’m working on right now.
Offline
Re: More powerful image tag
<a href=“http://forum.textpattern.com/viewtopic.php?id=3618”>glx_gallery</a> returns image lists. I’m using a slightly hacked version of it in <a href=“http://hblack.net/hblack/”>this</a> site. Having said that. It would be wonderful for the plugin’s functionality to be integrated in txp
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: More powerful image tag
Logoleptic wrote:
Will you announce in this thread when you have a working prototype? This would be perfect for something I’m working on right now.
I’ll make a point of announcing it here when I have something.
Shoving is the answer – pusher robot
Offline
Re: More powerful image tag
How do you tell glx image to return a list, or is it section and category aware based on the url?
Offline
Re: More powerful image tag
> mrdale wrote:
> How do you tell glx image to return a list, or is it section and category aware based on the url?
I use the plugin on a per article basis
Here’s a sample call
<code><txp:glx_gallery category=“2002soloshow” usecaption=“1” pop=“1” /></code>
where <code>2002soloshow</code> is an image category.
The plugin works with Dean’s <a href=“http://forum.textpattern.com/viewtopic.php?id=1228”>dca_pop</a>
I guess an easy method would be to use it in a custom field: ie
<code><txp:if_custom_field name=“custom1”><txp:glx_gallery category=”<txp:custom_field name=“custom1” />” usecaption=“1” pop=“1” /></txp:if_custom_field></code>
… but I did not test this to make sure it works
Last edited by colak (2006-02-13 16:51:39)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: More powerful image tag
I created a textbook feature request area for image handling related thoughts. I thought it might be good to start consolidating a lot of the info scattered around the forum.
If anyone needs logins drop me a message.
Shoving is the answer – pusher robot
Offline
Re: More powerful image tag
Maybe a good, user friendly, way for multiple images on a per article basis would be to have another field in the Advanced Options (Image category), similar to the “Article image” field but instead of a single image it would output all images in an image category. (choice of thumb with popups or full size would be cool)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#12 2006-02-14 17:25:03
- Logoleptic
- Plugin Author

- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: More powerful image tag
hakjoon: Thanks for starting the feature request section; that’s a great idea. :)
colak: Try wet_thumbfilter. I was able to get the photo gallery I was working on up and running with a combination of wet_thumbfilter and upm_img_popper.
Last edited by Logoleptic (2006-02-14 17:27:13)
Offline
Re: More powerful image tag
<blockquote> Logoleptic wrote:
> colak: Try wet_thumbfilter. I was able to get the photo gallery I was working on up and running with a combination of wet_thumbfilter and upm_img_popper.
</blockquote>
glx_gallery works fine. The issue here is to make suggestions re the core of txp.
ie it would be wonderful if txp had advanced enough gallery features on its own as opposed to us relying on the plugins.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#14 2006-08-08 03:47:04
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: More powerful image tag
Colak:
How did you hack glx_gallery to return an image lists. I am desperately trying to locate a similar solution. All I need is a list of images based on a category (not thumbnails) that a user can click to display the image …
Thanks
Offline
Re: More powerful image tag
:( sorry progre55
since my post on february hblack.net uses a hacked version bas_lightbox v.03 plugin which also suports image categories. I can post you that one if you wish:)
Last edited by colak (2006-08-08 06:59:11)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline