In drupal I'm displaying a view in a block. I'm stripping out all the html and rewriting the results as this

<li><a href="#">[field_button_image]</a></li>

On the preview it looks okay, but in the block that contains the view it renders the image like this

<img typeof="foaf:Image" src="image/image.png" width="200" height="240" alt="">

The image is distorted because of the width and height styling that is added in the tag. Where is this coming from? And is it possible to disable it?


Check your content type. what is default image type in manage field display. set it Original image. hope this help!


The display setting of this field for the particular content type might be different from the original.


I suggest to have a look in to your :

  • block.tpl templates
  • Or maybe a filter in the block or the user permissions
  • Display mode of the node

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.