You can also specify imgproxy-specific parameters in imgproxy_options attribute. Imgproxy-specific params will take precedence over ones from original API:
# height=50 and width=50 will be appliedCurrent.user.avatar.variant(resize:"100x100", imgproxy_options: {height:50, width:50})
Generating video and PDF previews
If you are an imgproxy Pro user and you want to use it to generate previews for your videos and PDFs, just add their content types to the variable_content_types list:
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that imgproxy-rails demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 2 open source maintainers collaborating on the project.
Package last updated on 16 Jan 2024
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.