filestack / filestack-rails

Official Ruby on Rails plugin for Filestack File Picker that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
https://www.filestack.com
Apache License 2.0
223 stars 101 forks source link

No Options passed to image tag w/o a transform #225

Closed JoshReedSchramm closed 4 years ago

JoshReedSchramm commented 4 years ago

In: https://github.com/filestack/filestack-rails/blob/4c672d67038b54136f198cfe72a43ee4391ce55e/app/helpers/filestack_rails/application_helper.rb#L38

If you pass standard html options (class for example) those options are not passed along to the image tag helper unless you also pass a transform. If you pass a transform it will pull out the transform option then pass along the rest of the tag options.

gabifija commented 4 years ago

Hello @JoshReedSchramm ! Thank you for letting us know. I've already fixed the issue in filestack-rails 5.2.2. Thanks!