Returns the key image for this gallery.
public getKeyImage ( Ansel_Style $style = null ) : mixed | ||
$style | Ansel_Style | Force the use of this style, if it's available otherwise use whatever style is choosen for this gallery. If prettythumbs are not available then we always use ansel_default style. |
return | mixed | The image_id of the key image or false. |