Add New Image Previewer

hello

How can I add a new image previewer? (eg Photoswipe because it is also touch screen swipe and mobile support)

Create the photoswipe.previewer.js in the following directory

apiship/js/tygh/previewers

New variant should be added to the Settings -> Appearance -> Default image previewer:

All you need is to create special code which will init your previewer

Check existent files as example

I uploaded files

and I wrote the codes but does not appear in admin panel and there is an error in the site front

I get an error like this when I click on the image

Where did the missing or wrong?

hello

How can I add a new image previewer? (eg Photoswipe because it is also touch screen swipe and mobile support)

Hello Darrc,

Did you get any success with the above addition of the image previewer with CS-Cart. Please share you experience as I'm stuck with the same problem.

Thanks,

Sunil

Create the photoswipe.previewer.js in the following directory

apiship/js/tygh/previewers

New variant should be added to the Settings -> Appearance -> Default image previewer:

All you need is to create special code which will init your previewer

Check existent files as example

Do you have solution for this?

Hello,

We can develop such modification for you. Please contact us.