[Koha-devel] Item Type Images have various sizes

Michael Hafen mdhafen at tech.washk12.org
Thu Feb 12 21:46:57 CET 2009


Here's a draft of the patch.  Ignore the lack of updatedatabase stuff.
Is there anything else that should be changed here?

Thanks.

On Thu, 2009-02-12 at 11:37 -0500, Galen Charlton wrote:
> Hi,
> 
> On Thu, Feb 12, 2009 at 11:25 AM, Michael Hafen
> <mdhafen at tech.washk12.org> wrote:
> > My idea in the beginning was something to this effect.  I don't really
> > feel like trying to figure out authorized values right now, but I will
> > look to see if iconsets are kept in the database somewhere other than
> > that.
> 
> Iconsets are not stored in the database - they're just directories in
> koha-tmpl/opac-tmpl/prog/itemtypeimg or
> ./koha-tmpl/intranet-tmpl/prog/img/itemtypeimg, so there currently
> isn't a place to stick the maximum dimensions of a iconset.  However,
> both the authorised_values and itemtypes have an imageurl column
> pointing to the icon associated with item type or authval, so one
> possibility is adding imageheight and imagewidth columns to those
> tables.
> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-image-width-to-item-type-images.patch
Type: text/x-patch
Size: 12531 bytes
Desc: not available
URL: </pipermail/koha-devel/attachments/20090212/c88da6de/attachment-0003.bin>


More information about the Koha-devel mailing list