fixed images not being displayed correctly on direct link page