diff --git a/src/components/images/attributes.js b/src/components/images/attributes.js index 2aec730a910..125aa23b128 100644 --- a/src/components/images/attributes.js +++ b/src/components/images/attributes.js @@ -72,7 +72,13 @@ module.exports = templatedArray('image', { dflt: 'contain', editType: 'arraydraw', description: [ - 'Specifies which dimension of the image to constrain.' + 'Sets how the source image fits inside the container defined by', + '*sizex* and *sizey*. With *contain*, the whole image fits', + 'inside the container and may leave unused space. With *fill*,', + 'the image covers the container and may be cropped. Both', + 'preserve the aspect ratio of the source image. With *stretch*,', + 'the image fills both dimensions independently. Use *stretch*', + 'when both image edges must follow their respective data axes during zoom.' ].join(' ') },