Comments (8)
can you show how you are using this? are you using != CDN('img/inspired/bg.jpeg')
?
from express-cdn.
@anujbheda can you determine the version of libjpeg you're using locally and then on Heroku?
from express-cdn.
I am using the string only output feature of express-cdn to create a reference to the background image which is later injected into the DOM using jQuery Backstretch
- var href = CDN('/img/inspired/bg2.jpg', { 'raw' : true });
- href = href.replace(/\n*$/, '');
script(type="text/javascript")
var bg_img = $.trim("#{href}");
$.backstretch(bg_img, {speed: 500});
The libjpeg version on my local machine is 8d.
I found the jpeglib.h file in the /usr/include directory on Heroku. The version number states its 62 which would be 6b.
Note that I did receive the same error on my local machine when I did not have libjpeg installed.
from express-cdn.
Have you had any luck in solving this issue @anujbheda?
from express-cdn.
@anujbheda let me know!
from express-cdn.
Same thing happening on nodejitsu!
from express-cdn.
I believe I have resolved this issue per the 0.1.0
release, please try downloading the new version from npm, for a changelog, view https://github.com/niftylettuce/express-cdn#changelog -- let me know if this works now
from express-cdn.
@anujbheda I just re-released 0.1.0
by the way, so please reinstall if you already have installed it. Had to fix a bug with optipng-bin and jpegtran-bin paths.
from express-cdn.
Related Issues (20)
- Express CDN doesn't support video/mp4
- Error when installing express-cdn HOT 2
- Error during install on node 6 due to outdated optipng-bin and jpegtran-bin dependencies HOT 2
- Files do not upload to s3 HOT 2
- BUG : removing the first character of file path HOT 1
- production true is giving errors
- Action required: Greenkeeper could not be activated 🚨
- When Uglify fails, it doesn't tell which file is failing it. HOT 1
- Older version of clean-css leaving truncated files HOT 1
- Error: TypeError: assets.substr is not a function
- Getting error after latest update HOT 2
- File file.js comes to S3 without content. HOT 2
- 0.31 and 0.32 releases are broken by UglifyJS 3.X HOT 2
- In package.json update dependency on 'request' module to 2.88.0
- BUG: timestamp cache not set properly
- Concatenating files doesn't produce a URL-encoded CDN address HOT 2
- Working with vars
- Explicitly define list of assets HOT 1
- Private bucket support
- Asset versioning in production HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from express-cdn.