I've improved an Amazon S3 ECL provider got from here and it's working fine. My problem is when I open an image (jpg for example) from the Mountpoint.
Sometimes it shows the image in the General tab and sometimes it shows only the icon (both being .jpg
images). If I click on both (either the image or the icon) I can correctly see the image.
Debugging the ECL Provider I see that, when debugging the image that is shown, it enters the code only once and GetThumbnailImage
is not called.
When debugging the one that shows the icon, the code is called twice, once getting the image like the one above, the second one, it enters into GetThumbnailImage
method.
When it is expected to enter GetThumbnailImage
method and when not?