How can I do that?
If an image is about 250 px, do nothing.
And i try "Resizing an image during upload" in Code Library/Editor
If I choose a .jpg file and uploads it is saved with the name and extension as the original. But it is converted into .png
How can I change it? I upload a .jpg image I want it to still .jpg after it is stripped down to the new size
11 Answers, 1 is accepted

But still a problem with your example "Resizing an image during upload" in Code Library/Editor.
I choose a .jpg file and uploads it, is saved with the name and extension as the original. But it is converted into .png
Please help me solve it.....
There used to be a bug in ImageManager which forced all images to be saved as PNGs but it should be resolved in the latest Telerik version. What version do you use?
Regards,
Genady Sergeev
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

I am not able to reproduce the issue you have described. I have attached a video and an image for you to test with it too. Have you made any modifications of the project and could you verify once again that the dlls in your project are 2014.3.1209.45?
Regards,
Joana
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

I use your exemple "resizeimage-vb.zip" from http://www.telerik.com/support/code-library/resizing-an-image-during-upload
You can try your exemple "resizeimage-vb.zip" here:
The .jpg image i upload is attached. That is a .png image after upload....
I have only change this (custom ToolsFile):
<telerik:RadEditor ID=
"RadEditor1"
ToolsFile=
"AdminToolbar.xml"
ImageManager-MaxUploadFileSize=
"10485760"
Height=
"500"
Width=
"700"
runat=
"server"
>
</telerik:RadEditor>
​
I tried with the code provided in the KB article, but to no avail. The custom content provider for image resizing is working as expected. You can examine this screencast and the project with which I tested is available in the attached zip archive.
I suggest verifying if the content provider logic is not somehow modified and results to the encountered behavior.
Regards,
Ianko
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

The file might be broken due to the file transfer.
You can try deleting it, and uploading another one to test the content provider's functionality.
Regards,
Ianko
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

I've tried creating a new Telrik Website in Visual Studio, have tried the code sample "custom-resize-content-provider.zip" on two web servers. Same problem. The image is saved as a .png image with the file extension .jpg
Please test your example and open the resized image in Photoshop and see if you get any error message???
I have downloaded the image from the Ianko's example and I was able to open it in Gimp and Paint.NET without any issues.
Can you please see if the attached image from the example is opening correctly on your end too.
Regards,
Konstantin Dikov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.