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

How to Configure Image Manager Settings

4 Answers 171 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Michael McClain
Top achievements
Rank 1
Michael McClain asked on 14 Aug 2009, 10:46 AM
Hi All,
I have a requirement with the Image Manager inside my Radeditor. Below are the set of questions:

1. How and where do I configure the path to the list of image holders.
2. Can I have the same path pointed to a sharepoint Image Library in the same applicaion.
3. How can I disable or not show the New Folder, Delete and Upload buttons for the user?


Any help would be appreciated. Thanks in advance.

4 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 17 Aug 2009, 07:41 AM
Hi Michael McClain,

You can find information on the ImagaMnager dialog in the following help article http://www.telerik.com/help/aspnet-ajax/image_manager.html.

In addition to the article there is one more property that regards the ImageMnager and it is the MaxImageSize: the maximum file size in bytes allowed for uploading with the Image Manager dialog. The default value is 204800 bytes. This value must be less than the maxRequestLength setting in the application's web.config or machine.config files. The default maxRequestLength is 4096kB.

I hope this helps.


Regards,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Michael McClain
Top achievements
Rank 1
answered on 21 Aug 2009, 12:41 PM
I was able to work fine with the Image Manager and I understand that the user would see a disabled Delete and Upload button if he has limited acces to the image library. Can I somehow show the user a friendly message on the click of these disabled buttons, something like:
"You do not have sufficient rights to Delete/Upload files?"
Can I make a custom javascript work for this. If so, then where should i proceed with this change. Please help.
0
Stanimir
Telerik team
answered on 21 Aug 2009, 02:15 PM
Hi Michael,

You can find the Image Manager user control defined in the ImageManager.ascx, which is located in the Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.5.6.0__1f131a624888eeed\RadControls\Editor\Dialogs folder. You can achieve the desired functionality by modifying this file.

I hope this helps.

All the best,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
christian
Top achievements
Rank 1
answered on 09 Sep 2010, 08:59 AM
Hi Michael,
                  were you able to achieve this? i am in exact need of this now. i know it has been long time since you posted this,   could you please help me? any little information that you remember how you achieved this would be a great help for me.

thank you
Chrisitan
Tags
WebParts for SharePoint
Asked by
Michael McClain
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Michael McClain
Top achievements
Rank 1
christian
Top achievements
Rank 1
Share this question
or