Jump to content

Recommended Posts

Posted

I'm using since 2017 some self developed non public module to upload and manage images via Adobe Scene7.

So we don't save images on the filesystem. Since some weeks I get this error in the admin panel. Can I hide this in some way or with some hook? It affects nothing in my setup.

image.thumb.png.30dbf2b66199841201a0ddcc213dfd5c.png

Posted

I have solved it with some lines of JS in my admin.js File for AdminOnSteroids:


  document.querySelectorAll(".NoticeError .pw-container").forEach(element => {
    if(element.innerText.includes("Original image does not exist to create size variation")) {
      element.parentNode.style.display = "none";
    }
  });

It's not they prettiest solution and work's only if the error message is in english but it should do the work for us...

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...