Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thumbnail generator #1

Open
hadimansouri opened this issue Mar 6, 2017 · 1 comment
Open

thumbnail generator #1

hadimansouri opened this issue Mar 6, 2017 · 1 comment

Comments

@hadimansouri
Copy link
Member

A thumbnail generator could improve performance of server specifically when clients request image CMS items.

some useful links:
https://packagist.org/packages/intervention/image
https://packagist.org/packages/knplabs/knp-snappy

@mostafabarmshory
Copy link
Member

At the current version, there is an api to get the content of a cmc:

GET: /api/cms/{id}/download

Actually, download is an binary resource which is bind in to the content. So, we can add another binary resource as follow:

GET: /api/cms/{id}/thumbnail

By the way, this is an binary resource with managed directly by the server. I add the api and wait for implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants