adam-lynch / gulp-image-data-uri

Converts images to data URIs
http://www.adamlynch.com
MIT License
12 stars 9 forks source link

image size in css file #3

Closed undercloud closed 9 years ago

undercloud commented 9 years ago
.icon {
  width: 32px;
  height:32px;
}
adam-lynch commented 9 years ago

Why?

undercloud commented 9 years ago

images in queue may have diffrent size

undercloud commented 9 years ago

plese check my commits!

adam-lynch commented 9 years ago

images in queue may have diffrent size

But setting the width & height has no effect on the background-image's size?


plese check my commits!

What are you talking about? :smile:

undercloud commented 9 years ago

https://github.com/undercloud/gulp-image-data-uri/commit/f319a8a9aec874c5a719e6ad1b4dce2996d06aea

undercloud commented 9 years ago

gulp.spritesmith insert size in css https://github.com/twolfson/gulp.spritesmith/blob/master/docs/example.png

adam-lynch commented 9 years ago

Ah ok I get what you're doing now. This module is just a simple wrapper of https://github.com/heldr/datauri though. This should be supported that itself. Could you create an issue there please? :smile:

undercloud commented 9 years ago

I found issue https://github.com/heldr/datauri/issues/11, without reply

undercloud commented 9 years ago

how to be?

adam-lynch commented 9 years ago

I think you should comment there and try to get them to do it. Or create a pull-request for them.

Regards, Adam Lynch

On 9 August 2015 at 13:28, undercloud notifications@github.com wrote:

how to be?

— Reply to this email directly or view it on GitHub https://github.com/adam-lynch/gulp-image-data-uri/issues/3#issuecomment-129174626 .