verbb / icon-picker

A Craft CMS field to select SVG or font icons from a folder for use in your content.
Other
17 stars 8 forks source link

Icons not showing (on windows) #28

Closed superpikar closed 4 years ago

superpikar commented 4 years ago

Description

I add 2 folder inside my iconSets root. When I select the icon picker the icon is not rendered properly. it render the wrong URL of the svg, see screenshot below.

My icon-picker config

    '*' => [
        'iconSetsPath' => CRAFT_BASE_PATH . '/web/icons/',
        'iconSetsUrl' => '/icons/',
        'maxIconsShown' => 200,
        'redactorFieldHandle' => '',
    ]

I'm not sure whether this issue happens on windows OS only?

Screenshots

image

Steps to reproduce

  1. download feather icons svg https://feathericons.com/
  2. put into /web/icons
  3. select icon from on entry form

Additional info

engram-design commented 4 years ago

Fixed in 1.1.2