1

I would like to generate image automatically on entry save, using the entry Title and a specified image as a background.

I was thinking to use the Preparse Field plugin, but it seems like it's not possible to use the Image Magick commands inside the Preparse fields.

Imager X plugin is also not able to do this.

Any ideas?

1 Answer 1

2

While you don't state the purpose of the image, one might assume that you want to use it as a social share image? If so, this article might come in handy.

Even if your intented use is different I think the above would be a good starting point.

3
  • Thanks for the article. I followed all the instructions, but for some reason the images are not being generated at all. I'm not getting any error, so I'm not sure If the job gets triggered. Any Idea how can I test this out? Commented Jun 28, 2023 at 13:10
  • Ok, It seems like I moved forward a little. Now I'm getting an error Class "modules\jobs\GenerateSocialCard" not found. I have the file GenerateSocialCard.php under modules/jobs and I have the class GenerateSocialCard extends BaseJob specified. Commented Jun 29, 2023 at 6:29
  • I got stuck, so I added new question about this to describe the problem little bit more further. I would be glad If you could take a look. Thanks. Commented Jun 29, 2023 at 13:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.