Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated configuration #2

Open
kdiogenes opened this issue Dec 2, 2012 · 0 comments
Open

Outdated configuration #2

kdiogenes opened this issue Dec 2, 2012 · 0 comments

Comments

@kdiogenes
Copy link
Contributor

Hi,

I guess the configuration is outdated. If I leave it blank it's works okay, but if I change some configurations like the following:

accept only jpeg and gif for images

image_accept_mime_types ['image/jpeg', 'image/gif', 'image/png']

images save to RAILS_ROOT/public/manager/images thumbs in RAILS_ROOT/public/manager/images/small

image_save_into_public_subdir 'manager/images'

The directory created is:

public/["manager/images"]

And when I try to upload a file I get the following error:

Invalid mime type! (image/jpeg)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant