Comments (10)
Thank you for reporting this issue.
Are you applying any incoming transforming while uploading the images to Cloudinary? The 'exif' data might have been removed while applying the transformation. In this case adding :flags => :keep_iptc
to the parameters of the upload call might solve this issue.
from cloudinary_gem.
i'm actually having trouble applying any other transformations other than setting the width and height. i can't rotate them 90, apply effect or rounded corners.
edit, even applying changes to the height doesn't work. only the width works.
from cloudinary_gem.
Can you please share the relevant upload and transformation code? It will help us better understand the problem and assist with this issue.
from cloudinary_gem.
Having the exact same problem. Tag like:
<%= cl_image_tag(@location.image, :rotate => 90) %>
Generates url:
http://a1.res.cloudinary.com/jimmy-tidey/image/upload/v1361905097/g1mngusur8bcckpdhdsm.jpg
Ie. URL is not cusomised
from cloudinary_gem.
Width and height work because there are specified as attribute of HTML image tag...
from cloudinary_gem.
Please use the following syntax for rotating an image by 90 degrees is
<%= cl_image_tag(@location.image, :angle => 90) %>
from cloudinary_gem.
Apologies - so much hacking about was making to lots of mistakes. If I use:
<%= cl_image_tag(@location.image, :angle => 90) %>
I get URL
http://a1.res.cloudinary.com/jimmy-tidey/image/upload/v1361905097/g1mngusur8bcckpdhdsm.jpg
This applies for all effects that I have tried.
from cloudinary_gem.
You can use the following syntax:
<%= cl_image_tag(@location.image.full_public_id, :angle => 90) %>
We'll look into making this work directly with the image.
from cloudinary_gem.
Actually, you need to be a little more careful. If you want to support format, use:
<%= cl_image_tag(@location.image.full_public_id, :angle => 90, :format=>"png") %>
otherwise use:
<%= cl_image_tag(@location.image.filename, :angle => 90) %>
from cloudinary_gem.
Thanks for your help on this... sorry for late reply.
from cloudinary_gem.
Related Issues (20)
- Add support for lazysizes.js HOT 1
- Image upload error in Safari: Failed to load resource: Request header field Authorization is not allowed by Access-Control-Allow-Headers. HOT 1
- Question: How to conditionally override `resource_type`? HOT 1
- Spaces in Font's name are not escaped HOT 6
- Incorrect documentation for ActiveStorage integration (Rails 6.1.4) HOT 2
- I'm using ActiveStorage and I would like to upload ttf font HOT 2
- Test the library with Ruby 3.0
- How to pass options to ActiveStorage upload? HOT 3
- Cant direct upload raw files HOT 17
- Some kind of overlay texts generate urls which cause `400 Bad Request` HOT 7
- Support Dynamic Folder upload parameters HOT 2
- How to get value txt file? HOT 3
- Update API is missing metadata support HOT 3
- Conditional metadata rules support HOT 6
- Broken urls - Unsafe characters in public_id are not properly escaped by Cloudinary::Utils.cloudinary_url HOT 2
- Photo metadata is nil until after AR callbacks have run HOT 7
- Unable to upload multiple images to cloudinary HOT 1
- ActiveStorage: Non-image file is not deleted when its blob is destroyed HOT 4
- ActiveStorage support for upload_large HOT 2
- Update sample projects dependencies HOT 4
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 cloudinary_gem.