Site logo

[Resolved] How to prevent website icon cropping from WP?

Home Forums Support [Resolved] How to prevent website icon cropping from WP?

Home Forums Support How to prevent website icon cropping from WP?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2450442
    Philippe

    Hi,

    This is not a specific GP issue but I could not find any practical answer about how to prevent WP from automatically asking to crop images that are going to be used as Favicons. More often than not, the image is turned from png to jpg, thus losing its needed transparency.

    Do you have anything about that?

    Thank you,

    Philippe

    #2450552
    David
    Staff
    Customer Support

    Hi there,

    i haven’t been able to find the function that WP uses for that.
    What i do know, is if the image is exactly 512 x 512 px then it would ask to crop it….

    #2450585
    Philippe

    Mine is 800 x 800 and WP still asks to crop it. Same thing if it is below 512 x 512.

    It shouldn’t be that difficult to have a website icon in png!

    Still looking into it.

    #2450599
    David
    Staff
    Customer Support

    Yeah, i believe it has to be exactly 512×512 and then it won’t ask to crop.

    #2450617
    Philippe

    Ok, I’ll try this.

    #2450622
    Philippe

    Nope. It was cropped, turned into a jpg file, and “optimized” by Shortpixel into something that decency does not allow me to tell.

    #2450668
    Philippe

    This ticket can be closed.

    I created a rule in Shortpixel NOT to optimize the icon picture and it effectively remained set as a png file.

    Again, why not think about this earlier?…

    #2451298
    David
    Staff
    Customer Support

    Glad to hear you got it resolved.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.