Bug fixed where thecatapi gives invalid links to images