Regression caused by a silly mistake in XWIKI-17457 where the name of the link for f.png is f.link instead of f.png.link.