How to Use JavaScript to Display a Custom Banner After Cookie Consent

Introduction Obtaining user consent for processing their data is a crucial aspect of compliance with data privacy regulations, such as GDPR and CCPA. To enhance user experience, you might want to display a customizable banner on your website after the user has provided consent via a cookie banner. This article will guide you through the […]

Generate a qr code with contact form 7

You need to generate a qr code with contact form 7? Here is a simple script to do it, just copy the code below into your cf7 form. To test the script add an url and then press submit.

Install MozJpeg encoder with Ubuntu 20.4

MOZjpeg is a very interesting fork of turbojpeg, it saves on average 10-15% compared to a normal jpeg without losing backward compatibility. Its disadvantage is the time it takes to be encoded (x2.5) and that it lacks the alpha channel that new-gen formats like avif and webp have. A good explanation about the differences of […]

Enable webp avif and heic/heif support for WordPress

if you need only imageMagick and webp support: if you need only imageMagick-7.x and webp, avif and heic support: First of all, you may want to remove the original imagemagick, since there is no need to keep the old bundled version. Install the needed packages many of them are already installed. Ref. https://www.linuxfromscratch.org/blfs/view/svn/general/imagemagick.html Download imageMagick […]