Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.2] UploadableImage trait for Spatie MediaLibrary #32

Merged
merged 3 commits into from
Feb 14, 2018

Conversation

shaoshiva
Copy link
Contributor

@shaoshiva shaoshiva commented Jan 24, 2018

Adds a new trait for managing uploadable images with the MediaLibrary provided by Spatie (https://github.com/spatie/laravel-medialibrary).

This trait extends the original UploadableImage trait and is thus compatible with translations (see https://github.com/spatie/laravel-translatable). In the case of a translatable image, the name of the collection will be composed of the name of the attribute and the locale, separated by a dash (eg. picture-en, picture-fr, ...).

Todos:

  • Update README

@shaoshiva shaoshiva changed the title [WIP] [0.2] UploadableImage trait for Spatie MediaLibrary [0.2] UploadableImage trait for Spatie MediaLibrary Jan 24, 2018
@shaoshiva shaoshiva merged commit f3efe5f into 0.2 Feb 14, 2018
@jguyomard jguyomard deleted the feature/spatie-medialibrary-image-trait branch February 14, 2018 12:56
@tonyyb
Copy link
Member

tonyyb commented Mar 14, 2018

Hi, can you make a 0.2 release of this version ?
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants