Skip to content

Outdated configuration #2

@kdiogenes

Description

@kdiogenes

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions