I am working on a plugin that constructs a newsletter witch uses a template with a few images.
The images have been uploaded using the Media Library (
uploads/current_year/current_month/) and I want to get the images URL by using the image name.
Any way of doing this without iterating over all the images?
I have tried to store the images in the plugin folder but the website uses https and this location is not accessible without authentication.
Any suggestions on different location for storing the images?