chrisvxd / og-impact

A free API for generating social media images
https://ogimpact.sh
230 stars 35 forks source link

Modify custom templates #16

Open tidusIO opened 4 years ago

tidusIO commented 4 years ago

Hi all, is it planned to allow modifying custom templates?

Greetings Sascha

chrisvxd commented 4 years ago

Hi @saschanuissl, sorry for the slow response!

Sure, you can create custom templates on the pro plan using the template editor!

tidusIO commented 4 years ago

@chrisvxd I know :) But is it possible to modify an existing one? Or is it necessary to create a new one for each template update?

chrisvxd commented 4 years ago

Ah, not at this point! You have to create a new template, and they're treated as immutable.

I've considered adding some kind of forking, but haven't done that yet.

If there's a specific template you want to modify, I can send you the markup!

tidusIO commented 4 years ago

Just thought about, it could be useful to create a company templates for specific stuff like articles. And after modifying the old template, you can switch to newer version in your projects.

Kind of forking like versions could be interesting, but if some parameters are missing in newer version are missing, some errors could occur.

But thanks for your answer @chrisvxd :)