added constants for attachment type and methods for web and thumb urls