# Ability to easily ad picture in place of blocked add

**URL:** <https://discourse.pi-hole.net/t/ability-to-easily-ad-picture-in-place-of-blocked-add/311>\
**Category:** Closed or Out Of Scope\
**Created:** [October 22, 2016, 3:21am UTC](https://discourse.pi-hole.net/t/ability-to-easily-ad-picture-in-place-of-blocked-add/311 "2016-10-22T03:21:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![VanillaGorillaa](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/v/ba8739/32.png) [@VanillaGorillaa](https://discourse.pi-hole.net/u/VanillaGorillaa)\
**Post date:** [October 22, 2016, 3:21am UTC](https://discourse.pi-hole.net/t/ability-to-easily-ad-picture-in-place-of-blocked-add/311/1 "2016-10-22T03:21:03Z")

</div>

It would be great to be able to add a custom picture to show in place of the blocked ad. It would be great to do this from the web interface.

---

<div class="post-metadata">

**Author:** ![Carnufex\_G](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/carnufex_g/32/122_2.png) [@Carnufex\_G](https://discourse.pi-hole.net/u/Carnufex_G)\
**Post date:** [October 22, 2016, 6:20am UTC](https://discourse.pi-hole.net/t/ability-to-easily-ad-picture-in-place-of-blocked-add/311/2 "2016-10-22T06:20:41Z")

</div>

Even without the web interface I would still like this feature to be re-enabled... it worked at one time but seems to not function anymore.

---

<div class="post-metadata">

**Author:** ![diginc](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/diginc/32/96_2.png) [@diginc](https://discourse.pi-hole.net/u/diginc)\
**Post date:** [October 23, 2016, 4:22pm UTC](https://discourse.pi-hole.net/t/ability-to-easily-ad-picture-in-place-of-blocked-add/311/3 "2016-10-23T16:22:57Z")

</div>

Feel free to try customizing the `/var/www/html/pihole/` folder `index.html` and `index.js` files. Simple ads should get caught by index.html but lots of advanced ad networks serve through javascript (index.js) and you may not have as much success with index.js globally working for all sites. At least that's my assessment with my limited knowledge of front-end web.

---

<div class="post-metadata">

**Author:** ![DL6ER](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dl6er/32/281_2.png) [@DL6ER](https://discourse.pi-hole.net/u/DL6ER)\
**Post date:** [January 12, 2017, 10:58am UTC](https://discourse.pi-hole.net/t/ability-to-easily-ad-picture-in-place-of-blocked-add/311/4 "2017-01-12T10:58:28Z")

</div>

Works as per @diginc's suggestion. Note that you will have to change `index.php` instead of `index.html` after updating to a recent version of Pi-hole.

---

<div class="post-metadata">

**Author:** ![DL6ER](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dl6er/32/281_2.png) [@DL6ER](https://discourse.pi-hole.net/u/DL6ER)\
**Post date:** [January 12, 2017, 10:58am UTC](https://discourse.pi-hole.net/t/ability-to-easily-ad-picture-in-place-of-blocked-add/311/5 "2017-01-12T10:58:32Z")

</div>


