Tznius View

وەسف

Tznius View adds a small, friendly toggle to the front of your WordPress site. With one tap, a visitor can switch on a modest browsing mode that either hides every image or hides only the images you have marked as containing people. Each visitor’s choice is remembered in their own browser, so it stays in effect as they move from page to page.

It was built to help Jewish websites — and anyone who values modesty (tznius) — offer a respectful “kosher” way to browse, without changing what everyone else sees. It is a small aid toward שמירת עיניים (shemiras einayim), guarding the eyes. Nothing is sent to any outside service: all hiding happens in the visitor’s own browser, and you stay in full control of which images count.

What the administrator controls

  • Language — English, Yiddish, or Hebrew. Yiddish and Hebrew display right-to-left. You can fine-tune the exact wording (handy for matching your community’s spelling).
  • Position — top-left, top-right, bottom-left, or bottom-right.
  • Which options the toggle offers — hide people only, hide all images only, or both.
  • How hidden images appear:
    • Placeholder — keep the space and show a neutral box, or a replacement image you choose per image.
    • Remove completely — the image and its space disappear, as if it were never there.
    • Heavily blur — less strict; faint shapes may remain.
  • Defaults — optionally start modest mode on for first-time visitors.
  • Background images — optionally hide CSS background images (heroes, sliders) that use a marked image.

Marking images of people

There is no automatic guessing — you decide. In Media Library, open an image and tick “Contains people,” or use the one-click button in the “People?” column of the list view. Those images are hidden whenever a visitor turns on “hide images of people.”

Replacement images

For any image, you can choose a modest replacement (ideally the same size) on its Edit Media screen. When that image would be hidden, the replacement is shown in its place instead — in any mode and with any style. This lets you swap a photo containing a person for a tasteful alternative with no people in it.

Keep your logo visible

Tick “Never hide this image” on your logo (or any image) in the Media Library and it stays visible in every mode — no code needed.

سکرین شۆتەکان

دامەزراندن

  1. In your WordPress admin, go to Plugins Add New Upload Plugin and upload the .zip, or copy the kosher-view folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins screen.
  3. Go to Settings Tznius View to choose your language, position, and options.
  4. In Media Library, mark images that contain people, set any replacement images, and tick “Never hide” on your logo.

پهد

Does it send my images anywhere?

No. Everything happens in the visitor’s browser. No images or data are uploaded to any external service.

How does it know which images have people in them?

You tell it, by marking images in the Media Library. This keeps you in full control and avoids mistakes.

Will it hide my logo or design elements when “hide all images” is on?

Only if you let it. Tick “Never hide this image” on your logo to keep it visible. Decorative CSS backgrounds are left alone unless you mark the underlying image.

Can a visitor’s choice be remembered?

Yes. Each visitor’s selection is saved in their own browser and applied automatically on future visits.

Will background images be hidden?

If you enable that option in settings, yes — but only for images you have marked, matched by file name. They may flash for a moment before being hidden, since CSS backgrounds cannot be pre-hidden the way inline images can.

The Yiddish wording isn’t how my community spells it.

Open Settings Tznius View Wording and type your preferred text. It overrides the built-in wording.

پێداچوونەوەکان

هیچ پێداچوونەوەیەک نەنووسراوە بۆ ئەم پێوەکراوە.

بەشداربووان و گەشەپێدەران

“Tznius View” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا کردووە.

بەشداربووان

“Tznius View” وەربگێڕە بۆ زمانەکەی خۆت.

دەتەوێت بەشداربیت لە گەشەپێدان؟

گەڕان لە کۆدەکەدا بکە، سەیری تەمارگەی (SVN) بکە، یان بەشداربە لە ڕووداوتۆماری گەشەپێدان لە ڕێگەی (RSS).

ڕووداوتۆمارگەریی گۆڕین

1.7.1

  • Background detection now also covers ::before / ::after pseudo-element backgrounds (e.g. Elementor overlay layers).

1.7.0

  • Fixed: backgrounds that page builders (e.g. Elementor) lazy-load on scroll are now caught and hidden — the plugin re-checks when a background is applied late, on scroll, and on full load.
  • Added: an option to hide EVERY uploaded background image in “hide all images” mode, so page-builder section backgrounds are hidden automatically without marking each one.

1.6.0

  • Added a “This is a background image” checkbox in the Media Library, so hero/section backgrounds can be hidden in “hide all images” (or show their replacement image).

1.5.1

  • Prevent the toggle from rendering more than once if the script is loaded twice.

1.5.0

  • Initial public release.