Adding images for pagination links in will_paginate

Hi, I am using will_paginate for pagination. I have to show only Previous and Next links, that I have achieved by ":page_links=>false" parameter. Now I want to show the images instead of "Previous" and "Next" labels.

Can anyone tell how to achieve this in will_paginate?

Thanks, Tushar

set the previous and next labels to ‘’ or ’ ’ if it won’t allow blank labels.

then look at the class of the labels and apply css styling.