@rogerwheatley can you show us the html with and without photon active?
In my case I initially thought there was a problem with the cached image that photon cached, but after checking the html my best guess is that the inserted width="249"
is the culprit.
It looks as though photon only caches one size of image, whereas the media library (for performance reasons?) creates several sizes for each image.
Image without photon:
src="ballot-woman-300px-250x254.png"
Image with photon:
width="249" src="...ballot-woman-300px.png?zoom=3&fit=250%2C254&ssl=1"
The full size image 300px.png has dimensions 295×300
The non-photon image 300px-250×254.png is (as the name implies) 250×254
The parameters on the end of the photon image URL cause photon to serve an image with dimensions 249×254
So the width="249"
, which I think the photon code adds, should be unnecessary
And the inserted width="249"
causes the wrong aspect ratio when combined with the height="100"
parameter that I specified via an option in my plugin.
If the photon code stopped inserting the width="xxx"
I think it would cure my problem.