-
Notifications
You must be signed in to change notification settings - Fork 152
Closed
Description
Hi I'm trying to call cl_image_upload_tag() in a Symfony2 controller. Because this is a helper function and not part of the Cloudinary or Uploader classes, I can't seem to call the function in a civilized php way.
$cloud_form = \cl_image_upload_tag('image_id', array("callback" => $this->get("router")->generate("cloudinary_callback")));
In Sf2 I need to handle the logic in a controller and then echo out the result in Twig: {{ cloud_form|raw }}
People with more ability than me say that we need to improve the composer instructions for the Cloudinary code set.
Metadata
Metadata
Assignees
Labels
No labels