Removing image captions attempts relative code from home page