Chad Perrin wrote:
I've been deleting large sections of this series of threads without reading them, because I've had to do some actual work and would never get caught up if I read them all. Has there been any significant progress on the idea of developing code that will create an opt-in/opt-out solution to the problem of inlining controversial images?
AFAICT, the consensus is that it's an acceptable compromise. Design is reasonably simple, The Cunctator noted the category system can be exploited to take care of the actual tagging mechanism. The rest is just a filter. When the system goes to load an image it checks the image's categories against the user's preferences, if it's "allowed", it loads as normal, if not, it's replaced with one of two mechanisms (should let the user choose a preferred mechanism in their preferences; may be neccessary if the user allows some Javascript operations but not others).
1) If the user has Javascript enabled, a Javascript mechanism is used; this would allow the decision to be fast and entirely client-side. If the user clicks the link/button, the browser will load the image straight up without having to reload the entire page.
2) If the user doesn't have Javascript enabled, a link is provided that leads back to the current page with a URL parameter (something like 'allowimg=$imgid') that the filter picks up.
Just need someone to write the code (well, two someones, a PHP coder isn't neccessarily going to know Javascript).