Notifications
Clear all

Pinch and Zoom on Mobile Lightbox

6 Posts
3 Users
0 Reactions
757 Views
Posts: 6
 xmla
Customer
Topic starter
(@xmla)
Member
Joined: 6 years ago

How do we enable mobile users to be able to pinch and zoom when they select a lightbox image?

5 Replies
Posts: 4213
 Tom
Admin
(@tomson)
Famed Member
Joined: 10 years ago

Hi @xmla,

I'm sorry but I don't follow you. Do you use the Advanced Attachments addon?

The lightbox comes with this addon and when you tub the image it popups images. You can see it on the demo forum:

Reply
Posts: 6
 xmla
Customer
Topic starter
(@xmla)
Member
Joined: 6 years ago

On mobile devices like iphone, you can pinch and zoom images or web pages to enlarge or shrink. This functionality is missing from the attachments plugin when using the lightbox.

Reply
1 Reply
 Tom
Admin
(@tomson)
Joined: 10 years ago

Famed Member
Posts: 4213

It doesn't exist, because the pop-up is an image slider, it's not a simple image.

Reply
Posts: 6
 xmla
Customer
Topic starter
(@xmla)
Member
Joined: 6 years ago

Is it not using photoswipe?  That supports pinch and zoom.  Do I just deactivate the attachments slider and add a post type to photoswipe to use lightbox with photoswipe wordpress plugin?  

Reply
1 Reply
Kyle
 Kyle
(@kylew)
Joined: 3 years ago

Prominent Member
Posts: 728

Hi @xmla,

If you don't like the slider you can use that plugin and see the result. Just make sure the addon lightbox/slider is disabled.

Reply
Share:
Scroll to top