contao-manager icon indicating copy to clipboard operation
contao-manager copied to clipboard

Add product images or demo screenshots to metadata of bundles

Open MDevster opened this issue 6 years ago • 2 comments

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

MDevster avatar Nov 22 '19 09:11 MDevster

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?

aschempp avatar Dec 02 '19 12:12 aschempp

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
        ...

MDevster avatar Dec 02 '19 14:12 MDevster