xmp

마지막 업데이트: 2023-05-22
  • 작성 대상:
  • Developer
    User

XMP 메타데이터. 요청 경로에 지정된 이미지와 연결된 XMP 메타데이터를 반환합니다.

req=xmp

다른 명령은 무시됩니다. UTF-8 인코딩이 적용됩니다. 응답은 MIME 형식의 XML 형식입니다 text/xml.

HTTP 응답은 다음을 기반으로 하는 TTL로 캐시할 수 있습니다. catalog::Expiration.

속성

요청 속성입니다. 현재 레이어 설정에 관계없이 적용됩니다.

기본값

URL에 이미지 경로나 수정자가 포함되지 않은 경우 다음을 수행합니다.

#S7Z OK
#Mon Jul 25 17:28:32 PDT 2014
copyright=Copyright (c) 1995-2014 Adobe Systems Incorporated. All rights reserved.

그렇지 않으면, req=img

예제

이미지 파일 속성을 쿼리합니다.

http:// *서버*/myPath/myImage.tif?req=imageprops

이미지 카탈로그 속성 쿼리:

http:// *서버*/myRootId?req=catalogprops

HTML 파일에 포함된 클라이언트측 JavaScript에서 이미지 카탈로그 항목의 속성에 액세스합니다.

<script language="JavaScript">
     //req=imageprops populates this object with properties:
     var image = new Object;
</script>
<script src="http://server/myRootId/myImageId?req=imageprops,javascript"></script>
<script>
     alert("Image Size: " + image.width + " x " + image.height);
</script>

원래 크기의 25%로 크기가 조정된 특정 카탈로그 항목에 대한 마스크 이미지를 검색합니다.

http:// *서버*/myRootId/myImageId?req=mask&scale=0.25

1/8 크기로 이미지 요청:

http:// *서버*/myRootId/myImageId?scl=8

이는 다음과 같습니다.

http:// *서버*/myRootId/myImageId?req=img&scl=8

이미지 카탈로그에 지정된 썸네일 속성에 따라 이미지의 썸네일을 요청합니다.

http:// *서버*/myRootId/myImageId?req=tmb&wid=64&hei=64

서버 로그에 문자 메시지 보내기:

http:// *서버*/myRootId?req=message&message=This%20is%20the%20message

참조

fmt= , catalog::Target, catalog::UserData, 썸네일 크기 조정, 속성, 이미지 맵

이 페이지의