-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
İmage title and alt text shown #40
Comments
If alt text and title as actually used depends on the project template and not Piranha itself. I'll move this issue over to the template repository so we can look at it there! |
hi hakan |
You can add a title and alternative text for the image using the properties of the model. // File: ./Views/Cms/DisplayTemplates/ImageBlock.cshtml`
<img src="@Url.Content(WebApp.Media.ResizeImage(Model, 1110))"
title="@Model.Body.Media.Title" alt="@Model.Body.Media.AltText"> For version 10.0.1 this works. |
Bo reason |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi dear i build application
i upload image and i filled image metatags title and alt text
but its not show image alt text and title in web site
you can see result in website https://www.admoteknikservis.com
version is piranha 8.4.2
best regards
Adem
The text was updated successfully, but these errors were encountered: