Alt texts on images

There are a couple of old bugs reported regarding alt text on images.

Isen’t the “Description” field on the image supposed to be alt text?

Right now in Litium 8 and i think 7 aswell .alt on ImageModel is still null.
Can i overwrite this?

productModel.BaseProduct.Fields.GetValue<IList<Guid>>(SystemFieldDefinitionConstants.Images).MapTo<IList<ImageModel>>()[0].Alt
null
productModel.BaseProduct.Fields.GetValue<IList<Guid>>(SystemFieldDefinitionConstants.Images).MapTo<IList<ImageModel>>()[0].Title
"Fixture.jpg"
productModel.BaseProduct.Fields.GetValue<IList<Guid>>(SystemFieldDefinitionConstants.Images).MapTo<IList<ImageModel>>()[0].Filename
"Fixture.jpg"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.