The top Alternative here needs to be: img-src 'self' info:picture/svg+xml. If it will not get the job done check out: img-src 'self' details:Think about altering it if you still have your directive as img-src * 'self' information: https:; Then employing that variable will use the class attribute if it exists https://accessory-boxes13455.blogsvirals.com/36417989/5-simple-statements-about-self-adhesive-mini-trunking-explained