Giter Club home page Giter Club logo

Comments (10)

nadavs avatar nadavs commented on May 25, 2024

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.

chopperop avatar chopperop commented on May 25, 2024

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.

nadavs avatar nadavs commented on May 25, 2024

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.

jimmytidey avatar jimmytidey commented on May 25, 2024

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.

jimmytidey avatar jimmytidey commented on May 25, 2024

Width and height work because there are specified as attribute of HTML image tag...

from cloudinary_gem.

TalLevAmi avatar TalLevAmi commented on May 25, 2024

Please use the following syntax for rotating an image by 90 degrees is
<%= cl_image_tag(@location.image, :angle => 90) %>

from cloudinary_gem.

jimmytidey avatar jimmytidey commented on May 25, 2024

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.

TalLevAmi avatar TalLevAmi commented on May 25, 2024

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.

TalLevAmi avatar TalLevAmi commented on May 25, 2024

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.

jimmytidey avatar jimmytidey commented on May 25, 2024

Thanks for your help on this... sorry for late reply.

from cloudinary_gem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.