Acidfree Inline Filter - Incorrect size and proportion for album thumbnails

bobanahalf - November 6, 2009 - 17:13
Project:Acidfree Albums
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm trying to use an acidfree inline filter to include a random album thumbnail in a drupal block. However the thumbnails show up with the wrong size. For example, I've included the inline filter [acidfree:182] (where node 182 is an acidfree album) in the block body.

If the node specified the inline filter is an image node, sizing works correctly. If the node is an album node, sizing works incorrectly.

In my example, all thumbnails in the album are the same width (120), but the heights are different (some are 92 and others are 111). When displaying the thumbnail, acidfree pulls the image from one random child, but the height from another.

I've refreshed the page dozens of times, and have not found a pattern. The height is valid (ie: one of the images in the album), but is not consistently from the right image.

Another note: When setting the size in the acidfree inline filter, for example [acidfree:181 size=150], and when the acidfree node is an album, the size setting is ignored. Again, sizing works as advertised when the node is an image.

 
 

Drupal is a registered trademark of Dries Buytaert.