prestaconcept / PrestaImageBundle

Allow to crop local and remote image before uploading them through a classic form.
MIT License
23 stars 19 forks source link

URI "/url_to_base64" is not callable. #64

Closed treeindark closed 4 years ago

treeindark commented 4 years ago

ERROR : The controller for URI "/url_to_base64" is not callable. Controller "PrestaImageBundle:Default:urlToBase64" does neither exist as service nor as class..

on SF5

treeindark commented 4 years ago

It work but need some change

add in services.yaml

```

Presta\ImageBundle\Controller\DefaultController: calls:

replace Controller by AbstractController in DefaultController

change route _controller: Presta\ImageBundle\Controller\DefaultController:urlToBase64Action

J-Ben87 commented 4 years ago

See https://github.com/prestaconcept/PrestaImageBundle/pull/66 which solves all compatibility issues

J-Ben87 commented 4 years ago

Solved by https://github.com/prestaconcept/PrestaImageBundle/pull/66