Guidebook

Guidebook

6M Downloads

Images not displaying.

Wissi opened this issue · 2 comments

commented

Tried placing any custom image in:
(apparently it's the default location for them to be recognized and pulled from)
/config/books/resources/

Also tried:
/config/books/
/config/books/resources/textures

Not even using an extracted minecraft "coal" image.

Only when pulled from default:

<image src="minecraft:items/coal" tw="16" th="16" />
<book title="Guidebook Manual" cover="gbook:covers/default" fontSize="0.6">

Will they display.
This is my XML file:

<book title="image Test" cover="coal" fontSize="0.6">

  <include ref="standard.xml" />

  <chapter>
    <page>
      <title>Test of Images</title>
      <p></p>
      <image src="coal" tw="16" th="16" />
      <p></p>
      <p></p>
      <image src="/config/books/resources/coal" tw="16" th="16" />
      <p></p>
      <p></p>
      <image src="/config/books/coal" tw="16" th="16" />
      <p></p>
      <p></p>
      <image src="/config/books/resources/textures/coal" tw="16" th="16" />
      <p></p>
      <p></p>
      <image src="minecraft:items/coal" tw="16" th="16" />
    </page>
  </chapter>
</book>

image_test1

commented
commented

Thank you so much, small detail, HUGE difference. Maybe add it in Wiki?
Working perfect now.