Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Fix image width height dimensions that return 0 (or an error)

dpie edited this page Sep 14, 2010 · 2 revisions

When you git clone Paperclipped (or download the zip/tar), the ImageSpec library is not downloaded to its proper location of…

/vendor/extensions/paperclipped/vendor/plugins/imagespec/

This is because ImageSpec is a git submodule. Without this library, all image width and height dimensions are returned as 0 (or possibly an error). There’s two ways to fix this:

This tripped me up for a while, so I hope this tip helps someone else out.

Clone this wiki locally