Problems displaying one image in an array

14 February, 2022 05:55:15
savit52
Topics: 1
Messages: 1
Hi,

I love your software and I am busy tring to put together a PDF document.

I have tried many different ways of getting the first image or an array to display but it isnt working.

Please see the images and the values I have used.

I have tried using path="0" but it still shows all the images etc.

I am using jetforms plugin
14 February, 2022 06:07:37
E2Pdf
Support
Topics: 7
Messages: 3331
Hi,

It must be possible to convert IDs to images as:

[e2pdf-format-output explode="," output="{0}"][e2pdf-wp key="_product_image_gallery" meta="true" attachment_image_url="true" size="thumbnail"][/e2pdf-format-output] - 1st image

[e2pdf-format-output explode="," output="{1}"][e2pdf-wp key="_product_image_gallery" meta="true" attachment_image_url="true" size="thumbnail"][/e2pdf-format-output] - 2nd image

[e2pdf-format-output explode="," output="{2}"][e2pdf-wp key="_product_image_gallery" meta="true" attachment_image_url="true" size="thumbnail"][/e2pdf-format-output] - 3rd image

and so on.

* "_product_image_gallery" - must be replaced with your key which outputs data as: 16,15,14,13...

We remain at your service.
We would really appreciate your feedback at WordPress.org!