Quantcast
Channel: ASPRunner forums
Viewing all articles
Browse latest Browse all 2586

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

$
0
0
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="http://localhost/xyz/output/mfhandler.php?filename=file.jpg&table=doctypesprintimages&field=doctypelogopic&nodisp=1&page=list&pageType=list&key1=1&key2=1&key3=12&key4=QU&key5=1&rndVal=250" width="54" height="54" /></div>
<div>Hello,</div>
<div> </div>
<div>The Following Document has come to your approval. Please have a look and give your approval or not.</div>
<div> </div>
<p><a href="http://localhost/thisisapprovedurl.php"><img src="http://localhost/xyz/images/approved.jpg" width="68" height="69" /></a>     <a href="http://localhost/thisisrejectedurl.php"><img src="http://localhost/xyz/images/rejected.jpg" width="68" height="67" /></a>     <a href="http://localhost/thisisviewdocument.php"><img src="http://localhost/xyz/images/seedocument.jpg" width="49" height="62" /></a></p>
<div> </div>
<p> </p> 



Thank you in advance.

Viewing all articles
Browse latest Browse all 2586

Trending Articles