This topic is locked

Show Image from the record in the html field in same record

1/15/2021 1:40:49 AM
PHPRunner General questions
A
Abhijeet author

Hello Experts,
I have a record with 2 columns, 1 column to upload the logo image and 2nd column is designed to draft a email relating to that record. The email contains the logo which was uploaded in the same record. Now the challenge is that I have to pull the logo into the email template column. The email logo should belong to the image from the same record. Here is what I wrote as html, this html will go as html email to the recepient. I believe this is right and the recepient will be able to see the image well in his email as well. But I want your views. I am a noob in php and i got the image link from browser image info and put in html. I am afraid if this code is correct to view from internet. Please give your expert advise on correctness of below code. I am able to see this image in the record html column well. but still I doubt if this is the right way to call image from the record into html which will be viewed over internet. please advise.



<div><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=28053&image=1&table=forumtopics&amp;table=doctypesprintimages&amp;field=doctypelogopic&amp;nodisp=1&amp;page=list&amp;pageType=list&amp;key1=1&amp;key2=1&amp;key3=12&amp;key4=QU&amp;key5=1&amp;rndVal=250"; width="54" height="54" /></div>

<div>Hello,</div>

<div>&nbsp;</div>

<div>The Following Document has come to your approval. Please have a look and give your approval or not.</div>

<div>&nbsp;</div>

<p><a href="http://localhost/thisisapprovedurl.php"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=28053&image=2&table=forumtopics"; width="68" height="69" /></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://localhost/thisisrejectedurl.php"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=28053&image=3&table=forumtopics"; width="68" height="67" /></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://localhost/thisisviewdocument.php"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=28053&image=4&table=forumtopics"; width="49" height="62" /></a></p>

<div>&nbsp;</div>

<p>&nbsp;</p>


Thank you in advance.

A
Abhijeet author 1/16/2021



Hello Experts,
I have a record with 2 columns, 1 column to upload the logo image and 2nd column is designed to draft a email relating to that record. The email contains the logo which was uploaded in the same record. Now the challenge is that I have to pull the logo into the email template column. The email logo should belong to the image from the same record. Here is what I wrote as html, this html will go as html email to the recepient. I believe this is right and the recepient will be able to see the image well in his email as well. But I want your views. I am a noob in php and i got the image link from browser image info and put in html. I am afraid if this code is correct to view from internet. Please give your expert advise on correctness of below code. I am able to see this image in the record html column well. but still I doubt if this is the right way to call image from the record into html which will be viewed over internet. please advise.



<div><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=93564&image=1&table=forumreplies&amp;table=doctypesprintimages&amp;field=doctypelogopic&amp;nodisp=1&amp;page=list&amp;pageType=list&amp;key1=1&amp;key2=1&amp;key3=12&amp;key4=QU&amp;key5=1&amp;rndVal=250"; width="54" height="54" /></div>

<div>Hello,</div>

<div>&nbsp;</div>

<div>The Following Document has come to your approval. Please have a look and give your approval or not.</div>

<div>&nbsp;</div>

<p><a href="http://localhost/thisisapprovedurl.php"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=93564&image=2&table=forumreplies"; width="68" height="69" /></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://localhost/thisisrejectedurl.php"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=93564&image=3&table=forumreplies"; width="68" height="67" /></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://localhost/thisisviewdocument.php"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=93564&image=4&table=forumreplies"; width="49" height="62" /></a></p>

<div>&nbsp;</div>

<p>&nbsp;</p>


Thank you in advance.


Hello Experts,
Anyone there, please help on the above topic.