Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2021-02-05 17:23:33

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,246
Website GitHub

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

#14 2021-02-05 19:48:24

etc
Developer
Registered: 2010-11-11
Posts: 4,252
Website GitHub

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

Board footer

Powered by FluxBB