We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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:
image_accept_mime_types ['image/jpeg', 'image/gif', 'image/png']
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)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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)
The text was updated successfully, but these errors were encountered: