impresspages / ImpressPages

ImpressPages is php framework with admin panel. Build functional website in one hour.
http://www.impresspages.org
Other
501 stars 178 forks source link

Fix #772 auto size image not scale to 100% width #773

Closed chouex closed 7 years ago

chouex commented 8 years ago
fix auto size image not scale to 100% width
unable to apply css, use inline-style instead
chouex commented 8 years ago

less changes in Ip/Internal/Core/assets/ipContent/less/ipContent/ipWidget/Image.less does not apply to Theme css

maskas commented 8 years ago

It works fine in your case. But it breaks another feature. If you upload a small 200x200 image, you really don't want it to be scaled to 100%. More often you would like the image to be actual size, because scaled up images look ugly. The morale probably is that this problem can't be fixed without additional controls or changing the principle in general. What's not acceptable without major version update. For now, I suggest you to add this change to your website as layout override the way you override any file.