leemunroe / grunt-email-workflow

A Grunt workflow for designing and testing responsive HTML email templates with SCSS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cdnify weirdness

toby1kenobi opened this issue · comments

It's probably just me, but I can't get the cdnify/cloudfiles part to work properly with Rackspace. What I'm seeing is image assets are uploaded to my container, in

<rackspace container>/src/img/...

but the paths in my emails get changed to

http://<rackspace uri>/dist/img/...
commented

@toby1kenobi - It's not you. The cloudfiles task was never updated properly when imagemin was implemented. We'll get a fix / PR for this.

Line 173 of Gruntfile.js should be 'src': '<%= paths.dist_img %>/*', NOT 'src': '<%= paths.src_img %>/*',

Thanks!

Pushed a fix.

@taeo Thanks for the solution