NAVIGATION
This shows you the differences between two versions of the page.
english:phpwcms_replacer_rts:frontend_init:cp_trigger:wysiwyg-image-resize [2009/10/08 06:49] Knut Heermann (flip-flop) |
english:phpwcms_replacer_rts:frontend_init:cp_trigger:wysiwyg-image-resize [2018/06/03 18:09] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
{{indexmenu_n>10}} | {{indexmenu_n>10}} | ||
- | ====== WYSIWYG (FCK) image resize ====== | + | ====== WYSIWYG (F/CK) image resize ====== |
- | ====== FCK editor in CPs: Images from filecenter ====== | + | ====== F/CK editor in CPs: Images from filecenter ====== |
===== V1.5.3: Thumb cropping & LightBox & ReMooz & EnlargeIt & random-image ===== | ===== V1.5.3: Thumb cropping & LightBox & ReMooz & EnlargeIt & random-image ===== | ||
- | ##**Only for FCK editor available!!** (since V1.4.2 r308 (07.03.2009)## | + | * **Available for the FCK editor** since V1.4.2 r308 (07.03.2009) |
+ | * **Available for the CK editor** since V1.4.7 r416 (03.05.2011) | ||
+ | \\ | ||
**Short description:** \\ | **Short description:** \\ | ||
- | Based on the new experimental function for using filecenter images with the fck wysiwyg editor using in CPs. The height/width image paramters from fck are injected into the used function image_resized.php and carry over into the function cmsimage.php. | + | Based on the new experimental function for using filecenter images with the f/ck wysiwyg editor using in CPs. The height/width image paramters from f/ck are injected into the used function image_resized.php and carry over into the function cmsimage.php. Have a look too: [[english/phpwcms_replacer_rts/frontend_render/fck-images-from-filecenter]] |
* LightBox (System integrated) | * LightBox (System integrated) | ||
Line 40: | Line 42: | ||
**Version:** V1.5.2 //2009/05/21// \\ | **Version:** V1.5.2 //2009/05/21// \\ | ||
**Update:** xnp (next/prev) generally set in file available | **Update:** xnp (next/prev) generally set in file available | ||
- | **Update:** V1.5.3 //2009/10/07// random-image | + | **Update:** V1.5.3 //2009/10/05// random-image |
**Tag:** See below | **Tag:** See below | ||
Line 56: | Line 58: | ||
Please enhanced this list by yourself in the file ##template/inc_script/frontend_init/trigger_call_fck_ximage_resize.php## around line 30: | Please enhanced this list by yourself in the file ##template/inc_script/frontend_init/trigger_call_fck_ximage_resize.php## around line 30: | ||
- | ([[english/technics/internally-function-call/content-part-types|Content part Types]]) | + | ([[english/technics/internal-function-call/content-part-types|Content part Types]]) |
Line 75: | Line 77: | ||
- | ==== Switch setup in your fck editor: ==== | + | ==== Switch setup in your f/ck editor: ==== |
- | **FCK -> images -> enhanced -> style sheet class:** //separated with blanks!!// | + | **F/CK -> images -> enhanced -> style sheet class:** //separated with blanks!!// |
* **xcrop** = crop thumb on \\ | * **xcrop** = crop thumb on \\ | ||
Line 88: | Line 90: | ||
* **xnoenlarge** = (Optional) //EnlargeIt off if EnlargeIt is set generally in this file// \\ | * **xnoenlarge** = (Optional) //EnlargeIt off if EnlargeIt is set generally in this file// \\ | ||
* **xrandom** = (Optional) random-image on //(random-image from a folder in filecenter where the indicated picture lies)//\\ | * **xrandom** = (Optional) random-image on //(random-image from a folder in filecenter where the indicated picture lies)//\\ | ||
- | * **xnorandom** = (Optional) random-image off //(wenn "verwende immer" auf ein steht)//\\ | + | * **xnorandom** = (Optional) random-image off //(if set generally to on)//\\ |
e.g. ##xcrop xlight## --> using Thumb cropping and LightBox \\ | e.g. ##xcrop xlight## --> using Thumb cropping and LightBox \\ | ||
Line 94: | Line 96: | ||
e.g. ##xremo xcrop## --> using ReMooz and Thumb cropping. \\ | e.g. ##xremo xcrop## --> using ReMooz and Thumb cropping. \\ | ||
e.g. ##xenlarge xcrop## --> using EnlargeIt and Thumb cropping. \\ | e.g. ##xenlarge xcrop## --> using EnlargeIt and Thumb cropping. \\ | ||
- | e.g. ##xnoenlarge## --> no EnlargeIt is used for this image if set $xenlargeit = 1 in file direct | + | e.g. ##xnoenlarge## --> no EnlargeIt is used for this image if set $xenlargeit = 1 in file direct \\ |
+ | e.g. ##xrandom xlight xnp## --> catch a random-image from a folder in filecenter, using LighBox and the next/prev function if more then one image available in LightBox (this cp). \\ | ||
\\ | \\ | ||
+ | |||
==== Switch setup direct in file fck_ximage_resize.php: ==== | ==== Switch setup direct in file fck_ximage_resize.php: ==== | ||
Around line 105 //(but I think most people never change this item)//. | Around line 105 //(but I think most people never change this item)//. | ||
Line 193: | Line 197: | ||
} | } | ||
+ | ?> | ||
</code> | </code> | ||
Line 202: | Line 206: | ||
**Version:** V1.5.2 //2009/05/26// \\ | **Version:** V1.5.2 //2009/05/26// \\ | ||
- | **Update:** V1.5.3 //2009/10/07// | + | **Update:** V1.5.3 //2009/10/05// |
**Filename:** fck_ximage_resize.php \\ | **Filename:** fck_ximage_resize.php \\ | ||
Line 485: | Line 489: | ||
\\ | \\ | ||
- | **Update v1.5.3** | + | **Update v1.5.3** //(Only necessary if random-image is used)// |
+ | |||
<code php|h template/inc_script/fck_ximage_resize/fck_ximage_resize.php (v1.5.3) |h> | <code php|h template/inc_script/fck_ximage_resize/fck_ximage_resize.php (v1.5.3) |h> | ||
<?php | <?php | ||
Line 512: | Line 518: | ||
(fck-<p><span...> ...</span>: Only inline elements are allowed inside p tags) | (fck-<p><span...> ...</span>: Only inline elements are allowed inside p tags) | ||
26.05.09 KH V1.5.2: Add: Generally xnp (next/prev) setup in file direct. | 26.05.09 KH V1.5.2: Add: Generally xnp (next/prev) setup in file direct. | ||
- | 05.10.09 KH V1.5.3: Add: Random image (optinal) | + | 05.10.09 KH V1.5.3: Add: Random image (optinal) catch an random-image from filecenter folder |
------------- | ------------- | ||
Switches in class name set: | Switches in class name set: | ||
Line 957: | Line 963: | ||
**V1.5.1** //21.05.09// : + Changeover EnlargeIt/ReMooz into separate files. \\ | **V1.5.1** //21.05.09// : + Changeover EnlargeIt/ReMooz into separate files. \\ | ||
Changed ReMooz container from <div .. to <span ... (fck-<p><span...> ...</span>: Only inline elements are allowed inside p tags)\\ | Changed ReMooz container from <div .. to <span ... (fck-<p><span...> ...</span>: Only inline elements are allowed inside p tags)\\ | ||
- | **V1.5.2** //26.05.09// : + Generally xnp (next/prev) setup in file direct (only for LightBox and EnlargeIt) | + | **V1.5.2** //26.05.09// : + Generally xnp (next/prev) setup in file direct (only for LightBox and EnlargeIt) \\ |
+ | **V1.5.3** //05.10.09// : + random-image (optional) catch an random-image from filecenter folder | ||