Setting up minimagick in views