Image resizing with _getRelatedImages

By dsherman

Would it be possible to pass either a width or height with a call to "search_getRelatedImages".

Seems to result with a default width of 200px. .

Dan

 

Filed Under:

Change filename in the <url>

Dan,

You can resize the image using the response. You can change that file name in the <url> tag to the width and height you want using this format:

<width>x<height>.jpg

 

The best scaling and cropping results are when you fix either the height (x<height>.jpg) or the width (<width>x.jpg) and let the system decide the other dimension.

 

Thanks

Vineet

thx

I see. Great, thanks. .dan