Comments (2)
I think you have rails running in one thread, then it is not image_size
issue. To verify try running following code, I assume you use open-uri
:
open("http://localhost:3000/image/scaled/154.jpg", &:read)
from image_size.
Closing this issue .. Works with the absolute path of the image rather then relative path .. Thanks.
from image_size.
Related Issues (16)
- Severe: lib/image_size.rb has (root only) rwx------ rights LoadError HOT 1
- Correct licence HOT 2
- Not working in ruby 2.3.0 HOT 5
- undefined method `unpack' for nil:NilClass while fetching TIFF image size from partial data HOT 3
- JPEG2000 support HOT 2
- Please include actual license text HOT 8
- spec testsuite fails on IBM s390x system for pcx file format HOT 1
- Collaboration with FastImage HOT 2
- Make URI interface public?
- Support heic/heif/avif
- Nil error in detect_format HOT 3
- Provide mime-types and UTIs?
- Can't work with ruby2.0.0-p0 HOT 1
- Cannot calculate image size on file_content under JRuby HOT 4
- PSD size is inversed 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 image_size.