Thumbnail rendition url downloading as Small

Hi all,

I am trying to access a thumbnail URL from a response I got from API. For an image that is shipped with nuxeo-dam, I am getting this response:

"{"thumbnail":{"url":"http://192.168.0.15:8080/nuxeo/api/v1/repo/default/id/d536e245-0c25-4be1-a449-8aff1dad8243/@rendition/thumbnail?changeToken=3-0"}}"

This came as contextParameter from the API.

Now, when I access tthat URL, I receive the SMALL rendition of the image instead of the thumbnail. Why?

0 votes

1 answers

108 views

ANSWER



OK,

I took a look into the source code and actually it asks for the 'Small' rendition first. If it finds nothing, THEN it goes for the thumbnail. Strange behaviour, for me.

Cheers!

0 votes