core
core copied to clipboard
Replace thumbnail servlet call to Image REST API call
On this file
https://github.com/dotCMS/core/blob/master-3.6/dotCMS/WEB-INF/velocity/static/htmlpageassets/templatecustom_field.vtl#L26
We're still hitting the /thumbnail servlet for rendering a thumbnail of the selected Template on the Add/Edit Page form. We should call the Image REST API instead and use the available filters and handlers.
Passed QA. Tested locally in: master-3.6 // Ubuntu 14.04.1 // Postgres 9.3 // Chrome