Jump to content

Deactivate renaming and image editing function in admin panel

Andreas Augustin

Recommended Posts

7 hours ago, Andreas Augustin said:

I solved it with AdminOnSteroids and Custom CSS/JS

Glad you sorted out a solution. Any chance you'd like to share in case someone else wants to achieve this as well? Thanks!

Link to comment
Share on other sites

Sure - I added 2 files with adminonsteroids:

  • site/template/admin/admin.css
  • site/template/admin/admin.js

With these codes I hide following features:

  • Image Cropping
  • Image Variations
  • Image Title change
  • Image Actions
  • Image Change on Drag & Drop
/* added ot admin panel sites */

.InputfieldImageEdit__buttons button {
  display: none !important;

.InputfieldImageEdit__buttons button.InputfieldImageButtonFocus {
  display: inline-block !important;

.InputfieldImageEdit__name span {
  cursor: default;

.InputfieldImageEdit__imagewrapper .detail-upload {
  visibility: hidden !important;
// added ot admin panel sites

$(document).ready(function() {
  $('.InputfieldImageEdit__name span').removeAttr('contenteditable');


  • Like 4
  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...