Skip to content

Comments

docs: add AnchorTagHelper documentation to Media module#18817

Open
Manuel-dev-ing wants to merge 2 commits intoOrchardCMS:mainfrom
Manuel-dev-ing:main
Open

docs: add AnchorTagHelper documentation to Media module#18817
Manuel-dev-ing wants to merge 2 commits intoOrchardCMS:mainfrom
Manuel-dev-ing:main

Conversation

@Manuel-dev-ing
Copy link

@Manuel-dev-ing Manuel-dev-ing commented Feb 10, 2026

This PR adds documentation for the AnchorTagHelper in the Media module.

Fixes: #7005

@github-actions
Copy link
Contributor

Thank you for submitting your first pull request, awesome! 🚀 If you haven't already, please take a moment to review our contribution guide. This guide provides helpful information to ensure your contribution aligns with our standards. A core team member will review your pull request.

If you like Orchard Core, please star our repo and join our community channels.

@Manuel-dev-ing
Copy link
Author

@dotnet-policy-service agree

Copy link
Member

@Piedone Piedone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, but these are actually documented now: https://docs.orchardcore.net/en/latest/reference/modules/Media/#razor-image-resizing-tag-helpers. Would you like to update that section instead?

@Manuel-dev-ing
Copy link
Author

Sure, I'd like to work on that section. But I have a question, since this change request seeks to address the issue: "The new AnchorTagHelper in the multimedia module should be documented in #7005." Is it poorly worded and therefore not addressing a real need?

@Piedone
Copy link
Member

Piedone commented Feb 13, 2026

The issue is outdated. I'd assume that somebody added the docs section and didn't know about the issue (after all, we have a lot).

@gvkries
Copy link
Member

gvkries commented Feb 13, 2026

Actually, I think the issue is still valid. Only the <img> tag helpers are documented, not the one for <a> tags.

The AnchorTagHelper in the Media module allows you to generate links (`<a>`) to files in the Media Library using logical paths, automatically resolving the correct URL.


`asset-src` attribute is used to specify a logical path in the Media Library. It will be converted to a public href URL at render time.. e.g.:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo? Should be asset-href, right?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's a typo, it should be: asset-href.

@Manuel-dev-ing
Copy link
Author

@Piedone. Could you let me know about the update to the section you mentioned? What exactly do I need to update?

@Piedone
Copy link
Member

Piedone commented Feb 14, 2026

I was wrong, sorry, indeed a new section is needed.

@Piedone Piedone requested a review from gvkries February 20, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The new AnchorTagHelper in the Media Module needs to be documented

3 participants