Is there a function I can use to check if a particular image style for a given image has been created already?
|
feedback
|
|
I couldn't find one in the core files but fortunately it's pretty straightforward to implement:
Assuming you have a file object you would call it like this:
If you only need to use it once in the site you could boil it down to:
but it's usually better to separate this sort of thing out into a function | |||
|
feedback
|