(this page is translated by Google; We're working hard on a human translation)
Class TexyImageModule
He is responsible for uploads. Scenario. Pictures with label processing TexyFigureModule . Off the module by disabling the syntax:
// zákaz obrázků
$texy ->allowed[ 'image' ] = FALSE ;
// zákaz referencí
$texy ->allowed[ 'image/definition' ] = FALSE ; Configuration
| variable | type | default | description |
|---|---|---|---|
| $ Root | string | 'images/' | root files on the Web |
| $ LinkedRoot | string | 'images/' | root files in a position to link |
| $ FileRoot | string | Root files on disk | |
| $ LeftClass | string | NULL | class image floating left |
| $ RightClass | string | NULL | class image floating right |
| $ DefaultAlt | string | '' | default attribute alt |
| $ OnLoad | string | pretty good idea script | onload handler |
Physical path to the image $fileRoot is used to detect many dimensions, which will then bring in the HTML output. The module tries to detect the path of the server environment, but it is preferable to set it manually.
The variable $linkedRoot determines the root files, which are used as a link destination, then [odkaz | * img.jpg *] .
Floating image is a set class $leftClass respectively. $rightClass , or $texy->alignClasses['left'] respectively. 'right' . If neither is specified, Texy images aligned CSS property float .
Because Texy can flip the pictures over or mouse (onmouseover effect), it is necessary to ensure timely loading of these files (preload). This script is awfully pretty good idea, which is activated by events onload for individual files. The script is stored in the variable $onLoad .





