NAVIGATION
This shows you the differences between two versions of the page.
|
deutsch:ersetzer_rts:frontend_render:random-image-from-folder [2012/06/02 21:56] Thomas Blenkers |
deutsch:ersetzer_rts:frontend_render:random-image-from-folder [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 26: | Line 26: | ||
| **Forum:** [[http://forum.phpwcms.org/viewtopic.php?p=123473#p123473|[Css trick] Random background image]] | **Forum:** [[http://forum.phpwcms.org/viewtopic.php?p=123473#p123473|[Css trick] Random background image]] | ||
| - | **Autor:** P. Bracher //(breitsch)// [[http://www.webrealisierung.ch|Webrealisierung GmbH]] | The incredible module page: [[http://web.casa-loca.com/index.php?googlemaps|phpwcms module]] \\ | + | **Autor:** P. Bracher //(breitsch)// [[http://www.webrealisierung.ch|Webrealisierung GmbH]] \\ |
| **Version:** V1.0 22.03.10 | **Version:** V1.0 22.03.10 | ||
| Line 41: | Line 41: | ||
| \\ | \\ | ||
| - | ===== Beispiel: ===== | + | ===== Beispiele ===== |
| -- ##{RAND_IMG_FROM_FOLDER:ID of PHPWCMS Folder::}## \\ | -- ##{RAND_IMG_FROM_FOLDER:ID of PHPWCMS Folder::}## \\ | ||
| Line 91: | Line 91: | ||
| \\ | \\ | ||
| + | |||
| + | -- ##{RAND_N_IMG_FROM_FOLDER:ID of PHPWCMS Folder:Number of Files:Lightbox WxHxCROPxQUALITY:WxHxCROPxQUALITY Alt Text}## \\ | ||
| + | -> **{RAND_N_IMG_FROM_FOLDER:23:5:800x800x0x100:x125 My Image}** | ||
| + | |||
| + | = erzeugt 5 Bilder, aus dem Verzeichnis in der Dateizentrale mit der ID=23, \\ | ||
| + | = Bilder skaliert auf Höhe = 125px, mit dem alt-Text "My Image" \\ | ||
| + | = Lightbox mit max. Höhe bzw. Breite von 800px (vgl. Bedingung Lightbox) \\ | ||
| ==== Finden der Verzeichnis-ID ==== | ==== Finden der Verzeichnis-ID ==== | ||
| Line 104: | Line 111: | ||
| \\ | \\ | ||
| - | ===== Code: ===== | + | ===== Code ===== |