TOPIC:

how add an uploaded client photo in de export of the records as PDF ? 1 month 1 week ago #258761

  • oticsl
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 82
  • Thanks: 0
Signatures solved! Just the photo remaining :)

Please Log in or Create an account to join the conversation.

how add an uploaded client photo in de export of the records as PDF ? 1 month 1 week ago #258780

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6113
  • Karma: 3
  • Thanks: 432
Hi,

super!

I took I a break, so I will continue work on photo now

Regards,
Tihana

Please Log in or Create an account to join the conversation.

how add an uploaded client photo in de export of the records as PDF ? 1 month 1 week ago #258807

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6113
  • Karma: 3
  • Thanks: 432
Hi,

put it like this in your pdf_attachment.php
 <td width="20%">
	<?php
                if (count($xmldata)) {
                    foreach ($xmldata as $data) {
                        if ($data[_FF_DATA_NAME] = 'FotoAlumno') {
                            $image = nl2br(htmlentities(substr(is_array($data[_FF_DATA_VALUE]) ? implode('|', $data[_FF_DATA_VALUE]) : $data[_FF_DATA_VALUE], 0, 10000), ENT_QUOTES, 'UTF-8'));
                            echo '<img src="' . $image . '" width="150" height="100" border="0"/> ';
                        }
                    }
                }
                ?>
	</td>
FotoAlumno is name of your upload file for Foto Alumno (not title)

Please let me know the result

Regards,
Tihana

Please Log in or Create an account to join the conversation.

how add an uploaded client photo in de export of the records as PDF ? 1 month 1 week ago #258832

  • oticsl
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 82
  • Thanks: 0
Thanks a lot for all Tihana, but still not working. Dont want to make you waste more time with this. I really apreciate all this. Just need a couple of more things, and all my problems are solved, but will create another post. Thanks a lot :)

Please Log in or Create an account to join the conversation.

how add an uploaded client photo in de export of the records as PDF ? 1 month 1 week ago #258836

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6113
  • Karma: 3
  • Thanks: 432
Hi,

ok, I am working on this too, I need to find what caused problem with image, and I will get back to you :)

Regards,
Tihana
The following user(s) said Thank You: oticsl

Please Log in or Create an account to join the conversation.

Last edit: Post by tihana.krivic.
Moderators: ForumSupport
Time to create page: 0.051 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

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 sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!