Skip to content

Made it possible to add images without defining the width and height#2

Open
MatthijsKamstra wants to merge 1 commit into
Gaya:masterfrom
MatthijsKamstra:master
Open

Made it possible to add images without defining the width and height#2
MatthijsKamstra wants to merge 1 commit into
Gaya:masterfrom
MatthijsKamstra:master

Conversation

@MatthijsKamstra
Copy link
Copy Markdown

use

<img src="path/to/img.jpg" alt="" />

tested it quickly on apple chrome/firefox/safari

<div class="content">
    Content goes here
</div>
<div id="background-image">
    <img src="path/to/img.jpg" alt="" />
</div>
@Gaya
Copy link
Copy Markdown
Owner

Gaya commented Jul 12, 2013

Thanks! One problem though: In IE onload isn't called when an image is loaded from the cache.

@MatthijsKamstra
Copy link
Copy Markdown
Author

you are right... it solved my problem and I choose to ignore IE, thx for the plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants