contao / contao-manager

Contao Manager
GNU Lesser General Public License v3.0
86 stars 33 forks source link

Add product images or demo screenshots to metadata of bundles #501

Open MDevster opened 4 years ago

MDevster commented 4 years ago

Description
Many extensions have only a short description and it is difficult to imagine what the actual function is. It would be good if one or more images or videos could be included under the description.

Example
Description with video or images

Implementation add images to repo folder under

meta/[vendor]/[paket-name]
    - de.yml
    - en.yml
    - ru.yml
    - ...
    - logo.svg (optional)
    - [language]-screen[counter].png  (optional)

For example

meta/[vendor]/[paket-name]
    - de.yml
    - en.yml
    ...
    - de-screen1.png
    - de-screen2.png
    - en-screen1.png
    - ru-screen1.png
    ...

add video links to YAML file

de:
    media:
        - https://videoProvider.com/23j3l2
        - https://videoProvider.com/25677
aschempp commented 4 years ago

I like the idea (as I already liked the Gonda design). I'm not sure how to implement this though. First of all, I would not want to support any remote video link, as we just can't be sure whats loaded. I'm also not sure if we can/should force people to use YouTube… Also, why would the images work differently from the video? We could add the images to the media list as well?

MDevster commented 4 years ago

I´m with you when it comes to the external video links. But I would also not check the normal content according to German law as you know ;). And if videos and pictures are to be supported, it would probably also be necessary to include an alternative description per picture or video.

So then maybe?

Media files are under

meta/[vendor]/[paket-name]/media/

Media section in YAML file

de:
    media:
        - video.mpeg | my video description
        - screen.png | my screen description
        ...