[ List Archives Home ] [ Thread index for 2008 ]
[ Date index for 2008 ]
[ Author index for 2008 ]
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
- Date: Fri, 05 Sep 2008 13:52:32 -0400
- From: Valentina Mayz <mayz at nova dot edu>
- Subject: Re: [IUG] book cover images
Hi Beth,
This worked for us, but note that our items were displaying in table format,
not list format as you have them in your page. You may have to make some
layout adjustments to the HTML you're using to display the records so that
it works.
1- make a placeholder image that is exactly of the dimensions that are
(hopefully) standard in your bookjacket images. For example:
http://novacat.nova.edu/screens/opacRSSnoimage.gif
2- Then assign this property to the container that holds the image alone:
background: #fff url(path/image.gif) no-repeat;
In our case, we used a 2-column table to display the feeds with
corresponding book jackets with a special style applied to the image cell:
TD.opacRSSnoimage {background: #fff url(opacRSSnoimage.gif);}
<table>
<tr>
<td class="opacRSSnoimage"> [bookjacket] </td>
<td>[some text that describes the item]</td>
</tr>
</table>
This way, if there is an image it shows on top of the placeholder (hiding
it), and if there isn't an image you get an empty cell that shows the
placeholder in the background.
When we experimented with this we had a test page that for some reason no
longer works, but if you need a screen shot contact me off list and I'll
email it to you.
HTH,
Valentina Mayz
-----Original Message-----
From: Beth Bradley [
mailto:bradleye at canisius dot edu]
Sent: Thursday, September 04, 2008 3:39 PM
To: innopac at innopacusers dot org
Subject: [IUG] book cover images
Is there a way to display a default book cover image when the is no
image available from syndetics? I'm working on the RSS feeds and they
look a little confusing if there is no book cover image available.
http://library.canisius.edu/RSS%20pages/bestsellers.html
--
Beth Bradley
Library Systems Coordinator
Canisius College Library
2001 Main St.
Buffalo, NY 14208
716-888-2913
bradleye at canisius dot edu