Copied to clipboard

Flag this post as spam?

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


  • Harsh Dagariya 7 posts 87 karma points
    Mar 17, 2022 @ 06:33
    Harsh Dagariya
    0

    Alt tag value from image while using image cropper

    I am using umbraco heartcore and using graphql I am fetching list of data. In that data, I am fetching image object as well and that image is uploading using image cropper. So my question is, I want alt attribute of that image. So is it possible to fetch alt using graphql?

    Also I am attaching code snippet below for your better understanding.

    query { allWellnessHubProgram( orderBy: createDate_DESC, ){ items{id, title, description, programAuthor, jWPlayerPlaylistID, category, totalSessionStages, level, environment, tags, bannerImage{cropUrl(alias: "Crop")}, renderSection}, pageInfo{hasNextPage, endCursor} } }

  • Lindow 154 posts 1301 karma points
    Mar 17, 2022 @ 12:27
    Lindow
    0

    Hi there.

    By alt attribute do you mean the alt name for images? If so, have you added an alt property to the image media type? It doesn't exist there by default.

  • Harsh Dagariya 7 posts 87 karma points
    Mar 17, 2022 @ 12:33
    Harsh Dagariya
    0

    How to add alt property to any media? I am not able to find a way to add alt property in image cropper.

  • Lindow 154 posts 1301 karma points
    Mar 17, 2022 @ 12:35
    Lindow
    100

    Not the image cropper but the media type called image itself.

    You can edit it and add additional properties that way.

Please Sign in or register to post replies

Write your reply to:

Draft