Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

I got a Warning for Illegal URL on icons #26

Open
LuisColome opened this issue May 30, 2021 · 3 comments
Open

I got a Warning for Illegal URL on icons #26

LuisColome opened this issue May 30, 2021 · 3 comments

Comments

@LuisColome
Copy link

Hi there,
I don't know what I'm doing wrong but I can't make it work.
So far I can see the icons on the dashboard, on the subfield, but not in the editor or the front end.

I think I messed up with the set up. Could you give me a hand?

I should treat the icons like another regular image on a subfield from ACF, right?

Thanks
Screenshot_1

@philippwinzer
Copy link

same here... icon don't show up frontend. when i check the sourcecode, the path shows http instead of https and the path and alt breaks after one letter s

@philippwinzer
Copy link

<img src="http://L" alt="L">

@EarthmanWeb
Copy link

EarthmanWeb commented Jan 30, 2022

Here's some code I created that you could maybe refactor - ie - put into a separate function for reuse in your own use case...

https://support.advancedcustomfields.com/forums/topic/acf-svg-icon-picker-frontend-php/

Note: SVG tags are used

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants