image
Contains utility functions for dealing with images.
Methods:
is_valid_urlpreload
Direct Link
is_valid_url
( URL )Determines whether or not a given URL is a valid image path.
Parameters
-
URL
String
The URL to check.
Returns
BooleanTrue means the given URL is valid, false means it's not.
Direct Link
preload
( images )Preloads images into the page.
Parameters
-
images
Array
An array of URL strings to preload.