refinery / refinerycms-page-images

Adds an images tab to your pages so you can format a group of images really nicely on the frontend
104 stars 120 forks source link

Use a Hash instead of a String for image.thumbnail() #96

Closed givanse closed 10 years ago

givanse commented 10 years ago

This is necessary or you'll encounter this error: can't convert String into Hash

The possible options for image.thumbnail() are: options = { :geometry, :strip }

Source: https://github.com/refinery/refinerycms/blob/master/images/app/models/refinery/image.rb#L40

givanse commented 10 years ago

Ah! The build is failing because the branch rails4 no longer exists in the refinerycms repo.

parndt commented 10 years ago

Yep looking into it.