Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image thumbnails not visible in Refinerycms 4.1.0 #3485

Open
jussihirvi opened this issue Nov 18, 2020 · 2 comments
Open

Image thumbnails not visible in Refinerycms 4.1.0 #3485

jussihirvi opened this issue Nov 18, 2020 · 2 comments

Comments

@jussihirvi
Copy link
Contributor

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?

@anitagraham
Copy link
Contributor

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.

@jussihirvi
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants