[GH-ISSUE #682] Image Preloading #364

Closed
opened 2026-03-03 14:37:51 +03:00 by kerem · 2 comments
Owner

Originally created by @saxxi on GitHub (Feb 24, 2020).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/682

I am listing in a dropdown a list of countries with a flag next to each label.

It's loading the images correctly but sometimes it takes quite some time to load all images. Would it be possible to preload or even convert these images into a font?

I've tried icomoon but some icons had issues, is there any alternative?

Thank you.

Originally created by @saxxi on GitHub (Feb 24, 2020). Original GitHub issue: https://github.com/lipis/flag-icons/issues/682 I am listing in a dropdown a list of countries with a flag next to each label. It's loading the images correctly but sometimes it takes quite some time to load all images. Would it be possible to preload or even convert these images into a font? I've tried [icomoon](https://icomoon.io) but some icons had issues, is there any alternative? Thank you.
kerem closed this issue 2026-03-03 14:37:51 +03:00
Author
Owner

@lipis commented on GitHub (Feb 24, 2020):

Fonts have no colors.. and flags without colors would be a bit strange :) You could use Emoji though :) 🇩🇪 🇺🇸 🇪🇸 🇬🇷

Either case.. how to use the icons and if it's better to transform them to another format/size is outside of the scope for this project!

Good luck..

<!-- gh-comment-id:590332414 --> @lipis commented on GitHub (Feb 24, 2020): Fonts have no colors.. and flags without colors would be a bit strange :) You could use Emoji though :) 🇩🇪 🇺🇸 🇪🇸 🇬🇷 Either case.. how to use the icons and if it's better to transform them to another format/size is outside of the scope for this project! Good luck..
Author
Owner

@saxxi commented on GitHub (Feb 24, 2020):

Thanks thats a good alternative, I'm now using https://github.com/danalloway/react-country-flag

<!-- gh-comment-id:590340788 --> @saxxi commented on GitHub (Feb 24, 2020): Thanks thats a good alternative, I'm now using https://github.com/danalloway/react-country-flag
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flag-icons#364
No description provided.