Add optional photo providers, layout studio and scoped integrations
This commit is contained in:
@@ -106,6 +106,10 @@ class TemplateRenderer:
|
||||
return values
|
||||
|
||||
def render(self, template_id, data, profile="color"):
|
||||
if template_id in ("collage", "poster"):
|
||||
from pigway_frame_flow.extensions.layout import LayoutStudio
|
||||
|
||||
return LayoutStudio(self).render(data, profile)
|
||||
spec = self.info(template_id)
|
||||
values = self.resolve(template_id, data)
|
||||
current = datetime.now(ZoneInfo(self.settings.timezone))
|
||||
|
||||
Reference in New Issue
Block a user