Show Image
showImage(imageUrl)
Displays an image or GIF in a full-screen overlay with NUI focus.
Parameters:
imageUrl
(string): URL to the image or GIF to display
Returns:
None
Exports:
Standard Export:
exports['ps-lib']:showImage(imageUrl)
PS-UI Export (Legacy Support):
exports['ps-ui']:showImage(imageUrl)
Usage Examples
Basic Image Display
-- Show a static image
exports['ps-lib']:showImage('https://example.com/image.jpg')
-- Show an animated GIF
exports['ps-lib']:showImage('https://example.com/animation.gif')
Last updated