[Koha-devel] Item Type Images have various sizes

Michael Hafen mdhafen at tech.washk12.org
Wed Feb 11 22:04:28 CET 2009


I see.  It would be good to find out how many libraries use the
liblime-kids set.  I don't think that's really necessary though.  The
complaints I'm getting from my librarians involve the bridge set.  The
padding is perfect for the npl set, but not for the bridge set.  The
images interfere with the location because the padding is not enough to
accommodate the image.  And it doesn't look good.

As nice as it would be to be able to accommodate different sizes of
icons, such flexibility is not always the best way to go.

In this case we have to consider the use of space in the item cell of
the search results table.  As I see it the other options are to increase
the padding to make room for the larger icons, or have the padding be
variable based on the which icon is used for the item type.  Increasing
the padding would leave excess space around the smaller icons.  Having
the padding be variable would not be a trivial programming feat in my
opinion.  Also the item information cells would be a little less uniform
in appearance.

I'm prepared to increase the padding uniformly to make space for the
bridge set.  On the other hand I'm not using the liblime-kids set.  So
it's a small increase.  This doesn't seem like the best possible
solution to me though.  I'm correcting a symptom of the larger problem
that the template doesn't know how big the icon is going to be.  I would
prefer to either have one size of icon or have the item type icons tell
the template how much space they need.

I'll admit that it is nice to have the larger icons for the kids ( to
this end one of my librarians has asked me to increase the font size on
the opac ).  So, in my opinion, it would be best to have variable
padding with the icons.  I just don't look forward to trying to code
that.  I think the best way would be to have it statically set.  That
way we would save the time it takes to parse the image to find it's
width.

On Wed, 2009-02-11 at 15:14 -0500, Galen Charlton wrote:
> Hi,
> 
> On Wed, Feb 11, 2009 at 3:07 PM, Michael Hafen <mdhafen at tech.washk12.org> wrote:
> > I think it would be best to standardize on a size for these images, so
> > that the css can be set once and look right.
> 
> I would prefer that we accommodate different sizes for the icons
> rather than settle for just one "standard" size.  I'm not sure how
> many libraries are using the liblime-kids set, but the icons in it are
> larger than npl or bridge to support a common design pattern for
> childrens' OPACs.
> 
> Regards,
> 
> Galen
-- 
Michael Hafen
Systems Analyst and Programmer
Washington County School District
Utah, USA

for Koha checkout
http://koha-dev.washk12.org
or
git://koha-dev.washk12.org/koha




More information about the Koha-devel mailing list