I have a website which has a page to display member card inside the page. I also has card design (image.png) with blank content and just background color and logo inside that card design. In this case I want to add the member name and some qrcode above that card design. I get member name from database and I get the qrcode with <img>
tag. Anyone knows how to do that and create a whole card with name and qrcode ?
Asked
Active
Viewed 380 times
0

Antonio
- 755
- 4
- 14
- 35
-
Can you show the expected output? – Ropali Munshi Feb 20 '19 at 04:07
1 Answers
4
You can do it by using the PHP GD library. Below two links will help you to set Text on image and QR code.
To set Text on Image use link https://stackoverflow.com/questions/13267846/how-to-add-text-to-an-image-with-php-gd-library
After that, you need to merge two images to bind the QR code on the image. merge two images