<include file="top.lhhtml">
<lconf pos="/image" pagename="image">
<section link="/image">
<locale>
<locale language="de">
<p>
In eine HTML Seite werden Bilder mittels dem <code>img</code> Tag eingebunden.
Bei diesem Tag kann man optional die Höhe und Weite des Bildes angeben, womit
der Browser schon vor dem Laden des Bildes dessen Dimensionen weiß und schon
mit dem Rendern der HTML Seite beginnen kann. Sind bei allen Bildern einer
Seite alle Dimensionen schon bekannt beschleunigt dies den Bildaufbau
enorm.
</p>
<p>
Aber es ist mühselig selbst die benötigten Daten einzutragen. Deshalb gibt es das
<code>Image</code> Tag. Es findet selbstständig die Dimensionen eines Bildes
heraus. Dazu benötigt es nur Zugang zum Originalbild.
</p>
</locale>
<locale language="en">
<p>
Images are included in a HTML page via the <code>img</code> tag. This tag supports
defining the width and height of an image. If these informations are given the
browser has not to load the image to know its size and can start rendering the
page earlier. If the browser knows all the geometries of all images of an page,
the rendering of the side becomes much faster.
</p>
<p>
But it's laboriously to detect all the sizes of all the images. As the result
<leohtml> supports the <code>image</code> tag. It detects itself the geometry
of an image. Therefore it only requieres access to the original image.
</p>
</locale>
</locale>
<definition title="Image Tag Definition">
<include file="image.def">
</definition>
<br><br>
<faq title="src Option">
<locale>
<locale language="en">
The images name on the web page. If this option is not
given the image name, declared in the <b>origfile</b> option will be used.
</locale>
<locale language="de">
Der Name des Bildes auf der Web-Page. Wenn diese Option nicht
gesetzt ist, dann wird der Name des Bildes, der in der <b>origfile</b> Option
definiert ist verwendet.
</locale>
</locale>
</faq>
<!-- ************** -->
<faq title="origfile Option">
<locale>
<locale language="en">
This option will be used to find the original image.
If this option is not given the <b>src</b> option will be used.
You can also define here only the path to the original image,
the compiler will tries to search for the image in the given direcory
with the name of the image in the <b>src</b> option.
<br>
This option, or the <b>src</b> option, or both, have to be
used to make the tag valid. Otherwise you'll get an error.
</locale>
<locale language="de">
Diese Option wird genutzt um das original Bild zu finden.
Wenn diese Option nicht gesetzt ist, werden die Daten
der <b>src</b> Option verwendet. Hier kann auch einfach nur der Pfad
zum Originalbild angegeben werden, der Kompiler wird in dem gegeben
Verzeichnis nach dem Namen des Bildes, welches in der <b>src</b> Option
angegeben wurde suchen.
<br>
Diese Option, oder die <b>src</b> Option, oder beide müssen angegeben werden um
das Tag gültig werden zu lassen. Ansonsten, wirst du eine Fehlermeldung erhalten.
</locale>
</locale>
</faq>
<!-- ******************************* -->
<faq title-en="width and height Option" title-de="width und height Option">
<locale>
<locale language="de">
Wenn die Option angegeben ist, dann wird der Wert nicht angerührt.
Ist die Option nicht angegeben, dann wird der entsprechende Wert
in die Option des <code>img</code> Tags eingetragen.<br>
Wird ein Prozentwert angegeben zB.: "80%", dann wird die
Geometrie des Bildes ermittelt und es werden 80% des richtigen Wertes
verwendet.
</locale>
<locale language="en">
If the Option is given it won't be touched. If not,
it would be calculated.<br>
If the value of the option is an percentage value eg.: "80%" the image
geometry will be caculated and 80% of the real value will be taken.
</locale>
</locale>
</faq>
<!-- ************************ -->
<faq title="alt Option">
<locale>
<locale language="de">
Wenn diese Option gegeben ist dann wird sie nicht angerührt.
Ist dagegen kein Wert eingetragen, dann wird der Name des Bildes
eingetragen.
</locale>
<locale language="en">
If this option is given it won't be touched.
If not, the images name will be used.
</locale>
</locale>
</faq>
<!-- ********************************** -->
<faq title-de="lowsrc, border, class und style Option" title-en="lowsrc, border, class and style Option">
<locale>
<locale language="en">
This options will be directly passed to the <code>img</code> tag.
</locale>
<locale language="de">
Diese Optionen werden direkt an das <code>img</code> Tag weitergegeben.
</locale>
</locale>
</faq>
<!-- ******************************** -->
<faq title="nowarning Option">
<locale>
<locale language="en">
To avoid typing errors, some warnings are reported,
but maybe you don't wan't to get them at every page compilation.
If this Flag is set, only errors will be reported.
</locale>
<locale language="de">
Um dich vor Tippfehlern zu bewahren werden einige Warnungen
ausgegeben. Aber diese können mit der Zeit störend sein.
Wenn dieses Flag gesetzt ist, werden nur mehr Fehler gemeldet.
</locale>
</locale>
</faq>
</section>
|