Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Link on image causes issues when linking to other site than the image itself #36

@zegoff

Description

@zegoff

Hi!

The feature with clickable/linking images causes issues when you want to link to another site than the image itself.

Example:
![Alt text for image](https://img.youtube.com/vi/C0DPdy98e4c/0.jpg)]
This will link to the videos thumbnail.
Alt text for image

If you implement the command binding like this:
private void HyperlinkCommandBinding_OnExecuted(object sender, ExecutedRoutedEventArgs e) { Process.Start(e.Parameter.ToString()); }

I have tried to wrap the image with a link, like this:
[![Alt text for image](https://img.youtube.com/vi/C0DPdy98e4c/0.jpg)](https://www.youtube.com/watch?v=C0DPdy98e4c)
Alt text for image
But this will still direct you to the image link.

I have tried not to implement the command binding for images, this results in the image not being clickable at all.

Is the feature with linking images necessary when you can achieve the same result when wrapping an image in a link?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions