Images in htmlinclude fines

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Images in htmlinclude fines

Doxygen - Users mailing list
Hi,

I wrote some html files that I want to insert in the documentation using the @htmlinclude tag. In the files I wanted to put images like this :<img src="name.png/> but I don't know were to put the images... I tried to put them in the images_path or in the example_path but it does not work

Did anyone know? 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Doxygen-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Images in htmlinclude fines

albert
Dear Bob

From the documentation:
24.124 \htmlinclude <file-name>
This command includes the file <file-name> as is in the HTML documentation. The command is equivalent to
pasting the file in the documentation and placing \htmlonly and \endhtmlonly commands around it.
Files or directories that doxygen should look for can be specified using the EXAMPLE_PATH tag of doxygen's
configuration file.

The HTML documentation is placed verbatim into the output (placed to look for the files is the EXAMPLE_PATH).
So from your description, the images should land at the same place as where the HTML documentation will land.

You probably want to use HTML_EXTRA_FILES in the Doxyfile:
The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
other source files which should be copied to the HTML output directory. Note that these files will be copied to
the base HTML output directory. Use the $relpath^ marker in the HTML_HEADER and/or HTML_FOO -
TER files to load these files. In the HTML_STYLESHEET file, use the file name only. Also note that the files
will be copied as-is; there are no commands or markers available.

Albert

On Tue, Jul 11, 2017 at 5:11 PM, Bob+ Biton via Doxygen-users <[hidden email]> wrote:
Hi,

I wrote some html files that I want to insert in the documentation using the @htmlinclude tag. In the files I wanted to put images like this :<img src="name.png/> but I don't know were to put the images... I tried to put them in the images_path or in the example_path but it does not work

Did anyone know? 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Doxygen-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/doxygen-users



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Doxygen-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
Loading...