Is it possible to have uploaded photos printed in contentbuilder record view

  • Posts: 8405
  • Karma: 164
  • Thank you received: 669

TheMuffinMan replied the topic: Is it possible to have uploaded photos printed in contentbuilder record view

Probably because you seem to have a multi-upload on the form.

The code for this would need to be slightly changed then, also make sure that

"case 'upload':" matches the name (not title) of the upload element:
$name = '';
$upload = '';

if (count($xmldata)){
   foreach ($xmldata as $data) {
      $value = nl2br(htmlentities(substr(is_array($data[_FF_DATA_VALUE]) ? implode('|',$data[_FF_DATA_VALUE]) : $data[_FF_DATA_VALUE],0,10000), ENT_QUOTES, 'UTF-8'));
        case 'upload':
          $upload = explode('|',$value);
        case 'email':
          $email = $value;
$upload_count = count($upload);
for($i = 0; $i < $upload_count; $i++){
  <img src="<?php echo $upload[$i]; ?>"/><br />
  <?php echo $email; ?>

Please let me know how this went.


If you are happy, please leave us a small review here to keep us motivated:
(Please turn off your VPN and local Apache prior reviewing as your review might get blocked)

⭐⭐⭐⭐⭐ BreezingForms:
⭐⭐⭐⭐⭐ ContentBuilder:

Get a membership!
  • TonyS
  • TonyS's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 99
  • Thank you received: 0

TonyS replied the topic: Is it possible to have uploaded photos printed in contentbuilder record view

Thanks, I'm not sure what i'm doing wrong but cannot seem to get this to work for me, with your code above I get an error about cannot get image size, I have tried looking in the forums & have added some code which give me a path in the pdf just cannot get the image to show. My upload field name is "upload" my email field name is "fld_email"
I have attached the template file can you please advise what I am doing wrong.

File Attachment:

File Name:
File Size:1 KB
Moderators: ForumSupport
Time to create page: 0.047 seconds

We Are Doing Our Part

Massive discounts on all of our extension subscription plans to help you and your business in these times.

Get Your Subscription Here

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

We are doing our part and support your business with extremely low prices -- For example 6-Months-Subscription for only $9 USD. For as long as necessary.

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!