Skip to content

Add option to customize height and width of the certificate #26

Description

@jatinkatyal13

Currently, the certificates generated have the fixed height and width of an A4 size paper. Users should be able to store height and width in pixels beside each layout.

To start

ToDo

Backend

  • In file src/services/layouts/schema.js change UPDATE and CREATE schema to accept height and width in the body
  • In file src/plugins/worker/handler.js:82 update the pdf document opts to use the height and width from the layout and use the current as default

Frontend

  • In file frontend/components/layouts/LayoutEditor.js update the component to incorporate height and width input.
  • Also change the ASPECT RATIO of the preview on the right when the user changes height and width.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions