Sterc / mediamanager

Enterprise grade media management in MODX
https://www.sterc.com/modx/extras/media-manager
7 stars 7 forks source link

Is this still in development? How to use with TVs? #9

Open jenswittmann opened 4 years ago

jenswittmann commented 4 years ago

Hello, i like the idea of the new mediamanager. Is it still in development? I try to add a TV to a resource and set the type as "Image with mediamanager". Inside the TV the new mediamanager open as a popup and i can select a image. Fine. In the field appears the ID and after reload the link gets broken. On the frontend there is online the ID of the image as output.

How to make this work and by the way how to use it with ContentBlocks #4?

gpsietzema commented 4 years ago

Hey @jenswittmann - it's not in active development, but still being used. If we do find some horrible bug we fix and share it here.

Regarding your issue. You need to use a snippets to read that ID and generate an URL out of it: https://github.com/Sterc/mediamanager/blob/development/core/components/mediamanager/elements/snippets/getmmfilepath.snippet.php

For contentblocks you get a new input type which you have to manually add to one of your blocks.

jenswittmann commented 4 years ago

Good morning @gpsietzema , thanks for your quick response! I like the idea very much.

Regarding your issue. You need to use a snippets to read that ID and generate an URL out of it: https://github.com/Sterc/mediamanager/blob/development/core/components/mediamanager/elements/snippets/getmmfilepath.snippet.php

Perfect, maybe it should be documented in the future. If i find time, i'll update the readme (:

For contentblocks you get a new input type which you have to manually add to one of your blocks.

Works. But the cool ContentBlocks Cropping feature is missing. I know cropping is avaible inside MediaManager. I think the problem is to transfer the path to the ContentBlocks Cropping feature, because it must generated before. Is there something in development for this? Maybe it is something that modmore have to do?