Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Zoom into picutes

6 years 4 months ago
  • phatair's Avatar
    Topic Author
  • phatair
  • Offline
  • Fresh Boarder
  • Posts: 47
  • Thank you received: 0
Licenses:
JomSocial Active

Hello,

we are using jomsocial 4.5 and i have one question.
Is it possible to zoom into picutes on the mobile view? If i click on a picture it is open in a "lightbox" like window where i can select comments or "like" button but i can not zoom (pinch to zoom) into the picuture.
Is there any solution for this? It would be great because on some images i can not see all details and it would be a good feature to zoom into the picutes.

Greeting

6 years 4 months ago
Licenses:
JomSocial Active

That feature is more appropriate for a product image not social network site. But, you can try this simple css trick:
stackoverflow.com/a/21479616
To make things clear, add these lines to your css:

.joms-popup--photo .joms-popup__content img {
    transition: -webkit-transform 0.25s ease;
    transition: transform 0.25s ease;
}
.joms-popup--photo .joms-popup__content img:active {
    -webkit-transform: scale(2);
    transform: scale(2);
}
and click on image in "lightbox" will get image zoomed in from (at) center no matter where you click. For more controllable feature there would be more complex coding needed.

6 years 4 months ago
Licenses:

HI.

Images displayed in modal window are displayed to fit your current viewport.
Pinch and zoom won't work for them.
The only solution is to tap and hold - then a context menu will appear and choose "Open image in new tab" to see the details.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW