thoughtbot / administrate-field-image Goto Github PK
View Code? Open in Web Editor NEWOfficial Image field plugin for Administrate
License: MIT License
Official Image field plugin for Administrate
License: MIT License
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.
Back in Apr '16, @hauleth had opened a PR for this.
It'd be really helpful to see a preview of an image when editing it.
Showing /usr/local/bundle/gems/administrate-field-image-1.1.0/app/views/fields/image/_index.html.erb where line #18 raised:
nil is not a valid asset source
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.
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:
optional:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.