Added some image functions to gems and board