Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Multiple article images (not thumbnails)
etc wrote #328560:
In single mode,
<txp:images thumbnail="0" />
outputs invalid links (since no thumbnail) anyway. We could change it to output all images instead.
Heh, true. That’s a bit poor isn’t it! That attribute really only makes sense when using form/container. If we could change that default output so it toggled thumbnail+link to full size (1) vs just full-size with no links (0) then yeah, that’d be much better. Nice idea.
Last edited by Bloke (2021-02-05 17:24:35)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Multiple article images (not thumbnails)
Okay, tweaked in 4.8.5. Now <txp:images thumbnail="0" />
outputs full-sized images, and <txp:images />
will output thumbnails when they exist and images otherwise. Comment welcome.
But I have noticed that the generated ?context=image&p=id
do not work at all, and can’t remember whether they ever worked?
Offline