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.
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.
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} } }
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.
How to add alt property to any media? I am not able to find a way to add alt property in image cropper.
Not the image cropper but the media type called image itself.
You can edit it and add additional properties that way.
is working on a reply...