and like us on FB

This basic function is provided as a reference for our team. We generally don’t use it; instead, we retrieve the highest quality thumbnail and scale it as required with another library. If used, a check should be made to ensure the image exists and, if it doesn’t, an alternative should be returned.

Return Array of Data

The second function is to support a couple of articles on our website. The purpose of the function is to return an array of information relating to the image.

The API should generally be used to retrieve available thumbnails. Usage of the API negates the need to check if an image exists.

Shortt URL for this post: