Images not displaying.
Wissi opened this issue · 2 comments
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>
The format for the resources is "gbook:XYZ" which maps to
config/books/resources/textures/XYZ.png
The nam should be lowercase, and can reference subfolders.
…On 3 Jun 2017 9:53 pm, "Wissi" ***@***.***> wrote:
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.
<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: image_test1]
<https://cloud.githubusercontent.com/assets/23312242/26756603/0117f0c2-486c-11e7-89c7-10622f127580.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#11>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAp3GzcvebkttnDGls3JUUQ9nhJzuhTMks5sAbnTgaJpZM4NvL0M>
.