Giter Site home page Giter Site logo

Image upload about refinerycms HOT 10 CLOSED

refinery avatar refinery commented on May 19, 2024
Image upload

from refinerycms.

Comments (10)

parndt avatar parndt commented on May 19, 2024

Hi Ygor,

Firstly, which version of Ruby are you running on XP, so that I can test on that platform?

Cheers,
Phil

from refinerycms.

ygor avatar ygor commented on May 19, 2024

Hi I'm running ruby 1.8.6 on i386 mswin32. If there is any debugging info you would like to see, please let me know! Thanks!

from refinerycms.

justinbmeyer avatar justinbmeyer commented on May 19, 2024

I am having the same problem. Windows XP. ruby 1.8.6.

from refinerycms.

parndt avatar parndt commented on May 19, 2024

Weird. Does putting @image.save in the same position fix it for you too?

from refinerycms.

justinbmeyer avatar justinbmeyer commented on May 19, 2024

Yes, it solves the issue.

from refinerycms.

parndt avatar parndt commented on May 19, 2024

Maybe we'll have to patch it with windows specific code :/

from refinerycms.

magpieuk avatar magpieuk commented on May 19, 2024

if you change the create to create! in line 60 of the images controller then you get Validation failed: Files should be smaller than 50 MB in size. So it seems like either attachment_fu or imagemagik may be the source of the problem as it cannot work out the correct size of the file.

from refinerycms.

parndt avatar parndt commented on May 19, 2024

When saving, does the "size" attribute get properly populated in your images table?

We could just put another @image.save if environment == windows (pseudocode) but it doesn't seem like a good fix and it seems like it is more likely an attachment_fu or imagemagick or rmagick bug.

from refinerycms.

tsdbrown avatar tsdbrown commented on May 19, 2024

A patch has been applied that has hopefully fixed this issue. Can you guys give it a test and report back? It works for me now. (XP, ruby 1.8.6)

from refinerycms.

parndt avatar parndt commented on May 19, 2024

Reopen if you're still having the issue. Thanks for patching tsdbrown!

from refinerycms.

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.