A scheme for making birthday cards online

demand: send birthday cards on employees" birthdays

  1. birthday cards (with different subjects each month) are made and uploaded in the system. Birthday cards are composed of problems and pictures, the text floats on the pictures, and the text field is replaced with the corresponding name
  2. replace text
  3. send regularly

Plan: replacement text is replaced by freemarker, mail is sent using springboot mail service (content format is HTML format, pictures are inserted in the corresponding location), and a scheduled task is written for scheduled delivery

question: the card is in the making of birthday cards

problem description:

1, initially intended to use a rich text editor, but found that the rich text editor can not float the text on the picture
2, write a div, to set its background, add a textarea, to set the background is transparent, but you can achieve text floating on the picture, but can not set fonts and other properties, do not know how to transfer to the back end and maintain the format unchanged.

finally: do not know how other companies" solutions are implemented, please do not hesitate to comment!


this problem can be realized in the following two ways:
1. Two large div, as backgrounds, background pictures and small text;
2.div plus a custom rich text editor, which can add a variety of styles to greeting cards

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bfac1c-32229.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bfac1c-32229.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?