images <div>

FIXME short descriptiom

So that the output also generates the number of columns and the picture distance, the template must be extended.

  1. Copy and rename the file /template/inc_default/imagespecial.tmpl to /template/inc_cntpart/imagespecial/mytemplate.tmpl. For mytemplate.tmpl you can set your own name.
  2. After a recent call of the CPs this template appears in in the selection list and is selectable.
  3. Now we enhances the template at the appropriate place:
        <div style="float:left;" class="imageEntry" id="img{IMGID}">

Template enhanced

   <div style="float:left;"><img src="img/leer.gif" alt="" border="0" height="150" width="{SPACE}"></div> <!-- space between images {SPACE}px -->
   <div style="clear:both;"><img src="img/leer.gif" alt="" border="0" height="{SPACE}" width="100"></div><!-- space between image rows {SPACE}px -->
   <div style="clear:both;"><!-- clear //--></div>

quod vide:

english/phpwcms-system/article/contentparts/images-div.txt · Last modified: 2018/06/03 18:09 (external edit) Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0