I am using
ImageFormAction __construct( action $action, [title $title = ""], [image $image = ""], [hoverImage $hoverImage = null], [form $className = null], [ $form = null])
(http://api.silverstripe.org/2.4/forms/actions/ImageFormAction.html#method__construct)
Submit works fine, the submit image is displayed but NOT $hoverImage.
Both submit and hover images are located at same directory.
so code is like this:
$actions = new FieldSet(
new ImageFormAction('submit', 'Send', 'themes/test/images/contact_us/btn_send_normal.gif', 'themes/test/images/contact_us/btn_send_hover.gif')
);
How come hover image is not displayed properly??