Just install the extension with the extension manager.
There you can select three options:
enableExtension
Enable or disable the entire extension.
Default: 1
enableClearCache
Clear the RealURL Image cache, if a BE-user clear the FE-Cache oder Page-Cache. In previous version, if this was enabled the RealURL paths of the images changed with every clearance of the front end page. Now there is a small hash attached to the file name and this problem is solved. So it is no problem anymore to enable this feature. It prevents the table “tx_flrealurlimage_cache” to get too full.
Default: 1
clearFileCache
Comma seperated list of all folders within _typo3temp_ to be cleard, if BE-user clear the FE-Cache. If set to _all_ all files and folders within _typo3temp_ will be cleared. If a specified folder does not exist it will be sciped.
- all
=> all files and folders in “typo3temp/
- GB,temp,menu,pics
=> only in “typo3temp/GB”, “typo3temp/temp”, “typo3temp/menu”, “typo3temp/pics”
These are the places where IMAGE, GIFBUILDER, GMENU, IMG_RESOURCE objects store their generated images.
- [empty] / not existing folders “none” / “no,none,not_exist”
=> nothing will be deleted.
- combination of the above two
=> not existing folders will be ignored, cache in other folders will be deleted
Default: all
cacheControl
Enable the Cache Control Feature to get a better performance. If a file has already been loaded by a client it wont be sent again. The browser cache is used. Speeds things up a lot and reduces server load.
Default: 1
Nothing else to do.
There are a huge variety of configuration options for fl_realurl_image. All can be done by TypoScript. You can set the basic configuration in config.fl_realurl_image e.g.:
config.fl_realurl_image {
fileText = hierarchy:title|defaultFileText
addText.defaultFileText = pic
}
All this configurations can also be set through the Constant Editor:
PLUGIN.FL_REALURL_IMAGE.fileText = hierarchy:title|defaultFileText
PLUGIN.FL_REALURL_IMAGE.addText.defaultFileText = pic
For each image you can overwrite this configuration directly in the IMAGE-Object e.g.:
testpic = IMAGE
testpic {
file = fileadmin/testimage.jpg
file.width = 90c
file.height = 90c
altText = Test Image
fl_realurl_image {
fileText = my test image filename
}
}