magma-labs / til

Today I Learned Server Implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ad image is broken

kitpao opened this issue · comments

Steps to reproduce

Open any post on Safari on desktop, I am using the link to this post:
https://til.magmalabs.io/posts/a24912a57a-how-to-run-a-single-test-from-a-file-using-cypress

Expected behavior

Be able to see the ad for code reviews

Actual behavior

It shows a broken image

System configuration

Operating System: macOS Big Sur

Browser: Safari 14.1.1

Captura de Pantalla 2021-06-25 a la(s) 13 55 28

Maybe the problem is , the picture tries to be downloaded from dropbox and safari is blocking that, if you open the picture in a new tab, it request permissions..this can be the solution.
https://help.dropbox.com/files-folders/share/set-link-permissions#disable-downloads

Screen Shot 2021-06-25 at 16 56 07

The long-term fix for this could be to serve images from a regular CDN. Thanks fir opening the issue @kitpao and thanks for identifying the root cause @chubuntuarc