Laufiair Hexicola Posted December 5, 2023 Share Posted December 5, 2023 I recently purchased an item called Prim-DNS Server which creates a mini web server on your land(which is perfect for what i'm looking to do with it). However, I'm finding it difficult to display internal images with it and was curious if anyone had any experience with this or could point me in the right direction. The main file uses xhtml format however there's no way to refrence an uploaded image by name or UUID. I did attempt to reach out to the creator but never heard back. Thanks to anyone in advance, Logan Link to comment Share on other sites More sharing options...
Laufiair Hexicola Posted December 5, 2023 Author Share Posted December 5, 2023 Got a reply back from the owner of the scripts and what i'm looking for isn't possible since there's no mime-type in SL for images to serve and I don't think there's a workaround for that. This can be deleted since I'm unable to do it myself. Thanks, Logan Link to comment Share on other sites More sharing options...
Quistess Alpha Posted December 5, 2023 Share Posted December 5, 2023 (edited) if you can inline an image as part of the xhtml, (svg file format works very well with this) that can work, but LSL's limited mimetypes are indeed a pain. ETA: very small raster images can be converted to inline (x)html with tools such as https://ezgif.com/image-to-datauri or use the trick described here: https://devtoolstips.org/tips/en/convert-image-to-data-url/ Edited December 5, 2023 by Quistess Alpha 1 Link to comment Share on other sites More sharing options...
Laufiair Hexicola Posted December 5, 2023 Author Share Posted December 5, 2023 I was reading about that. I ended up hotlinking the image by way of picture-service.secondlife.com using my image uuids. I'm sure their's a cleaner method but it works. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now