Closed ambethia closed 9 years ago
Still working on image sizing, but should be resolved with a couple lines of code and I will integrate in the next assignment/issue.
https://nameless-woodland-3754.herokuapp.com/ (ongoing) and repo: https://github.com/cateia97/blog_app
Week 7 - Assignment 1
Image Uploads
You're going to add image attachements to your blog app we've been working on. You can use CarrierWave, Paperclip, whatever you want.
Your blog posts should be accompanied by a large image on it's main page, and a smaller thumbnail on the index page. Consider also trimming the post on the index page to just the first paragraph of the blog post on the second page.
You'll need to install ImageMagick on your Mac (probably via
homebrew
). You'll also probably need RMagick or MiniMagick in your Rails app (I prefer MiniMagick). Heroku will already have ImageMagick installed.You'll also need to sign up for AWS and create some S3 buckets (for development and production).
Requirements
Post
model should be extended to have a single image attachment.Post
to have multiple images.