Notifications
Clear all

Pinch and Zoom on Mobile Lightbox

6 Posts
3 Users
0 Likes
565 Views
Posts: 6
 xmla
Customer
Topic starter
(@xmla)
Member
Joined: 5 years ago

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

5 Replies
Posts: 4172
 Tom
Admin
(@tomson)
Famed Member
Joined: 9 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: 5 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: 9 years ago

Famed Member
Posts: 4172

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: 5 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
Admin
(@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