• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Displaying a "file upload" inside PDF attachment

Displaying a "file upload" inside PDF attachment 12 years 3 months ago #21212

Hi,
I see that you can include an image with the placeholder in the PDF attachment which is really nice. I was wondering if there was a way to do the same thing with an uploaded file? I have a form field which will always be an image (.jpg, etc.) If you add the placeholder for this field in the PDF it adds an <a href> link to download the file. I understand why this is done, but I would love to just get the url to the uploaded file (which will always be a picture) and used that in an <img src=""> so it can be displayed in the PDF file too.

Thanks!
Mark
The administrator has disabled public write access.

Displaying a "file upload" inside PDF attachment 12 years 3 months ago #21229

  • silviup
  • silviup's Avatar
  • OFFLINE
  • Moderator
  • Posts: 309
  • Thank you received: 49
Hello,

To achieve this you need to use the {fileupload:path} placeholder, which, as the name implies, returns the absolute path to the uploaded file. You can use this placeholder in an <img> tag as in the following example:

<img src="{fileupload:path}">

Regards!
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!