NAVIGATION
This shows you the differences between two versions of the page.
|
english:phpwcms_replacer_rts:frontend_render:random_image [2011/06/25 06:24] Knut Heermann (flip-flop) |
english:phpwcms_replacer_rts:frontend_render:random_image [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 377: | Line 377: | ||
| \\ | \\ | ||
| - | FIXME Translate | ||
| ===== V1.1 ===== | ===== V1.1 ===== | ||
| - | Identisch mit der o.g. Version jedoch erweitert durch die Darstellung aller Bilder im angegebenen Verzeichnis mit Hilfe der LightBox //(Next/Prev)//. | ||
| - | * **{RANDOMX:SRC-LBNP:path:WIDTHxHEIGHT}** gibt den kompletten html-Anweisungssatz für die LightBox mit %%WIDTHxHEIGHT%% für die Thumbs zurück und stellt alle Bilddateien aus dem angegebenen Pfad in der LightBox dar. | + | FIXME Better translate |
| - | * Die LightBox stellt die Bilder in der Originalgröße dar. | + | |
| - | * Das Thumb wird lediglich verkleinert dargestellt, nicht neu gerechnet/abgelegt oder beschnitten //(cropping)//. | + | Identical to the version shown above, but enhanced by the appearance of all images in the specified directory using LightBox //(Next/Prev)//. |
| + | |||
| + | * **{RANDOMX:SRC-LBNP:path:WIDTHxHEIGHT}** returns the complete set of html instructions for the LightBox with %%WIDTHxHEIGHT%% for the thumbs and provides all the image files from the specified path in the LightBox. | ||
| + | * The LightBox presents the images in original size. | ||
| + | * The Thumb is simply scaled down, not newly calculated / stored or trimmed //(cropping)//. | ||
| * Update 21.06.11: | * Update 21.06.11: | ||
| - | - Das Thumb wird proportional verkleinert entsprechend den Größenangaben dargestellt //(Identisches Verfahren wie in den Bilder CPs - Das größte Teilungsverhältnis ist der Richtwert für beide Seiten)//. | + | - The Thumb is reduced proportionally shown according to the size specifications //(Identical procedure as in the pictures CPs - The largest division ratio is the benchmark for both sides)//. |
| - | - Korrektur beim Bildtyp. | + | - Correction to image type. |
| \\ | \\ | ||
| - | **Beispiel:** ##%%{RANDOMX:SRC-LBNP:picture/upload/image/:200x150}%%## | + | **Example:** ##%%{RANDOMX:SRC-LBNP:picture/upload/image/:200x150}%%## |
| - | Das Zufallsvorschaubild //(Thumb)// wird mit einer maximalen Größe von 200x150px //(siehe oben "proportional")// dargestellt und verlinkt auf die LightBox, in der dann alle Bilder des Verzeichnisses in Originalgröße mit //(Next/Prev)// dargestellt werden können. | + | The random thumb is displayed with a maximum size of 200x150px and a link to the LightBox //(show above "proportionally")//, then all the images from the directory in original size with //(Next/Prev)// can be represented. |
| \\ | \\ | ||
| ==== PHP V1.1: ==== | ==== PHP V1.1: ==== | ||
| - | **Datei:** template/inc_Script/forntend_render/rt_randomX_img.php | + | **File:** template/inc_Script/forntend_render/rt_randomX_img.php |
| <code php|h rt_randomX_img.php |h> | <code php|h rt_randomX_img.php |h> | ||