cancel
Showing results for 
Search instead for 
Did you mean: 

Thumbnail rendition url downloading as Small

Carlos_Gregorek
Champ on-the-rise
Champ on-the-rise

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?

1 ACCEPTED ANSWER

Carlos_Gregorek
Champ on-the-rise
Champ on-the-rise

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!

View answer in original post

1 REPLY 1

Carlos_Gregorek
Champ on-the-rise
Champ on-the-rise

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!

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.