Get preview image from item in Object Inventory
tracked
Red2Blaze Resident
A function to be able to pull the preview image of an item in an object Inventory
I feel this can be useful for all types of options. If the preview images are part of the objects now, being able to display them will allow for a whole set of options, such as vendors with the preview image already set from the object itself or a rez box that shows what it rez with minimal setup on it.
The texture is already in-world, and it is already attached to the object, so this seems like something useful to have
Log In
Maestro Linden
Merged in a post:
[Request] llGetInventoryImage
Journey Bunny
One important asset property has been added since the introduction of the various llGetInventory*** functions: A preview image! This small image is now part of assets and can be viewed when mousing over them. It would be handy for vendor and rezzer purposes to be able to fetch that image uuid via scripting.
WolfGang Senizen
Maybe it's time for
llGetInventoryDetails(<inventory_reference>,[<inventory_detail_1>,<inventory_detail_2>])
So
llGetInventoryDetails(
(name or key?),
[
INVENTORY_ACQUIRE_TIME,
INVENTORY_CREATOR,
INVENTORY_KEY,
INVENTORY_DESC,
INVENTORY_PERM_MASK,
INVENTORY_PREVIEW_IMAGE,
INVENTORY_TYPE
]
);
Returns a list like GetObjectDetails
Not sure if name or key would be better
Red2Blaze Resident
WolfGang Senizen Well as it should be in the inventory and stuff there have the different names then name likely be more useable, key seems to be less the thing used for this sort of stuff where it has to be in the object inventory
If its for any object then I guess that need to be a data_server one
SL Feedback
marked this post as
tracked
SL Feedback
Hello, and thank you for your feature request regarding the ability to pull the preview image of an item in an object inventory. This idea has been brought up in the past and is currently tracked. We understand how this feature could be beneficial for various applications, such as vendors and rez boxes, by simplifying the setup process and enhancing user experience. While we have no estimate on when it may be implemented, please keep an eye on future updates. We appreciate your input and hope you continue to share your ideas to help improve Second Life. Thank you!