Extending gallery styles