![]() ![]() If the width parameter is not set, it will be set equal to the height parameter and If the height parameter is not set, it will be set equal to the width parameter. You can quickly resize an image, set the width parameters to the size you want (in pixels) and set the height parameters to the size you want. Note: You can change the media prefix in the config/midia.php file Resize Image On The Fly To open a file in the browser, you can do it easily like this: With this way: var midiaObj = $ ( ".midia-toggle" ). refresh: refresh your midia, including empty the value, and implement the settings you change before.value: get the value, after you pick a file.You can get the the value from this following Midia Attributes: If you successfully integrate with other editors, then you can either create issue or change the readme.md file to document how you do it. But, you can also try it yourself to be integrated with other editors like: CKEditor, Summernote, etc. Here we have documented how to use it with TinyMCE 4 and as a stand-alone button. Note: Default, all files that are read and uploaded will be stored in the storage/media folder, so create a folder named media in the storage folder if you have not already created it or you can change the location of the folders you want in config/midia.php. Make sure you've included jQuery before and put these lines after jQuery.Itskodinger\ Midia\ MidiaServiceProvider::class, Put this line into config/app.php in the providers key. ![]() If you're using Laravel 5.6 you can skip this step, since it will be auto discovered by Laravel. You can install this package using these steps. Now, this package is available for production. All directories in the folder will be ignored. This package lets you open your files as inline modal. Simple media manager for your Laravel project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |