Git Product home page Git Product logo

laravel-media-manager's People

Contributors

chriys avatar ctf0 avatar emielmolenaar avatar ivenms avatar onipp avatar palpalani avatar paulkish avatar rohanvakharia avatar sparclex avatar yaroslawww avatar

Stargazers

 avatar  avatar  avatar  avatar

Forkers

smart48

laravel-media-manager's Issues

[BUG]

Laravel version php artisan -v:
Manager version composer info ctf0/media-manager:

is it an issue related to installation or usage ?

Usage

what is the error you are getting ?

First Character on folder and files name missing,
1_Test -> _Test
Upload -> pload

Extra Info "attaching a screen shot would be very helpful"

image

Do You Know A Solution For this Issue ?

Nan

[Question] Update internal Media Controller

Found your fork and we are working on integrating it in a new Laravel 9 setup. For our own internal app/Http/Controllers/Editor/MediaController.php with additional custom code we have

...
$this->storageDisk = app('filesystem')->disk($this->fileSystem);
$this->storageDisk->getAdapter()->setPathPrefix(public_path('/uploads/'.$this->currentProject->id));
$this->storageDiskInfo = app('config')->get("filesystems.disks.{$this->fileSystem}");
$this->baseUrl = url('/uploads/'.$this->currentProject->id);
$this->db = app('db')
            ->connection($config['database_connection'])
            ->table($config['table_locked']);

$this->storageDisk->addPlugin(new ListWith());
..

(only part loaded but we use your namespaces already)

Looking at your vendor/ivenms/laravel-media-manager/src/App/Controllers/MediaController.php we can drop the plugin of course and we should. But how can we load media from the path including public_path('/uploads/'.$this->currentProject->id) (project path)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.