ngx-international-phone-number icon indicating copy to clipboard operation
ngx-international-phone-number copied to clipboard

Country Flag image icon URl 404

Open lokendrakumar opened this issue 4 years ago • 7 comments

https://res.cloudinary.com/dvbuhh0bl/image/upload/v1495279723/flags_boi3c5.png, this url does not exit now please upload image with same url

lokendrakumar avatar Aug 21 '20 10:08 lokendrakumar

Until they fix it, a temporary fix is to download the image yourself:

flags

and then in your component css:

::ng-deep .flag {
    background-image: url('path/to/image.jpg') !important;
}

or in your global styles.css

.flag {
    background-image: url('path/to/image.jpg') !important;
}

MooseSaadat avatar Aug 24 '20 02:08 MooseSaadat

same issue !! please fix it

issambaccouch avatar Aug 28 '20 13:08 issambaccouch

Issue resolved, I have also faced same issue then after I made change in style.css/scss with this .flag { background: url(https://res.cloudinary.com/dvbuhh0bl/image/upload/v1495279723/flags_boi3c5.png); // removed no-repeat //background: url(https://res.cloudinary.com/dvbuhh0bl/image/upload/v1495279723/flags_boi3c5.png) no-repeat; // commented this line background-image: url(assets/images/country-flags.jpg) !important;
}

where assets/images/country-flags.jpg is contains following downloaded img https://user-images.githubusercontent.com/20545357/90998272-b5b86280-e591-11ea-992b-c422d78070e2.jpg

Hanmant-Patil avatar Aug 31 '20 04:08 Hanmant-Patil

Facing the same issue. Please fix it as soon as possible.

fahadqhan avatar Sep 01 '20 13:09 fahadqhan

phoneNum_flag_notDisplayed

We are facing the same issue as well. Would appreciate a quick fix as soon as possible

vihanga-bandara avatar Sep 04 '20 06:09 vihanga-bandara

Just add

.flag { background-image: url('assets/images/country-flags.jpg') !important; }

in your styles.scss

and use this file and place in assets folder

country-flags

baltejsingh88 avatar Sep 05 '20 04:09 baltejsingh88

this issue is fixed in this library, basically this library is a stable and maintained version of ngx-international-phone-number, you can use and explore it from here https://www.npmjs.com/package/ng-phone-number Flag issue is also fixed here

aghaaliabbas avatar Sep 19 '20 06:09 aghaaliabbas