Closed (fixed)
Project:
ImageField
Version:
6.x-3.3
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 May 2010 at 18:16 UTC
Updated:
13 May 2010 at 18:22 UTC
Hi,
I'm trying to theme the images created using this module, but the default tagging puts: ![]()
The width and height are automatically put in by the module and correspond to the original upload size.
This is overriding my CSS attempts to make the width percent based and the height to scale automatically because the width and height are added AFTER the CSS has been read and applied.
I can go through the .module file and remove this, but that doesn't seem like a best practice. Is there a better way to achieve this? It should be pretty simple.
Comments
Comment #1
acrymble commentedSorry I fixed the problem.
My mistake was that I was trying to make the div surrounding the image 100% width / height, rather than the image itself.