add support for (image) attachment pages