Image class being added by system automatically

Request Type: 
General Assistance
Author: 
Campbell Harmon
Issue/Request: 

Hi Drupal Team,

On this page: http://divinity.yale.edu/core/digital-resources  I have several icons not showing up. Whenever and however I try to add the image code for those icons, the system automatically adds an image class into the <img src> tag with garbled text that prevents the icon from showing. No matter how I try and change the code, in the code view, copying from an outside editor, etc, that image class keeps showing up and I can’t remove it.

Any ideas?

Hello Campbell,

Does the code disappear after you copy it into Drupal? Is the code there now? I’m trying to gauge what code you are using vs. the typical Drupal WYSIWYG behavior.

Josue

The code shows up on it’s own both when I copy and paste into the drupal HTML window AND when I try to build directly in the WYSIWYG window.

Look for this code: <img src=”http://divinity.yale.edu/sites/default/files/Instagram-icon.gif” alt=”Instagram” width=”66” height=”66” class=”sgvomgzcmuyxtutarevj” />

See that “class” tag with the random letters? That’s what Drupal is adding for me.

Hello Campbell,

We checked on our end and it could be when it was originally copied & pasted that it came across and Drupal was remembering it in the class dropdown. We tried to duplicate it but were unable to duplicate it.

Josue