Nov 5, 2023
0
Level 1
Image generate in Laravel Controller using User Info
Hello,
I have public user profiles in Laravel, where each user has a URL of their resume. The requirement is to generate social media preview images for each user.
What I want to achieve: 1- As soon as the user registers - I want to save an image using their name and the picture they upload. 2- For this purpose, I have a separate 500X500 div on a separate page, completely styled. I want the logic in the controller to access the page convert it to an image and save it in the specified location.
Can someone confirm if they have achieved something? And what is the best way to do it.
Thank you.
Please or to participate in this conversation.