The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

OpenID provider SVG icon

Discussion in 'Security' started by Manos Krokos, Jun 7, 2016.

Tags:
  1. Manos Krokos

    Manos Krokos Member

    Joined:
    Apr 15, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Athens
    cPanel Access Level:
    Root Administrator
    Hi, I am trying to create a custom openid provider by duplicating WHMCS and using it as parent. Everything works great except the bloody icon. I have converted the icon I want to base64 but when I paste it in (replacing the existing WHMCS icon) nothing shows up.

    Please, help! I know that it is not too important (since everything else is working great) but it is driving me crazy.

    This is the code
    Code:
    my $image = <<SVG;
    iVBORw0KGgoAAAANSUhEUgAAACEAAAAhCAYAAABX5MJvAAAB8ElEQVRYhe2VT4hNYRiHnzvuwgj
    lzxhkZCELKRsiM6VJyIKxELIRbtmIxZSIuEXZWNkpycLKQlhLCZsZpehGZqHcWNDMYoaU6LE438
    1xnXNP9zh256mv873v9573/Z3v34GSkpKSDNT/1Y6qU0aMq9vTYosq2KOuVOeE59NQ/LF6W20E+
    2zS+9UCJnMusBGYD3wHhoBBYC3wOhZ3GLgFjAMPi16OPepAzN6mnkyJfaeOFT0TG4DVwBdgGPgM
    TALXgAGg2RbfBFa0J+n5BwELgTPAG6Af6APuA2NAHRhNeGcL8OAvb84luBg2Wl0dVjcF/wn1mb+
    ZUI+FsePBtyrP6VgS6/epT0Kyy8G3Tt2sLlUvmcwd9YN6L6lGp+J71ffqD/Wluk99EZI21K3qoZ
    iYIykCWjMypC7vRsT6DglVZ2L9CyH5zw7xB9Wq+qitzm61nibifIaIOB/VTxkx/eqB0D8XauwK9
    ts0EbUuRGQxo1bU68GeDjUaalNNPaI3Eo9SPqqAwESw5wE3iW7UU62ANL4Cz4mu2NPkv1NmAzXg
    KrCG6D5ZAEwDd4HEjbnIaAOpjgbftwKWZX+sxqC6s2VX1F5gWVBWA67k/OJumAQWt4wqMALsCAM
    jwCuifwBAb2hTBRSeRbQMFf78u5aUlJRk8gtEPoRMZ/uATgAAAABJRU5ErkJggg==
    SVG
    
     
  2. Manos Krokos

    Manos Krokos Member

    Joined:
    Apr 15, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Athens
    cPanel Access Level:
    Root Administrator
    Never mind! I figured it out. I was using a transparency png and it didn't work. Finally, I used an Adobe Illustrator SVG file and it worked OK.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,675
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page