Mathias

關於我

開發者資訊
名稱 Mathias
加入日期 July 30, 2024
參與開發的附加元件數量 0 個附加元件
此開發者的附加元件平均分數 未經評分

我所發表的評論

Open Image In New Tab

評分: 3 / 5 顆星

In some cases, open image opens the wrong image

Steps to reproduce:

1.receive an email which includes two images inline
2. right-click on the first image, select " open image in new tab" .
3. the second image is shown in the new tab
4. when clicking on the second image, also the second image is shown. There is no way to show the first image in large in a new tab

This happens mostly for one sender, i was unable to reproduce this with emails I myself sent (using TB or outlook)

Attached is the heavily cropped (for confidentiality) body of an email where this happens.

As can be seen, in the text part both images are named "image.png"

In the HTML part, they are references with a different src
<img src=3D"cid:ii_lv4nfuqa0" alt=3D"image.png" width=3D"558" height=3D"434">
and
<img src=3D"cid:ii_lv4nj84a1" alt=3D"image=.png" width=3D"558" height=3D"414"">

but the alt= tags and the filename on their own bodyparts also has them named the same (" image.png")

I suspect that this fact (same filename/alt=tag) is what causes TB/this extension to locate the wrong (last seen?) image to show. Does it maybe build an index of inline images using the alt= tag or filename= and thus lose reference to an earlier image should two or more parts happen to have the same?

M