Tag: image size

  • Preserve PNG transparency with GD Lib

    Lately I had to write a PHP function that generates differently sized thumbnails from an image with GD Lib. Thereby I had lots of trouble with semi-transparent PNG graphics. Although I found many tips on the internet that pointed me in the right direction, I couldn’t find a really complete and neat solution. Many people…

  • Large images in WordPress

    Yet another small, but annoying problem solved: Since sometime ago (allegedly since version 2.5 – I haven’t noticed it until 2.6), WordPress has started to scale all larger images, which were added in the editor by clicking “add image”, down to a width of 500 pixels. This will also happen, if you even chose “full size” in…