Please follow the below template, it will help us to help you!
Custom block page works. If i reference external img src files they load just fine, but when referencing files located in the same directory as the customblockpage.php they dont load.
img src isnt the most complicated thing so i’m mega confused as to why its not working.
I’ve taken previously done work and copied it. got it working, but realized local files were not working when displaying the block page. Here is my “customblockpage.pgp” file.
<HTML> <TITLE>YOU DONE BEEN PIHOLE'D!</TITLE> <BODY BGCOLOR=000000 TEXT=FFFFFF> <body background="https://piholenet.b-cdn.net/wp-content/uploads/2017/03/pihole-llc.png"> <CENTER> <BR> <IMG SRC="firsttry.gif"> <FONT Size=+2> <BR> This page has been blocked by Mean ol' Mr. Dustin! Its either a crap site, malicious, or just doesnt exist.<BR> </FONT> <BR> Notice: Some pages have been blocked due to content or bandwidth restrictions. <BR> <BR> If you believe that this page has been blocked in error,<BR>please contact Mean ol' Mr. Dustin. </CENTER> </BODY> </HTML>
The background image displays … its referencing an external image … the local “firsttry.gif” doesnt work.
makes no sense to me. I know this probably isnt technically a pihole issue, but figured i’d beg for mercy and see if I could get this working by begging for help. sorry!
local files dont render on the block page