GithubHelp home page GithubHelp logo

administrate-field-image's People

Contributors

acrogenesis avatar benmorganio avatar c-lliope avatar jrupinski avatar nickcharlton avatar pedantic-git avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

administrate-field-image's Issues

Views directory name issue

Working on a plugin for Paperclip I found an issue with the latest administrate from git. Once I had all the files and installed the plugin in my Rails app, administrate would look for the field views in paperclip_field and not just paperclip as app/views/fields/image suggests. I fixed it by renaming the directory from paperclip to paperclip_field. It might have been my mistake, I may have missed something, or maybe administrate looks into the views that way? I didn't really dig into administrate's code for this, but just a heads up.

More info on the setup here.

Can't build gem

when running gem build administrate-field-image.gemspec I get this error

Invalid gemspec in [administrate-field-image.gemspec]: cannot load such file -- administrate/field/base
ERROR:  Error loading gemspec. Aborting.

active storage support

thank you for this gem i am working with rails 5.2 and using active storage.

i am thinking of creating a gem for an active storage field as i was searching for such thing i stumbled upon this repo, currently viewing images work using this repo but other file types don't work.

if you are willing to add active storage support since it is in the stable branch of rails i am willing to contribute.

my suggestion is the following:

  1. upload single file at first and then multiple files
  2. adding image support through url_for to support 3rd party cloud storage.
  3. use html 5 video element for video files
  4. use html audio element for audio files
  5. download link to other files

optional:

  1. use preview variant for pdf and other office files with a download link

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.