All notable changes to this project will be documented in this file.
- Fixed help text not being displayed
- Fixed Postgres support (thanks to @LINKeRxUA)
- Make thumbnail larger in media edit view
- Updated packages
- Fixed video thumbnail not showing in add media modal after upload
- Added video thumbnail generation support
- Updated packages
- Fixed case where uploading a file from the UI didn't work
- Added
createFromDatafunction that allows saving base64 encoded image
- Updated packages
- Stop image from being upsized when resizing
- Improve
resolveResponseValue(thanks to @Artexis10)
- Improved error handling on upload failure in Vue
- Updated packages
- Make timeout configurable in
createFromUrl - Changed default timeout to 60 seconds instead of 15
- Added
max_original_image_dimensionsconfiguration option that restricts original image size - Updated packages
- Added timeout to
createFromUrl
- Fixed MediaController crashing with invalid ids input
- Updated packages
- Added new
createFromUrlfunction to MediaHandler
- Enforce thumbnails and always try to display thumbnails in the front-end
- Fixed case where
mimeTypewas left totext/plain - Updated packages
- Fixed webp url returning only folder path when webp_name was null
- Replaced
env()usage withconfig()(thanks to @KasparRosin) - Updated packages
- Fixed non-image (for example SVG) upload which was broken in 1.2.1
- Fixed uploaded
webpimage not saving original file aspng, even though it was encoded as such
- Added ability to copy link to clipboard through click (thanks to Rafael Milewski)
- Added config option to overwrite the Media resource (thanks to Rafael Milewski)
- Fixed URL field not displaying (thanks to Rafael Milewski)
- Added ability to overwrite MediaHandler class (thanks to Rafael Milewski)
- Fixed issue with media not being queried on detail view
Initial public release.
- Fixed bug where a numeric value would not be queryable
- Updated packages
- Field UI when in compact mode + add default thumbnail size
- Media modal UI
- run
php artisan migrateto add columns that are required for WebP
- Upload button on resource index page
- Search on upload index page
- WebP support
- Method to modify thumbnail sizes on nova admin
- Method to format Media model serialization
- UI changes in media library modal
- Selected files are now rendered at top when opening modal
- Upload Media button added to resource view that opens stripped media modal for file upload
- Custom formatter option for media model to decrease response size
- Media nav item from under nova resource navigation
- Custom resource view.
- Blade template for nova navigation
- Display resource view in Nova navigation
In your NovaServiceProvider class add or update tools method
use OptimistDigital\MediaField\NovaMediaLibrary;
public function tools()
{
return [
new \OptimistDigital\MediaField\NovaMediaLibrary,
];
}
- run
php artisan migrateto add the new title field
- Pagination
- Title field
- Media edit modal