image
image
Field component to liase with all Image types
Attributes
Name | Required | Default | Options | Description |
---|---|---|---|---|
ftstyle | No | ??? | ||
ftDestination | No | /images | ??? | |
ftCreateFromSourceOption | No | true | ??? | |
ftCreateFromSourceDefault | No | true | ??? | |
ftAllowUpload | No | true | If there is more than one image, e.g thumbnail, use this to allow uploading a different thumbnail or turn this off to only autogenerate thumbnail from source image | |
ftAllowResize | No | true | Will not allow any resize options if switched off | |
ftAllowResizeQuality | No | false | Will not allow any quality change options if switched off | |
ftImageWidth | No | Use to resize an image from a source image | ||
ftImageHeight | No | Use to resize an image from a source image | ||
ftAutoGenerateType | No | FitInside | Auto generate options include: none, center, fitinside, forcesize, pad, topcenter, topleft, topright, left, right, bottomleft, bottomcenter, bottomright. | |
ftPadColor | No | ##ffffff | If ftAutoGenerateType = pad, this will be the colour of the pad | |
ftShowConversionInfo | No | true | Set to false to hide the conversion information that will be applied to the uploaded image. | |
ftAllowedExtensions | No | jpg,jpeg,png,gif | The extensions allowed to be uploaded. | |
ftcustomEffectsObjName | No | |||
ftlCustomEffects | No | |||
ftConvertImageToFormat | No | |||
ftbSetAntialiasing | No | |||
ftInterpolation | No | |||
ftQuality | No | |||
ftbUploadOnly | No | false | Only upload the image and do not optimize or process it. Very useful for source images. Otherwise FarCry will optimize the source image, then read from that dequalitized image to make other optimized images. Can be used for any image field (not just source images). | |
ftCropPosition | No | center | Used when ftAutoGenerateType = aspectCrop | |
ftThumbnailBevel | No | false | ??? | |
ftWatermark | No | The path relative to the webroot of an image to use as a watermark. | ||
ftWatermarkTransparency | No | 90 | The transparency to apply to the watermark. | |
ftSizeLimit | No | 0 | File size limit for upload. 0 is no-limit | |
ftShowMetadata | No | true | If this is set to false, the file size and dimensions of the current image are not displayed to the user |