catalogprops catalogprops

影像目錄屬性。 傳回要求路徑中所指定之影像目錄的一般屬性。

req=catalogprops[,text|javascript|xml|{json[&id= *reqId*]}]

reqId
唯一要求識別碼。

若要擷取預設目錄屬性( default.ini),請省略目錄識別碼。 HTTP回應可使用以attribute::NonImgExpiration為基礎的TTL進行快取。

支援JSONP回應格式的請求可讓您使用req=引數的延伸語法來指定JS回呼處理常式的名稱:

req=...,json [&handler = reqHandler ]

<reqHandler>是JSONP回應中出現的JS處理常式名稱。 僅允許a-z、A-Z和0-9字元。 選填。 預設值為s7jsonResponse

系統會傳回下列屬性值:

屬性
型別
對應的目錄屬性
catalog.bkgColor
十六進位
屬性::BkgColor
目錄::defaultExt
字串
屬性::DefaultExt
catalog.defaultPix
int,int
屬性::DefaultPix
catalog.defaultThumbPix
int,int
屬性::DefaultThumbPix
catalog.expiration
真實
屬性::Expiration
catalog.defaultExpiration
真實
屬性::DefaultExpiration
catalog.nonImgExpiration
真實
屬性::NonImgExpiration
catalog.fileTime
字串
屬性::LastModified,如果沒有,則是目錄 .ini檔案的上次修改時間
catalog.jpegQuality
int,bool
屬性::JpegQuality
catalog.maxPix
int,int
屬性::MaxPix
catalog.printResolution
int
屬性::PrintResolution
catalog.publishInfo
字串
屬性::PublishInfo
catalog.resMode
列舉
屬性::ResMode
catalog.resolution
真實
屬性::Resolution
catalog.thumbBkgColor
十六進位
屬性::ThumbBkgColor
catalog.thumbHorizAlign
列舉
屬性::ThumbHorizAlign
catalog.thumbRes
真實
屬性::ThumbRes
catalog.thumbType
列舉
屬性::ThumbType
catalog.thumbVertAlign
列舉
屬性::ThumbVertAlign
目錄::浮水印
字串
屬性::浮水印
recommendation-more-help
a26166cd-f2f4-45ce-996d-96a0f0d6cf49