Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2024-07-26 17:37:09
- pexman
- Member
- Registered: 2016-02-27
- Posts: 63
automatic programming
Hi,
I would like to receive such lines.
I tried:
<div><txp:images id=“706,299,300” break=“br” ><img src=”<txp:image_url thumbnail=‘1’ />”><a href=”#lightbox-1”><txp:upm_image ><txp:upm_img_id /></txp:upm_image ></a></txp:images></div>
but got:
<div>
<img src=” https://arteurope.de/images/706t.jpg „> <a href=”#lightbox-1”></a><br />
<img src=” https://arteurope.de/images/299t.jpg „> <a href=”#lightbox-1”></a><br />
<img src=” https://arteurope.de/images/300t.jpg „> <a href=”#lightbox-1”></a><br />
..</div>
„> – why this? And how can I fix that?In the anker-tag should display the id of the image, but upm_image_id doesn`t work. How can I get out the id of the image?
Offline
Re: automatic programming
You should be able to do that nowadays without upm_image
. Try this:
<txp:images id="706,299,300" wraptag="div" break="br">
<img src="<txp:image_url thumbnail='1' />">
<a href="#lightbox-1"><txp:image_info type="id" /></a>
</txp:images>
TXP Builders – finely-crafted code, design and txp
Offline
#3 2024-07-26 18:13:21
- pexman
- Member
- Registered: 2016-02-27
- Posts: 63
Re: automatic programming
Thank you very much. How many hours have I spent tinkering now? So simple. Thank you.
Offline
Pages: 1