Hook into media upload?

Posted In Voyager
  • john-wight 2 years ago
    So I very new to Laravel + Voyager bear with me.
    
    I am using Voyager BREAD to upload media. It works great but I want to capture the media meta data (path, size, dimensions and so on ...) and save it to a table.
    
    Are there any hooks i can leverage in Voyager before upload or do I need write something custom. 
    
    cheers and thank you for your time.

    So I very new to Laravel + Voyager bear with me.

    I am using Voyager BREAD to upload media. It works great but I want to capture the media meta data (path, size, dimensions and so on ...) and save it to a table.

    Are there any hooks i can leverage in Voyager before upload or do I need write something custom.

    cheers and thank you for your time.

  • devdojo 2 years ago
    Hey John,
    
    Thanks for the question. Unfortunately right now there is no way that you will be able to do this; however, I am open for pull requests in the latest version. We are working on releasing a version 1.0 around this summer when Laravel 5.5 is available.
    
    Perhaps we can add a `media` table in the database and then this could be an option that you can toggle in the settings. There is a branch here: [https://github.com/the-control-group/voyager/tree/v1.0-pre-release](https://github.com/the-control-group/voyager/tree/v1.0-pre-release) if you would like to put in any pull requests. I think this could be a feature that adds some good value.
    
    Thanks again. Talk to you soon.

    Hey John,

    Thanks for the question. Unfortunately right now there is no way that you will be able to do this; however, I am open for pull requests in the latest version. We are working on releasing a version 1.0 around this summer when Laravel 5.5 is available.

    Perhaps we can add a media table in the database and then this could be an option that you can toggle in the settings. There is a branch here: https://github.com/the-control-group/voyager/tree/v1.0-pre-release if you would like to put in any pull requests. I think this could be a feature that adds some good value.

    Thanks again. Talk to you soon.

  • malachi-cruz 2 months ago
    Hook has some media uploads on this I need to make aspire partition to work on this it has much knowledge to get on it. I need to prepare an assignment on this so I took [essays writing help](https://www.essaymama.com/essay-writing-help/) this was the company that have some professional to work along with all these qualities that were good to have on it.

    Hook has some media uploads on this I need to make aspire partition to work on this it has much knowledge to get on it. I need to prepare an assignment on this so I took essays writing help this was the company that have some professional to work along with all these qualities that were good to have on it.

Please login or signup to leave a response.

Login

or Sign Up

Sign Up

or Login
×
Want to create your own SAAS?

I can teach you to create your own Software as a Service. Click here to learn more!

Visit SAAS Adventure!