Converting to the Media plugin instead of the galleries plugin.