I am working on an application (PHP, Oracle) where an email is to be sent with an image (.jpg) embedded in its body. But before the image is embedded in the email body, some text is to be added on it at a specific position. The following seems to be the order in which actions are to be performed:
a.) An image is fetched from a specific location on server.
b.) Some text is written onto the email at some specific location.
c.) The edited image is now embedded in the email body.
Kindly help me out in this.
Image in the Email with dynamic content issue
Moderator: General Moderators
- mecha_godzilla
- Forum Contributor
- Posts: 375
- Joined: Wed Apr 14, 2010 4:45 pm
- Location: UK
Re: Image in the Email with dynamic content issue
Hi,
You'll need to use a graphics library if you want your script to edit the image so that text is overlaying it. Run phpinfo() to see what modules you have installed - GD is normally available but ImageMagick might be there as well.
Alternatively, you could set the image as a background element to a table cell or layer and then just insert the text in that element.
M_G
You'll need to use a graphics library if you want your script to edit the image so that text is overlaying it. Run phpinfo() to see what modules you have installed - GD is normally available but ImageMagick might be there as well.
Alternatively, you could set the image as a background element to a table cell or layer and then just insert the text in that element.
M_G