搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

base64 images not showing up properly

more options

base64 images always look like this when I load them up in a website. In 80% of cases, for the first 0.2 seconds the image displays fine, then disappears. The image loads fine on Safari, so this is definitely an issue with Firefox.

I had a look at the links representing one of the base64 images I encountered in both Safari and Firefox. What I found was that while the first 39 characters of the image links after the "data:image/png;base64" headers were the same, after that the two links were completely different. Another thing I noted was that the Safari image link had 4701 characters after "data:image/png;base64" while the Firefox image link only had 739, meaning that somewhere between 80% and 99% of data (depending on how you look at it) was "lost"by Firefox.

I tried disabling hardware acceleration, using Private Windows (effectively same as clearing cookies), and disabling all my extensions. None worked.

base64 images always look like [https://i.imgur.com/XeIUupm.png this] when I load them up in a website. In 80% of cases, for the first 0.2 seconds the image displays fine, then disappears. The image loads fine on Safari, so this is definitely an issue with Firefox. I had a look at the links representing one of the base64 images I encountered in both Safari and Firefox. What I found was that while the first 39 characters of the image links after the "data:image/png;base64" headers were the same, after that the two links were completely different. Another thing I noted was that the Safari image link had 4701 characters after "data:image/png;base64" while the Firefox image link only had 739, meaning that somewhere between 80% and 99% of data (depending on how you look at it) was "lost"by Firefox. I tried disabling hardware acceleration, using Private Windows (effectively same as clearing cookies), and disabling all my extensions. None worked.

所有回复 (2)

more options

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?

Does the same happen if you copy the base64 image code to the clipboard and open the image in a tab ?

more options

If you mean a link to an image as displayed by Firefox, here: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAYAAACLz2ctAAACBElEQVR4nO3SoW0CAQBAUTwhaYJmByZhhAoUrugimAGNwSFuhS5Qd2vQBHMOFFM0iP/0M1/82e5nOl7Wy+3n1+a8/34M19PH73O+OgyL6e92H0fO/9Nn7w7gbTcgNyDvugG5AXnXDcgNyLtuQG5A3nUDcgPyrhuQG5B33YDcgLzrBuQG5F03IDcg77oBuQF51w3IDci7bkBuQN51A3ID8q4bkBuQd92A3IC86wbkBuRdNyA3IO+6AbkBedcNyA3Iu25AbkDedQNyA/KuG5AbkHfdgNyAvOsG5AbkXTcgNyDvugG5AXnXDcgNyLtuQG5A3nUDcgPyrhuQG5B33YDcgLzrBuQG5F03IDcg77oBuQF51w3IDci7bkBuQN51A3ID8q4bkBuQd92A3IC86wbkBuRdNyA3IO+6AbkBedcNyA3Iu25AbkDedQNyA/KuG5AbkHfdgNyAvOsG5AbkXTcgNyDvugG5AXnXDcgNyLtuQG5A3nUDcgPyrhuQG5B33YDcgLzrBuQG5F03IDcg77oBuQF51w3IDci7bkBuQN51A3ID8q4bkBuQd92A3IC86wbkBuRdNyA3IO+6AbkBedcNyA3Iu25AbkDedQNyA/KuG5AbkHfdgNyAvOsG5AbkXTcgNyDvugG5AXnXDcgNyLtuQG5A3nUDcgPyrhuQG5B33YDcgLzrL/djABJoHHcYAAAAAElFTkSuQmCC

And yes, this is still an issue when I copy an image link into a new tab.