2019

Remove logo.png
article thumbnail

How to Change the WordPress Admin Login Logo

David Walsh

/admin.css'); } add_action('admin_enqueue_scripts', 'admin_style'); The selector that WordPress uses or the log is.login h1 a , so to safely change the logo, the following specificity update is a good bet: body.login h1 a { background-image: url('path/to/client-logo.png'); }.

How To 91
article thumbnail

Image Lazy Loading

David Walsh

This new lazy loading API come down to a simple loading="lazy" attribute and value on img tags: <img src="path/to/logo.png" loading="lazy"> To experiment with this new API, you can add an onLoad attribute to the image: <img src="path/to/logo.png" loading="lazy" onload="alert('Loaded!');"> When the user scrolls within range of the image, (..)

19
article thumbnail

How to Use JPEG 2000 (JP2) for a Faster Images on iPhone (Sponsored)

David Walsh

<picture> <source srcset="logo.webp" type="image/webp"> <source srcset="logo.jp2" type="image/jp2"> <img src="logo.png" alt="logo"> </picture> In addition to this new code, the developer behind the scenes will need to generate, store, and manage the next-gen variants of the original image.

How To 13