refinerycms
refinerycms copied to clipboard
Image thumbnails not visible in Refinerycms 4.1.0
I installed refinerycms from the master branch and got version 4.1.0. The images engine works ok, but image thumbnails on the page /refinery/images
are invisible. This is clearly because image width and height are both 0 in the source code:
<img width="0.0" height="0.0" alt="myalt" title="mytitle" src="/system/refinery/images....
Seems simple enough, but how to fix this?
I think I've encountered this recently. I did two things:
I added css
#image_grid li > img {
height: inherit;
width: inherit
}
When I look now I can see my thumbnails do have a width and height on them, but I did have a problem then.
I now had this problem on another system, and it turned out ImageMagick was not installed in my OS. Duh! It would save some trouble if refinerycms could test for ImageMagick, for example by trying to show a thumbnail with geometry, and throw an informative error if IM is not detected. In that case the thumbnail is probably nil.