preview_nodeimage_node#.png Zero bytes not loading thumbnail_nodeimage_node#.jpg

Q&A about the latest versions
Post Reply
SBarrera
Posts: 8
Joined: Tue Oct 24, 2017 10:59 am

Hello,

When I output an HTML5 panorama some of the preview_nodeimage_node#.png images are zero bytes and don't display. The images directory also has thumbnail_nodeimage_node#.jpg. The code loads the PNG but not the JPG.

Why am I not seeing the JPG thumbnail instead of the zero byte PNG?

Screen Shot 2021-01-15 at 17.24.27.jpg
Screen Shot 2021-01-15 at 17.24.27.jpg (152.36 KiB) Viewed 1389 times

I'm not sure how to solve this problem. Has anyone solved this problem?

Code: Select all

<div class="ggskin ggskin_nodeimage " style="height: 90px; left: 5px; position: absolute; top: 5px; visibility: inherit; width: 140px; pointer-events: auto; transform-origin: 50% 50%;"><img class="ggskin ggskin_nodeimage" src="images/preview_nodeimage_node2.png" style="position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;"></div>
Attachments
Screen Shot 2021-01-15 at 18.03.53.jpg
Screen Shot 2021-01-15 at 18.03.53.jpg (127.79 KiB) Viewed 1389 times
Thanks!
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
In your skin you have a thumbnail menu and the hotspot preview. Make sure both are set to the same file type. If the node image elements are the same size then Pano2VR will only generate one set of images for both. But if they are different file types or sizes then it will generate a set of images for each node image element.

With regards to has any solved this problem, I can not say I have seen it or it has been reported before.
I would like to see you skin, can you post it?
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
SBarrera
Posts: 8
Joined: Tue Oct 24, 2017 10:59 am

Hello Hopki,

Thanks, that fixed it. There is so much to learn and understand about making good skins.

If you are still interested, I'm attaching the Skin prior to me making your suggested changes.
CU_silhouette_autohide_04 copy.ggsk
(72.88 KiB) Downloaded 114 times
Thanks!
Post Reply