Using the extra-assets folder

Hi Guys

I want to put some jpegs into the extra-assets folder for HTML labels.

I can get this working in the root extra-assets folder, but if I wanted to keeps things neat and have different folders in the extra-assets folder, the link breaks when uploaded? It works in shapespark but once uploaded the links are broken, here is the code

—(img src="$EXTRA_ASSETS/labels/Label.jpg")–

Sorry, currently it’s not possible. You can add prefixes to keep similar files listed together…

1 Like

OK so got labels working in shapespark, and it was uploading with a generic label called “label”.

But now that I have added the label names to specific jpegs it won’t upload
Labels Names (Uveshree-Kinloch-YarnOnLinen.jpg) , (John-van-der-Westhuizen-MTNSilent.jpg)
and 36 more.

–Scene upload failed: invalid resource path–

But It works in the app & on self hosting

Yes, parentheses are not allowed, please use alphanumeric characters, underscores, dashes and dots.

In the next release out app is going to validate characters locally too to help to detect problem earlier.

1 Like

I did not use brackets in the actual code, was just for the post

code = img src=“$EXTRA_ASSETS/Iona-Maclean-DragonFly.jpg”
style=“max-height: 60vh;”

So it won’t upload to your server,
Mobile devices were not working this morning, but they appear to be working now!!

I’ve checked logs on our end from your last upload attempt. Some of your files from extra-assets contain spaces in names which are also forbidden.

Sorry for the inconvenience, definitely we have to improve our error messages.

ahh found two “spaces” in the names, now its working.

Thanks Guys,

1 Like