alchemy_cms
https://github.com/magiclabs/alchemy_cms
Ruby
AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻♂️
Alchemy::EssencePicture#picture_url
The url to show the picture. Takes all values like +name+ and crop sizes (+crop_from+, +crop_size+ from the build in graphical image cropper) and also adds the security token. You typically want to set the size the picture should be resized to. === Example: essence_picture.picture_url(size: '200x300', crop: true, format: 'gif') # '/pictures/1/show/200x300/crop/cats.gif?sh=765rfghj'
Edit
git clone [email protected]:magiclabs/alchemy_cms.git
cd alchemy_cms
open app/models/alchemy/essence_picture.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Alchemy--EssencePicture-picture_url-for-pr
# Commit to gitgit add app/models/alchemy/essence_picture.rbgit commit -m "better docs for Alchemy::EssencePicture#picture_url"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Alchemy--EssencePicture-picture_url-for-pr
hub pull-request
# Celebrate!