You are not logged in.
I know it’s still at release candidate stage, but I wanted to put 4.3.0’s new image tags through their paces. I’m impressed, and quite expect to dismantle soo_image into one or two small & specialized plugins. Because the new core tags do pretty much everything I need.
Herewith, a demo with code and examples. Pure Txp, no plugins.
Edit, 2011-04-10: new URL
Last edited by jsoo (2011-04-10 16:23:22)
Txp tags not doing what you expect? Learn to use a tag trace. And the Tag Reference.
Offline
I wanted to use soo_image in the past but I waited for this reason: I’m going to wait for the “lite editions” for specialized functions, using the core ones for basic image handling.
Thanks for the demos: very useful
Last edited by candyman (2010-09-28 15:30:56)
Offline
Niiiiiiice!
The smd plugin menagerie — for when you need one more gribble of power from Textpattern.
Txp Builders – finely-crafted code, design and Txp
Offline
Very nice indeed.
Excellent that this is now possible with just the core.
Offline
Crikey!
Keith
Blyth, Northumberland, England
Capture The Moment
Offline
Question: I note the Photoblog example above assume one image per article. soo_image allows several. Is that possible in TXP 4.3.0, or is that still the domain for a plugin?
Offline
Yes, image_list understands a comma-separated list in the article-image field. See the demo’s ‘et cetera’ page.
Edit, 2011-04-10: updated URL
Last edited by jsoo (2011-04-10 16:24:18)
Txp tags not doing what you expect? Learn to use a tag trace. And the Tag Reference.
Offline
johnstephens wrote:
assume one image per article
Officially, the article image field is to hold one ID only. But the <txp:image_list /> tag — without any other selection attributes — will treat the article image field as a comma separated list of IDs if it’s set as such.
Edit: too late :-)
Last edited by Bloke (2010-09-28 19:30:28)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern.
Txp Builders – finely-crafted code, design and Txp
Offline
That’s awesome, Jeff. Thanks! (Silly of me not to read et cetera before posting.)
Stef, is that a behavior I can count on for the future? Associating multiple images with an article in this way is very useful. I only ask since you said “officially” the pairing of articles to images is 1:1.
Offline