Inserting Picture

Discuss everything related to ApPHP DataForm. All versions. Any questions related to the ApPHP DataForm developing or using should be posted to this forum.

Moderator: alexandrleonenko

Bolu04
Newbie
Newbie
Posts: 6
Joined: Dec 11th, '13, 20:35

Inserting Picture

Postby Bolu04 » Dec 11th, '13, 20:41

Please how can i possibly insert picture placeholder into the DataForm such that i will have a picture on the completed form like a photo card?

administrator
Site Admin
Site Admin
Posts: 6009
Joined: Jan 7th, '09, 23:18
Contact:

Re: Inserting Picture

Postby administrator » Dec 12th, '13, 08:03

What do you mean picture "placeholder"?
Explain please in more detail.

Bolu04
Newbie
Newbie
Posts: 6
Joined: Dec 11th, '13, 20:35

Re: Inserting Picture

Postby Bolu04 » Dec 12th, '13, 11:36

I am referring to a situation where by you have image (inform of passport photograph) on top of the form on the preview or printable page. Kindly see the attachment. Thanks
phototcard.png
phototcard.png (39.3 KiB) Viewed 2189 times

administrator
Site Admin
Site Admin
Posts: 6009
Joined: Jan 7th, '09, 23:18
Contact:

Re: Inserting Picture

Postby administrator » Dec 15th, '13, 07:48

You have to use custom templates with $dform->SetTemplates():
http://www.apphp.com/php-dataform/examp ... 1_demo.php

In this way you may define any layout you want, even to place image at the right-top side like you want.


Return to “ApPHP DataForm”