So I don't know if this is unique to our install or not but I think its still a good patch. For one of the images loading we're getting the error 'Warning: Division by zero in borealis_ri_image_default_styles() (line 390 of' See Image.

I've walked through this and for some reason one of the images old_width isn't getting set. Since the old width is used in a calculation we should probably check to make sure it exists too.

Comments

jlockhart’s picture

StatusFileSize
new753 bytes

Here is a simple patch that checks to make sure the old width isn't empty.

kepford’s picture

Status: Active » Reviewed & tested by the community

Patch applies and resolves the issue for me.