voidlabs / mosaico

Mosaico - Responsive Email Template Editor
https://mosaico.io
GNU General Public License v3.0
1.71k stars 504 forks source link

Copy image address not work #361

Closed teerapongj closed 7 years ago

teerapongj commented 7 years ago

Hi, I use EC2 CentOS 6.9 NodeJS backend and ImageMagick version below.

node -v v8.4.0 npm -v 5.3.0 ImageMagick-7.0.6-9

upload image and display work normally.

But when i download email.html file and put it to browser new tab. mosaico1

Then copy image address and past to new tab address bar, it does not show image as picture below. mosaico2

Please help suggest how to fix it.

Thanks.

bago commented 7 years ago

What version of mosaico? Can you update to the LAST one?

The url in the downloaded email SHOULD be the same that mosaico uses during the editing: so if you see the image while you edit the email then you should also be able to see the same url outside from the editor (it is the same url). You can even inspect the url of the "working" image inside the editor and compare it with the url in your downloaded email, they should match.

Check your browser network console to see if the url is the same and make sure you're using the latest master code as I committed changes to node backend.

santiph commented 7 years ago

This doesn't work on Gmail. I have latest Mosaico version and I'm testing in local. Is this a known issue?

bago commented 7 years ago

@santiph you are offtopic.. this issue is not about Gmail but mosaico and copy-url. The URL will work in Gmail as long as your mosaico is deployed on a public url that Gmail is able to reach.

teerapongj commented 7 years ago

Thank Bago, After update to last version of mosaico, it work.