Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2021-02-05 20:36:53
Image links - what is expected?
Few image tags (like
<txp:image /> etc) link by default to
?context=image&p=id URLs. These links seem to merely land on the home page. Is this the expected result?
Ah, seemingly some image tags can detect
p parameter, so it’s probably okay.
#2 2021-02-05 23:47:37
Re: Image links - what is expected?
The old image tags used to work that way to retrieve the full-size image via the URL, so I think this behaviour is merely a holdover to support the ancient
<txp:image_display> tags – long since decommissioned.
It really should be changed at some point to render a proper image link that the more modern tags can interpret. Honestly, I thought
<txp:image> had been retrofitted to accept the legacy URL format and handle it, but maybe it hasn’t been done, or has been broken in recent iterations of the taghandlers. No great loss, but as I don’t think anyone’s going to be using the old tags any more we could probably safely change the default
<txp:images> to output links to something more useful. No idea what that might be!
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