This is a migrated thread and some comments may be shown as answers.

ThumbnailURL and image size

2 Answers 280 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Nicolas
Top achievements
Rank 1
Nicolas asked on 06 Jun 2018, 02:23 PM

Hi all,

I am implementing the editor with Microsoft Dynamics CRM. The problem I have is that I don't have a specific URL for thumbnails. I can only query the full size images. Is there a way to do either of these things:

- Bypass the url call and provide the base64 as img src directly?

- Reduce the size image after the url call has been made in some callback function?

Thanks a lot,

Nicolas

2 Answers, 1 is accepted

Sort by
0
Nicolas
Top achievements
Rank 1
answered on 07 Jun 2018, 12:12 PM

Another option for me would be to allow the thumbnailUrl to perform a post, so that I could provide some relevant data...

Is that possible?

0
Veselin Tsvetanov
Telerik team
answered on 08 Jun 2018, 08:31 AM
Hi Nicolas,

I am afraid, that the implementation of the Editor ImageBrowser would not allow you to handle a callback in which to modify the returned thumbnail image. The method of the remote call could also not be modified within the widget options. Nevertheless, if that could help, you could alter the implementation of the internal method which loads those Thumbnails according to your specific needs. Here is a Dojo sample demonstrating the default implementation of that method.

Regards,
Veselin Tsvetanov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Editor
Asked by
Nicolas
Top achievements
Rank 1
Answers by
Nicolas
Top achievements
Rank 1
Veselin Tsvetanov
Telerik team
Share this question
or