madskristensen / HtmlTools2019

Other
7 stars 8 forks source link

Over-sized placeholder image #1

Open jnegron357 opened 5 years ago

jnegron357 commented 5 years ago

Operating System

Windows 7 with all updates

Installed product versions

Description

Image preview, when no image is found, shows massive placeholder image taking up full height of the screen

Steps to recreate

  1. Open an MVC 5 project
  2. Hover over any html img tag in a view who's source points to Razor code
  3. Example html: <img src="@content.Image" class="img-responsive" />

Current behavior

Displays "No image available" placeholder image in a size that takes up the full height of the monitor

Expected behavior

A much smaller message

Microsoft Visual Studio - image preview bug

jnegron357 commented 5 years ago

I'm disappointed that no one has addressed this yet. This is a real issue and super annoying. If only I could at least disable this feature I'd be happy. As it stands I might have to remove the extention entirely :(

vicenteyu commented 4 years ago

Same here.

siiron commented 4 years ago

Same

AwesomeFred commented 4 years ago

Totally useless on core projects because it is ignorant of the true image path vs what is in the html. And since it displays such an obliterating image, I was forced to disable the whole extension. SUPER ANNOYING!!!!!!!

KairuByte commented 4 years ago

In a similar vein to what @AwesomeFred said, it doesn't understand calls similar to Url.StaticContent("~/assets/media/images/close.svg"), attempting to append the method call to the current directory.

chrisneal72 commented 3 years ago

For anyone that does not know, this issue was resolved in the CI Build. The one from VS Marketplace is the older one. http://vsixgallery.com/extension/8682fae0-2ce9-49ea-93b5-edc92c118e2a/

x2009again commented 2 years ago

Operating System

Windows 7 with all updates

Installed product versions

* Visual Studio: 2019 Pro (16.2.3)

* This extension: 1.0.2

Description

Image preview, when no image is found, shows massive placeholder image taking up full height of the screen

Steps to recreate

1. Open an MVC 5 project

2. Hover over any html img tag in a view who's source points to Razor code

3. Example html: `<img src="@content.Image" class="img-responsive" />`

Current behavior

Displays "No image available" placeholder image in a size that takes up the full height of the monitor

Expected behavior

A much smaller message

Microsoft Visual Studio - image preview bug Try my modified version, the picture is reduced, so that the impact is less.https://github.com/x2009again/htmlTools2019 AFHn2HEeKi

burakt91 commented 2 years ago

For anyone that does not know, this issue was resolved in the CI Build. The one from VS Marketplace is the older one. http://vsixgallery.com/extension/8682fae0-2ce9-49ea-93b5-edc92c118e2a/

@chrisneal72 Unfortunately the link is broken. How can i get the latest version?

chrisneal72 commented 2 years ago

@chrisneal72 Unfortunately the link is broken. How can i get the latest version?

The link I posted was the same link in the readme file to the CI Build. The link in the readme is also broken. I search vsixgallery for html tools and could not find it, so I do not know where to find it now.