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

Changing default image and video size

3 Answers 55 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Derrick
Top achievements
Rank 1
Derrick asked on 29 Sep 2011, 01:09 PM
When one uses the RAD Editor's Media Manager to import new images or videos, they are provided with a popup that has editable text boxes for the media height and width.  These boxes are pre-populated with default values.

How do we change the default values that are pre-populated into those text boxes?  Is there a configuration file (like the tools_xml) or a property we can set on the RadEditor object to set default values of our own choosing?

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 03 Oct 2011, 11:49 AM
Hi Derrick,

You can learn how to customize the built-in dialogs of RadEditor in the following live demo: Customize Built-in Dialogs. The file that you need to edit is named \EditorDialogs\MediaManager.ascx and

All the best,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Derrick
Top achievements
Rank 1
answered on 04 Oct 2011, 07:03 PM
Hi I can set the default size for media manager and flash manager now.
But for image manager, this doesn't work. I have noticed that for media manager and flash manager, they already have a default settings, so I just simply changed the value. But Image manager seems not have default setting code, I guess it just basically load the images' original sizes...
Another thing is the image doesn't show up after I Click Image Editor, it is just a broken image picture at the left area in Image Editor. What is the problem here...? Can I disable the ImageEditor inside of Image Manager? and how?

Thanks
0
Accepted
Dobromir
Telerik team
answered on 05 Oct 2011, 08:34 PM
Hi Derrick,

I believe the following KB article will be of help solving the issue with predefined attributes for ImageManager dialog:
Inserting images with predefined attributes via the Image Manager

Regarding the second issue, this problem might occur if the path provided to the ImageEditor is incorrect. Unfortunately, the provided information on the specific scenario is not enough to determine the exact cause of the issue. Could you please provide more details?
  • Which version of RadControls for ASP.NET AJAX and .NET Framework are used in the application?
  • Under which browser and its version the problem occurs?
  • Are you using a custom content provider for the ImageManager?
  • Could you please provide a simple fully runnable project reproducing the problem so we can investigate it further?

Regards,
Dobromir
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Editor
Asked by
Derrick
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Derrick
Top achievements
Rank 1
Dobromir
Telerik team
Share this question
or