Download the PHP package michaelfrank/dynamicphoto without Composer
On this page you can find all versions of the php package michaelfrank/dynamicphoto. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download michaelfrank/dynamicphoto
More information about michaelfrank/dynamicphoto
Files in michaelfrank/dynamicphoto
Package dynamicphoto
Short Description Dynamic photo package for blog posts and other features, integrating CKEditor Smart WYSIWYG
License MIT
Informations about the package dynamicphoto
Dynamic Photo
Dynamic Photo is a package to assist in integration with CKEditor, a powerful WYSIWYG. With the package it is possible to send photos dynamically to the server and display them.
✔️ Installing Dynamic Photo
❗️ Attention ❗️
this package is exclusive for Framework Laravel, So you will also need Composer.
...Then publish the provider package.
✔️ Instalando CDN CKEditor
In your VIEW in the script file, paste!
👇🏼 Now paste the code below
❗️ Attention ❗️
in uploadUrl, just modify your route url if you create a different route.
👇🏼 With that, just create a div with the id = "editor" that will be initialized!
Now you just need to create an Api route to send the image data that will be automatically displayed!
=======================
✔️ Creating controller and API route.
You now need to create your API route. Paste this code in your "api" file.
👇🏼 With the route created, run the command below to create the Controller.
Navigate to the created APIs / UploudImages.php file, Open the file.
Now just instantiate the class.
✔️ How to use
Paste this function into your class.
The uploadAction function expects two arguments. the first is the request file, ie the image. The second will wait for the path, where 'Album01' will be the path where you will save your image
========== Help me, any value will be great for my work. This is your way of thanking. Thanks!