When you upload in the library, WordPress creates thumbnails based on all the image sizes you have defined using add image size whether you want to use them or not.
The admin uploads the in the library, but the fly dynamic images are not created.
The user visits the page for the time, and the image is created and is stored.
The user visits the page again for the time, and the version of the image is served..
Here are some functions and example code to get you started. fly get attachment image src attachment id The ID of the image attachment size Either the name of the pre-defined size defined using fly add image size, or array with the width and height.
Returns array fly get attachment image attachment id The ID of the image attachment size Either the name of the pre-defined size defined using fly add image size, or array with the width and height.
The parameter of the array needs to be the x-axis crop and the parameter needs to be the y-axis crop.
For example ✓ fly get attachment image, array, array ) Will work
Read more