There is no “rotate a picture button” you can add. This would need additional code in PhotoSwipe since PhotoSwipe does not have image rotation yet.
Also see https://github.com/dimsemenov/PhotoSwipe/issues/1141
Maybe I can use the code mentioned there https://zhangzicao.github.io/createPhotoSwipe/, I will see.
https://zhangzicao.github.io/createPhotoSwipe/
Exactly sample as I want. when do you do this?
At the moment I’m busy with other (paid) projects and I first have to check the code how to add this to my version of PhotoSwipe which is already customized in certain areas. Also for the rotation buttons I need to create proper SVG icons as there are only bitmaps yet.
So I’d say – maybe within 2-3 weeks but not much earlier.
I just checked the code at https://github.com/zhangzicao/createPhotoSwipe/blob/master/docs/libs/createPhotoSwipe/0.3.3/createPhotoSwipe.js – and this is not PhotoSwipe itself but only the additional code just to enable image rotation.
As I am really super busy I won’t implement this very soon – sorry.
As always: Pull requests for working implmentations on https://github.com/arnowelzel/lightbox-photoswipe/ are always welcome
-
This reply was modified 5 years, 1 month ago by Arno Welzel.
-
This reply was modified 5 years, 1 month ago by Arno Welzel.
Is there any improvement in this regard?