Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
wet_for_each_image: Lists images by employing user supplied markup
Okay, you are definitely allowed to yawn: YAGP.
But this one’s different as it doesn’t doesn’t even render images: wet_for_each_image is a kind of master plugin whose only competence is to select images eligible for display, and then it delegates subsequent tasks to a worker markup whose duty is doing all of the hard work.
Offline
Re: wet_for_each_image: Lists images by employing user supplied markup
Hey, this is pretty handy.
Shoving is the answer – pusher robot
Offline
Re: wet_for_each_image: Lists images by employing user supplied markup
It surely is, I was scratching my head until I checked out your sample page. This is nice and clean and extensible. Thanks Robert!
Last edited by soulship (2006-11-10 00:47:08)
Offline
Re: wet_for_each_image: Lists images by employing user supplied markup
As a clarification to Logoleptic’s comment added over there: wet_for_each_image and wet_thumbfilter are not competing in the same application area but are rather complementary. wet_thumbfilter iterates through selected articles, while wet_for_each_image runs over the images collection.
Offline
Re: wet_for_each_image: Lists images by employing user supplied markup
Have you thought of the having category attribute default to the current category if in a category page? That would make it perfect for category based galleries. Could always use asy_wondertag, already for that though.
In fact I think this combined with upm_image meet most of the desired more powerful Image tag requests
Shoving is the answer – pusher robot
Offline
Re: wet_for_each_image: Lists images by employing user supplied markup
Have you thought of the having category attribute default to the current category if in a category page?
I would second this request. This would eliminate then need for gallery plug-ins and any .js flavor gallery script you want could be used (and changed or updated) easily.
Last edited by soulship (2006-11-10 16:41:21)
Offline
Re: wet_for_each_image: Lists images by employing user supplied markup
hakjoon wrote:
Have you thought of the having category attribute default to the current category if in a category page?
Not thought of it yet, but it makes sense… Will fire up the trusty Eclipse. Stay tuned.
Offline
Re: wet_for_each_image: Lists images by employing user supplied markup
I am very excited to try and integrate this into livesearch results…
Can you image having this pull up images whose category is a search term as well as articles? Ahh if only images were keyworded also… and links. BOOOOOO.
Yay for the plugin though…
Offline
Re: wet_for_each_image: Lists images by employing user supplied markup
hakjoon wrote:
Have you thought of the having category attribute default to the current category if in a category page?
I’ve added a form
attribute, too. This would allow “computed/dynamic” worker markup by getting the form name from a custom field or even elsewhere – one sick mind could imagine lots of possibilites with that.
Offline
Re: wet_for_each_image: Lists images by employing user supplied markup
hakjoon wrote:
In fact I think this combined with upm_image meet most of the desired more powerful Image tag requests
You’re right. Thanks! Now I can do what I was hoping to do in a much simpler way.
Offline
Re: wet_for_each_image: Lists images by employing user supplied markup
Wet,
I’m glad so many folks are getting good use out of this one :)
Maybe we can all come together and post our examples? That way we could spur one another on to greater heights.
Thanks as usual man. You truly are a computer.
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: wet_for_each_image: Lists images by employing user supplied markup
Really nice plugin! One question – on your site, you have a lightbox gallery example. I used the same code for the form and it works fine, only issue is there are two br tags after each image, and I can’t see how to get the images to line up side by side, they go down from top to bottom!
Offline