voidlabs / mosaico

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

Broken images in Mosaico #546

Closed barbar72 closed 4 years ago

barbar72 commented 4 years ago

hello,

I'm french, so sorry for my poor langage :(

I have just installed mosaico 0.16 in my PC and when I drag and drop a picture to my mosaico's project, the picture display broken.

grunt console => no error navigator (firefox) => no error (200)

ImageMagik is Ok (with legacy)

versions :

2019-10-18 12_39_18-Clipboard 2019-10-18 12_40_26-grunt

2019-10-18 12_41_44-D__temp

Is somebody can help me, please ?

bago commented 4 years ago

Why are you testing Mosaico 0.16 ? Can you check 0.17.5 ? https://github.com/voidlabs/mosaico/releases/tag/v0.17.5

barbar72 commented 4 years ago

Thanx for tour feedback bago ! I'm new in mosaico and I'm a little bit lost :(

I try to install 0.17.5 "npm init" to create the package.json I don't know what information to do in, then I download a "package.json" at this place : https://github.com/voidlabs/mosaico/find/master And take it for my mosaico project.

npm install npm install -g grunt-cli npm install grunt --save-dev

but when I do "grunt -v" here is the result :

... Registering "tasks" tasks. Tasks directory "tasks" not found. ... Running "jshint:all" (jshint) task Verifying property jshint.all exists in config...OK Files: Gruntfile.js -> all Options: force=false, reporter={}, reporterOutputRelative, sub, jshintrc, browserify Gruntfile.js line 1 col 1 Use the function form of "use strict". line 2 col 12 'require' is not defined. line 5 col 3 'require' is not defined. line 30 col 19 'require' is not defined. line 60 col 11 'require' is not defined. line 63 col 11 'require' is not defined. line 4 col 1 'module' is not defined. ‼ 7 warnings Warning: Task "jshint:all" failed. Use --force to continue. Aborted due to warnings.

bago commented 4 years ago

If you want to build, download the 0.17.5 source code from https://github.com/voidlabs/mosaico/archive/v0.17.5.zip . The package.json is there.

barbar72 commented 4 years ago

YES. thank you bago ! I installed with your link

and... it works !!!!