Try our conversational search powered by Generative AI!

Insert - Select format dropdown

Vote:
 

Hi, is there any option in IV (or is it possible to do this with code) to remove the default option 'Original' from the Insert -> "Select format"-dropdown?.

#114089
Dec 04, 2014 10:51
Vote:
 

I've found this in the IVCore database:

MediaFormats \ 

Id TypeId Data Hash Name SystemFormat Deleted
1 4 {} 92225b935ad37a50b983c5e7c90ae93b Original 1 0

but if I change the Deleted field to true I get this error:

AN EXCEPTION OCCURRED

Sequence contains no matching element

More information about this error can be found in the logs.

If I try to change the Original name and/or data column I get the same error..

#114091
Dec 04, 2014 11:21
Vote:
 

Hi!

We have no configurable way to remove the orignal option from the insert menu.

Marking the original format as deleted is a bad idea since the cleanup job will find it and effectively wipe out all original media from the core service.

/Dan

#114092
Dec 04, 2014 11:42
Vote:
 

Hi again Dan,

is there any other good aproach to format the images that the editors will put in the TinyMCE-field?.
The problem is that our customer will use alot of very big pictures, and don't want the editors to choose "Original format" on these 5000x5000 images :).

#114096
Dec 04, 2014 12:16
Vote:
 

Well, you can always hack the html for the insert menu and remove the Original item.

It is defined in the views\Library\_toolbar.cshtml file, line 52 and is a jquery template

Remember that this will be overwritten if you upgrade the installation.

#114097
Dec 04, 2014 12:32
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.