Wednesday, July 11, 2018

Dev Tips: DevTools: 🖼 Drag and drop new images to override them on a website

Dev Tips

 

DevTools: Drag and drop new images to override them on a website

You can use the Local Overrides feature of DevTools to easily drag/drop images from your filesystem into DevTools. Doing this overrides the usual website image with your version. Subsequent page reloads use your new local image rather than the production version.

To try this, you must:

  1. Enable local overrides.
  2. Locate the original website image in the Sources Panel > Page Pane.
  3. Drag and drop your new image from the filesystem over the existing image in the Sources Panel.

Tip: Check out my video Improving page performance with Chrome DevTools for a practical use case for using the Local Overrides feature.


If you have any troubles viewing this animated gif, check out: umaar.com/dev-tips/174-drag-drop-image-local-overrides
Tweet
Email Marketing Powered by MailChimp

Copyright © 2018 Umar, All rights reserved.
You are receiving this email because you signed up for Dev Tips.

unsubscribe from this list    update subscription preferences 

No comments:

Post a Comment