Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • torneborn 7 posts 37 karma points
    17 days ago
    torneborn
    0

    Show multiple alt-text fields in image depending on amount of languages

    I'm trying to create multiple input fields for alt-texts (dynamically) depending on the languages that are available in the umbraco project.

    For example if I have 3 different languages available in my project I want every image to have 3 alt-text fields for each of the languages, save this in an array so it can be accessed later.

    How do I do this? I assume I have to create a custom type but I don't know how I can dynamically show fields in a media type?

  • Huw Reddick 196 posts 557 karma points
    16 days ago
    Huw Reddick
    0

    Couldn't you just use the language dictionary for that?

  • torneborn 7 posts 37 karma points
    14 days ago
    torneborn
    0

    This is on media, an image how can i implement the language directory in a media type?

  • Huw Reddick 196 posts 557 karma points
    14 days ago
    Huw Reddick
    0

    this thread may offer some insight into use of alt attribute

    https://github.com/umbraco/Umbraco-CMS/issues/8432

Please Sign in or register to post replies

Write your reply to:

Draft