bug 2772: bad image location
authorNahuel Angelinetti <nahuel.angelinetti@biblibre.com>
Mon, 10 Nov 2008 16:16:16 +0000 (17:16 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 26 May 2009 19:14:59 +0000 (21:14 +0200)
commit9dc5a9208f9ed141c084403077d5dac156e93e4e
tree3492c88c09df5a27a60c72c0bf9114ebc708122d
parente6df0448c904155acbd4ea7828d43da5ab78e637
bug 2772: bad image location

This patch make Page.pm to use the getitemtypeinfo function to generate the imageurl, and check (in the template) if an
image is set.
Before this patch, always the "Alt" information was shown, because the url wasn't right.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
C4/VirtualShelves/Page.pm