[SOLVED] Â Embed Image In Email |
4/19/2015 10:40:03 PM |
PHPRunner General questions | |
![]() Issue with emailing selected records . I get all data except image . Using in root URL to get image . \n\n"; |
|
![]() |
Sergey Kornilov admin 4/20/2015 |
Make sure that image URL is correct. Print HTML code of this email on the page instead of sending it or send it as plain text so you can see the exact HTML code and find what is wrong. |
![]() |
lefty author 4/21/2015 |
Yes I have already tried that . Just need to view source code in email . |
![]() |
Sergey Kornilov admin 4/22/2015 |
Yes, by default all upload fields are stored in JSON format unless you choose 'Basic upload' option. |
![]() |
lefty author 4/22/2015 |
Yes, by default all upload fields are stored in JSON format unless you choose 'Basic upload' option. Check this article: http://xlinesoft.com/phprunner/docs/rename_uploaded_file.htm It explains how to extract the name of the file from JSON. PS. There is also an error in your code, remove the trailing slash from image URL.
|
![]() |
Sergey Kornilov admin 4/23/2015 |
Yes, this need to be done on Server tab. $fileArray[$i]["usrName"] = strtolower($fileArray[$i]["usrName"]);
|
![]() |
lefty author 4/25/2015 |
Yes, this need to be done on Server tab. That code example does contain info on image name extraction. The following line of code is the one that renames the image: $fileArray[$i]["usrName"] = strtolower($fileArray[$i]["usrName"]);
|
![]() |
Sergey Kornilov admin 4/27/2015 |
A few things come to mind when I see this.
while($data = $button->getNextSelectedRecord())
|