Settings - Replace method
This modifies how SPAI will replace the images with the optimized ones (remember that SPAI changes the URL of the image).
- SRC: this is the recommended method. It makes sure the images remain only with the
srcattribute, which resizes to the placeholder ("adaptive images").
- BOTH (experimental): it does the same as SRC, but it also keeps the
srcsetattribute while replacing images in it (but not resizing them).
- SRCSET (experimental): it only replaces images in the
srcsetattribute. Please notice that you do not need to select this to have "adaptive images"; SRC already serves adaptive images.
You should only choose BOTH or SRCSET if directed by support or if you are really sure you need them.