Answer the question
In order to leave comments, you need to log in
How to blur product photos in Bitrix?
Hi all!
Available:
1C-Bitrix: Site Management 20.200.550
Aspro: Next - online store
-------------
It is required to implement the following task:
if the site visitor is not authorized, you need to make the photos of the goods smeared / blurry
if the visitor is authorized - we show everything without restrictions
, please tell me where to pick or maybe there is some ready-made solution
Answer the question
In order to leave comments, you need to log in
The easiest option is to add a check for the user to the OnBeforeProlog event and, if not authorized, add styles for images that blur them https://developer.mozilla.org/ru/docs/Web/CSS/filt... . This option does not involve replacing the images themselves, i.e. through the web inspector, not blurry photos can be viewed and saved.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question