このテンプレートは画像の詳細表示画面の見栄えを決めます。
画像のメタデータには tpl_img_getTag 関数からアクセスすることができます。この関数の引数には単一のタグと複数のタグのどちらでも指定することができます。引数に複数のタグを指定すると、最初に見つかった空でないタグの値が返されます。
// 1 つのタグにアクセスする echo tpl_img_getTag('Date.EarliestTime'); // 複数のタグを指定してアクセスする echo tpl_img_getTag(array('Iptc.Byline','Exif.TIFFArtist','Exif.Artist','Iptc.Credit'));
以下に利用可能なタグを示します。
Simple.Raw Simple.Camera Simple.Title Date.Time Date.TimeSource Date.TimeStr Date.EarliestTime Date.EarliestTimeSource Date.EarliestTimeStr Date.LatestTime Date.LatestTimeSource Date.LatestTimeStr File.Name File.Path File.Size File.NiceSize File.UnixTime File.Width File.Height File.Mime File.Format File.Url Exif.ImageDescription Exif.Make Exif.Model Exif.Orientation Exif.XResolution Exif.YResolution Exif.ResolutionUnit Exif.Software Exif.DateTime Exif.Artist Exif.WhitePoint Exif.PrimaryChromaticities Exif.YCbCrCoefficients Exif.YCbCrSubSampling Exif.YCbCrPositioning Exif.ReferenceBlackWhite Exif.Copyright Exif.ExifIFDOffset Exif.GPSIFDOffset Exif.TIFFNewSubfileType Exif.TIFFSubfileType Exif.TIFFImageWidth Exif.TIFFImageHeight Exif.TIFFBitsPerSample Exif.TIFFCompression Exif.TIFFPhotometricInterpretation Exif.TIFFThreshholding Exif.TIFFCellWidth Exif.TIFFCellLength Exif.TIFFFillOrder Exif.TIFFImageDescription Exif.TIFFMake Exif.TIFFModel Exif.TIFFStripOffsets Exif.TIFFOrientation Exif.TIFFSamplesPerPixel Exif.TIFFRowsPerStrip Exif.TIFFStripByteCounts Exif.TIFFMinSampleValue Exif.TIFFMaxSampleValue Exif.TIFFXResolution Exif.TIFFYResolution Exif.TIFFPlanarConfiguration Exif.TIFFGrayResponseUnit Exif.TIFFGrayResponseCurve Exif.TIFFResolutionUnit Exif.TIFFSoftware Exif.TIFFDateTime Exif.TIFFArtist Exif.TIFFHostComputer Exif.TIFFColorMap Exif.TIFFExtraSamples Exif.TIFFJFIFOffset Exif.TIFFJFIFLength Exif.TIFFYCbCrCoefficients Exif.TIFFYCbCrSubSampling Exif.YCbCrPositioning Exif.ReferenceBlackWhite Exif.Copyright Exif.ExifIFDOffset Exif.GPSIFDOffset Exif.TIFFNewSubfileType Exif.TIFFSubfileType Exif.TIFFImageWidth Exif.TIFFImageHeight Exif.TIFFBitsPerSample Exif.TIFFCompression Exif.TIFFPhotometricInterpretation Exif.TIFFThreshholding Exif.TIFFCellWidth Exif.TIFFCellLength Exif.TIFFFillOrder Exif.TIFFImageDescription Exif.TIFFMake Exif.TIFFModel Exif.TIFFStripOffsets Exif.TIFFOrientation Exif.TIFFSamplesPerPixel Exif.TIFFRowsPerStrip Exif.TIFFStripByteCounts Exif.TIFFMinSampleValue Exif.TIFFMaxSampleValue Exif.TIFFXResolution Exif.TIFFYResolution Exif.TIFFPlanarConfiguration Exif.TIFFGrayResponseUnit Exif.TIFFGrayResponseCurve Exif.TIFFResolutionUnit Exif.TIFFSoftware Exif.TIFFDateTime Exif.TIFFArtist Exif.TIFFHostComputer Exif.TIFFColorMap Exif.TIFFExtraSamples Exif.TIFFJFIFOffset Exif.TIFFJFIFLength Exif.TIFFYCbCrCoefficients Exif.TIFFYCbCrSubSampling Exif.TIFFYCbCrPositioning Exif.TIFFReferenceBlackWhite Exif.TIFFCopyright Exif.TIFFUserComment Exif.ExposureTime Exif.FNumber Exif.ExposureProgram Exif.SpectralSensitivity Exif.ISOSpeedRatings Exif.OECF Exif.EXIFVersion Exif.DatetimeOriginal Exif.DatetimeDigitized Exif.ComponentsConfiguration Exif.CompressedBitsPerPixel Exif.ShutterSpeedValue Exif.ApertureValue Exif.BrightnessValue Exif.ExposureBiasValue Exif.MaxApertureValue Exif.SubjectDistance Exif.MeteringMode Exif.LightSource Exif.Flash Exif.FocalLength Exif.MakerNote Exif.UserComment Exif.SubSecTime Exif.SubSecTimeOriginal Exif.SubSecTimeDigitized Exif.FlashPixVersion Exif.ColorSpace Exif.PixelXDimension Exif.PixelYDimension Exif.RelatedSoundFile Exif.InteropIFDOffset Exif.FlashEnergy Exif.SpatialFrequencyResponse Exif.FocalPlaneXResolution Exif.FocalPlaneYResolution Exif.FocalPlaneResolutionUnit Exif.SubjectLocation Exif.ExposureIndex Exif.SensingMethod Exif.FileSource Exif.SceneType Exif.CFAPattern Exif.InteroperabilityIndex Exif.InteroperabilityVersion Exif.RelatedImageFileFormat Exif.RelatedImageWidth Exif.RelatedImageLength Exif.GPSVersionID Exif.GPSLatitudeRef Exif.GPSLatitude Exif.GPSLongitudeRef Exif.GPSLongitude Exif.GPSAltitudeRef Exif.GPSAltitude Exif.GPSTimeStamp Exif.GPSSatellites Exif.GPSStatus Exif.GPSMeasureMode Exif.GPSDOP Exif.GPSSpeedRef Exif.GPSSpeed Exif.GPSTrackRef Exif.GPSTrack Exif.GPSImgDirectionRef Exif.GPSImgDirection Exif.GPSMapDatum Exif.GPSDestLatitudeRef Exif.GPSDestLatitude Exif.GPSDestLongitudeRef Exif.GPSDestLongitude Exif.GPSDestBearingRef Exif.GPSDestBearing Exif.GPSDestDistanceRef Exif.GPSDestDistance Iptc.SuplementalCategories Iptc.Keywords Iptc.Caption Iptc.CaptionWriter Iptc.Headline Iptc.SpecialInstructions Iptc.Category Iptc.Byline Iptc.BylineTitle Iptc.Credit Iptc.Source Iptc.CopyrightNotice Iptc.ObjectName Iptc.City Iptc.Province State Iptc.CountryName Iptc.OriginalTransmissionReference Iptc.DateCreated Iptc.CopyrightFlag
※開発版のみ: 開発版では XMP メタデータの読み込みをサポートしています。フィールド名は Xmp.dc:title
のようになります。