Type: Bug
While editing a markdown file, hovering the cursor over the link to an image should popup a preview of the image. However, if the path to the image exceeds 259 characters the preview does not appear in the popup, and instead displays the broken image link icon. The markdown preview window renders the image regardless of path length.
Steps to reproduce
- Create a markdown file and open in the VSCode editor.
- Insert a link to an image file where the path is over 259 characters.
- Hover your curser over the link, and the broken link icon appears (see first image below).
- Open the markdown preview pane and note that the image is displayed as expected (see first image below).
- shorten the path of the source image to be 259 characters or less.
- Hover your curser over the link, and image preview appears as expected (see second image below).
VS Code version: Code - Insiders 1.104.0-insider (0ab18bd, 2025-08-15T10:51:05.286Z)
OS version: Windows_NT x64 10.0.26100
Modes:
System Info
| Item |
Value |
| CPUs |
Intel(R) Core(TM) Ultra 7 165H (22 x 3072) |
| GPU Status |
2d_canvas: enabled direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) |
undefined |
| Memory (System) |
63.46GB (42.71GB free) |
| Process Argv |
--crash-reporter-id 95cb8fae-2bdd-4240-a0e6-b694852bf1a4 |
| Screen Reader |
no |
| VM |
0% |
Extensions disabled
A/B Experiments
vsliv368cf:30146710
pythonvspyt551cf:31249598
nativeloc1:31118317
dwcopilot:31158714
dwoutputs:31242946
copilot_t_ci:31333650
g012b348:31231168
pythoneinst12:31251391
6gi0g917:31259950
996jf627:31264550
pythonrdcb7:31268811
usemplatestapi:31297334
747dc170:31275146
pythonpcpt1cf:31345881
6518g693:31302842
9d2cg352:31346308
b99bg931:31349649
usemarketplace:31343026
0g1h6703:31329154
nes-emitfast-1:31333560
replacestringexc:31350595
6abeh943:31336334
envsactivate1:31349248
0927b901:31340060
nb18600_tf:31359574
j8ce-both:31345957
editstats-enabled:31346256
gendocstringf:31358905
asdad-cf:31365767
pylancealldocst:31362265
gemagent1:31368469
cloudbuttont:31366566
todos-0:31366869
v2-prompt:31368460
search_len1:31367733
Type: Bug
While editing a markdown file, hovering the cursor over the link to an image should popup a preview of the image. However, if the path to the image exceeds 259 characters the preview does not appear in the popup, and instead displays the broken image link icon. The markdown preview window renders the image regardless of path length.
Steps to reproduce
VS Code version: Code - Insiders 1.104.0-insider (0ab18bd, 2025-08-15T10:51:05.286Z)
OS version: Windows_NT x64 10.0.26100
Modes:
System Info
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments