27 December 2019 at 15:49 #36593Pádraig Ó BeirnParticipant
Since upgrading to responsive-lightbox-lightcase 1.2.0 my lightbox images and icons on mobile are tiny. If I revert class-frontend.php to version 1.1.0 it works as expected. I know that this file references the updated Lightcase.js script update to 2.5.0 and the related Lightcase.css version 2.5. That must be where the problem lies. I have tried changing the plugin settings but ultimately had to roll back to 1.1.0 for now. If you can suggest a solution I’d be grateful.
Pádraig28 December 2019 at 17:17 #36605Pádraig Ó BeirnParticipant
I’ve narrowed the issue down to the two new files introduced in 1.2.0:
responsive-lightbox-lightcase > assets > lightcase.min.css
responsive-lightbox-lightcase > assets > lightcase.min.js
Everything works as expected on mobile screens if I replace references to those files in responsive-lightbox-lightcase > includes > class-frontend.php
wp_register_style(‘responsive-lightbox-lightcase-css’, plugins_url( ‘assets/css/lightcase.css’, dirname( __FILE__ ) ));
wp_register_script(‘responsive-lightbox-lightcase-js’, plugins_url( ‘assets/js/lightcase.js’, dirname( __FILE__ ) ), array( ‘jquery’ ), ”, ( Responsive_Lightbox()->options[‘settings’][‘loading_place’] === ‘header’ ? false : true )2 January 2020 at 14:37 #36662BartoszKeymaster
So can you confirm it seems to work fine if you use unminified versions of the CSS/JS?
We’ll check that on our side as well.
- You must be logged in to reply to this topic.
hide the flip and rotate buttons
5 days, 5 hours ago
Inline Gallery does not work.
by haoxin li
1 week ago
Get download link
1 week, 2 days ago
1 week, 5 days ago
how to fix this code (?cn-reloaded=1) added to url end
2 hours, 3 minutes ago
LIghtbox does not work
2 weeks, 5 days ago
Watermark on scaled, cropped or rotated image
2 weeks, 6 days ago
Front end user uploaded file to post not showing up in attachments
2 weeks, 4 days ago
Error when using Shortcode
3 weeks, 3 days ago
Showing 2 Million Views on the dashboard an only 10k Views on Website?
3 weeks, 4 days ago