Joy
(@joyously)
If the function no longer works as advertised, because the image scaling was added later, you should write a ticket. https://core.trac.wordpress.org/
Thread Starter
tux4u2
(@tux4u2)
@joyously
Thanks for your reply. I don’t know if the function already worked in the past and therefore the problem should become subject of a ticket.
I don’t think that the image scaling added later is the reason. The problem occurs regardless of the fact whether the image has been scaled on upload or not. Even if there is the original image in the media library (‘image.jpg’), the function call using ‘image-300×200.jpg’ fails.
I’m still hoping that somenone can tell me a solution.