Changes between Version 23 and Version 24 of Submitting/Docs


Ignore:
Timestamp:
04/15/17 08:38:37 (8 years ago)
Author:
marisn
Comment:

Height is mandatory if width is provided

Legend:

Unmodified
Added
Removed
Modified
  • Submitting/Docs

    v23 v24  
    155155Format: Images should be ideally in PNG (well, JPG and GIF is allowed as well when appropriate but usually it is not!). Vector data should be included in pages as raster images (i.e. PNGs) but the original format (preferably SVG) should be committed to the repository as well.
    156156
    157 Adding the image to the HTML page (r.viewshed example, the screenshot is shown with a width of 600 pixel but it is clickable in the manual page):
     157Adding the image to the HTML page (r.viewshed example, the screenshot is shown with a width of 600 pixel but it is clickable in the manual page). If a larger image is displayed as shrinked, both with and height parameters should be set:
    158158{{{
    159159<div align="center" style="margin: 10px">
    160160<a href="r_viewshed.png">
    161 <img src="r_viewshed.png" width="600" alt="r.viewshed example" border=0>
     161<img src="r_viewshed.png" width="600" height="600" alt="r.viewshed example" border="0">
    162162</a><br>
    163163<i>Figure: Viewshed shown on shaded terrain (observer position in the north-east quadrant with white dot; 5m above ground)</i>