Re: Help with setting background image ( Repost with correct email)
"Ian Silvester" <[email protected]> Tue, 24 Aug 2021 00:18:36 -0400
| Newsgroups | gmane.comp.web.privoxy.user |
|---|---|
| Message-ID | <[email protected]> |
Got it :o(. I think hosting the graphic on some site would seem to be the only option, which does feel pretty clunky. On Tue, 24 Aug 2021, at 00:04, [email protected] wrote: > Nope........ :( The error is: "GET > http://127.0.0.1/etc/privoxy/templates/img.png > net::ERR_CONNECTION_REFUSED" (I know putting the custom templates there > could get removed if there is an update). I also tried using the port > number, localhost and even the file:/// protocol. I guess the final > answer would be it wont work unless I pull it from a site? I'm guessing > just changing some Privoxy code or running a custom script isn't an > option either. > > Thank you! > > > > Aug 23, 2021, 17:30 by [email protected]: > > > I just made a gitlab with everything. I don't know why I didn't think of this earlier. > https://gitlab.com/sugarcoded/privoxy-theme/-/tree/main > > > > Thank you! > > > > > > > > Aug 23, 2021, 16:18 by [email protected]: > > > >> New links: > >> LOG: >> https://file.re/2021/08/24/logfile/ > >> Image: >> https://file.re/2021/08/24/error1/ > >> > >> > >> Thank you! > >> > >> > >> > >> Aug 23, 2021, 14:17 by [email protected]: > >> > >>> Here you go. I did a few refreshes of>>> >>> advertisement.com <http://advertisement.com>>>> >>> since I am currently working on the "blocked" page right now. > >>> > >>> LOG: >>> https://tmpfiles.org/dl/99544/logfile > >>> Browser console error: >>> https://tmpfiles.org/dl/99546/error1.png > >>> > >>> Tell me if the links don't work, the site said it only lasts 2 hrs. I did it this way because of the file size limit. > >>> > >>> > >>> Thank you! > >>> > >>> > >>> > >>> Aug 23, 2021, 10:48 by [email protected]: > >>> > >>>> Im new to this so I apologize if I do something wrong. I'm struggling to figure out how to set a custom background image on my custom template files using CSS. I'm using "background-image: url(img.png);" in the CSS file. When I run the code on my PC it works perfectly, but when I run it on my privoxy server it tries to call the png from the site that's being blocked. I can share the HTML/template and CSS files if that needed. Any help would be great! > >>>> > >>>> Thank you! > >>>> > >>> > >>> > >> > >> > > > > > > _______________________________________________ > Privoxy-users mailing list > [email protected] > https://lists.privoxy.org/mailman/listinfo/privoxy-users > _______________________________________________ Privoxy-users mailing list [email protected] https://lists.privoxy.org/mailman/listinfo/privoxy-users