Skip to content

Load images from a URL

Adds multiple actions to load images from a URL into the game.

Authors and contributors to this community extension: arthuro555.

Warning

This is an extension made by a community member — but not reviewed by the GDevelop extension team. As such, we can't guarantee it meets all the quality standards of official extensions. In case of doubt, contact the author to know more about what the extension does or inspect its content before using it.


With this extension, you can load images from any URL (including a DataURL) into a sprite or image resource. Loading it into a sprite will load the URL into a sprite, replacing the image it displays until the sprite's displayed image is changed, e.g. by going to the next frame of an animation or switching animations. Loading it into a resource will discard the old image that a resource was using and replace it with the image loaded from a URL. Any sprite that is displaying this resource as a part of their animation will start showing the new image instead of the old one. The old image of the resource will not be accessible anymore unless you restart the game or reload the original image from a URL into it.


Tip

Learn how to install new extensions by following a step-by-step guide.

This page is an auto-generated reference page about the Load images from a URL extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.