Child pages
  • Laravel media library 사용법

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
sudo apt install gifsicle -y


Conversion

...


media 재생성


conversion 변경시 재생성

Code Block
languagebash
$ php artisan medialibrary:regenerate

...

Code Block
languagebash
$ php artisan medialibrary:regenerate "App\Post"


특정 conversion 만 재생성할 경우 --only 옵션 사용

Code Block
languagebash
$ php artisan medialibrary:regenerate --only=thumb --only=foo