Add a picture to the form

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
spoon
 
 
Posts: 96
Joined: Thu Oct 26, 2017 9:23 am

Add a picture to the form

Post by spoon »

Hello Pablo, a huge request to add to the mail form the ability to send a picture that is in the form itself.
Right now i am doing like this add php code

Code: Select all

 $body .= 'Content-Type: text/html; charset=UTF-8'.$eol;
for transmission to mail the ability to read html.
Then I add the path to the picture

Code: Select all

$message .= "<img src='http://mysait.com/images/logo.png'";
Huge request to implement the transfer of the image that is in the sending form. Thank.
User avatar
Pablo
 
Posts: 21715
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Add a picture to the form

Post by Pablo »

If you set the 'email format' to 'HTML' then you can include custom code in the message.
User avatar
spoon
 
 
Posts: 96
Joined: Thu Oct 26, 2017 9:23 am

Re: Add a picture to the form

Post by spoon »

It worked, but then the data from inputs does not come.
User avatar
Pablo
 
Posts: 21715
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Add a picture to the form

Post by Pablo »

If you use custom HTML then you will have it add variables otherwise the script does not know where to include the data.
See also:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=64476
User avatar
spoon
 
 
Posts: 96
Joined: Thu Oct 26, 2017 9:23 am

Re: Add a picture to the form

Post by spoon »

Спасибо.
Post Reply