Raw Hasan
Forum Replies Created
-
Forum: Plugins
In reply to: [Lightbox for Gallery & Image Block] Using the lightbox with a custom galleryHi @goaroundagain,
I’ve updated the link that I provided you as
The page I need help with
section on my first post.Thanks for adding the filter! Any link on how to use that?
Forum: Plugins
In reply to: [Lightbox for Gallery & Image Block] Using the lightbox with a custom galleryIf this helps anyone in the future:
I’ve assigned a custom class to the galleries and used this code:
function enqueue_baguettebox_on_tour_post_type() {
if ( is_singular( 'tour' ) ) {
add_filter( 'baguettebox_enqueue_assets', '__return_true' );
}
}
add_action( 'wp', 'enqueue_baguettebox_on_tour_post_type' );
add_filter( 'baguettebox_selector', function() { return '.rh-custom-gallery'; } );Lightbox is now showing everywhere on my custom post type “tour” pages, including the widget areas.
Also, when I click photos from any gallery, only photos from that gallery is being displayed – which is the expected behavior.
Now need to figure out how to display the captions with the photos in the lightbox.
Thanks for the awesome plugin!
- This reply was modified 6 months ago by Raw Hasan.
Forum: Plugins
In reply to: [Lightbox for Gallery & Image Block] Using the lightbox with a custom galleryHi?@goaroundagain,
Thanks a lot! It is working now after removing the class from the div. But any description or title with the image is not showing in the lightbox. Any tips on how to activate that?
Also, it looks like if I have two galleries on a page, lightbox is showing images of all the galleries together. Is there a way to show images of only the clicked gallery – not images for all the galleries together?
Thanks for your help!
Forum: Plugins
In reply to: [Lightbox for Gallery & Image Block] Using the lightbox with a custom galleryThanks for the reply!
I’ve added
.dynamic-entry-content
to the main div of the gallery, which enabled the scrolling, but there is no photo on the screen. When I click any of the arrows, the first image comes on the screen.Any help on how to fix that?
Forum: Fixing WordPress
In reply to: Issue with space added near shortcodes in WordPress 5.7Thanks @wibergsweb! It fixed my issue with the following:
p:empty::before { content: initial !important; }
WordPress 5.7 started adding large gaps around shortcodes and also in other places with the empty p tags, which the above code from @wibergsweb fixed (before will have a :: instead of a single : on it). I am using the Classic editor.
Here is the pure CSS according technique without any checkbox or radiobox you can look at: https://dev.to/kallmanation/building-an-accordion-with-only-css-67h
Forum: Plugins
In reply to: [Strong Testimonials] Style error since two latest updatesUpdated from 2.40.01 to 2.40.03 and my styles are broken. Did lots of CSS customizations. Please fix that. Thanks!
Forum: Plugins
In reply to: [Strong Testimonials] Critical ErrorHi @mplusb,
Here is the error log:
[20-Mar-2020 12:10:22 UTC] PHP Fatal error: Uncaught Error: Call to undefined function post_is_in_category_or_descendants() in /home/nijhoomc/public_html/wp-content/themes/u-design-child/single-wpm-testimonial.php:13
I’ve found the clue and fixed it. I’ve customized the detailed view of the testimonial copying the theme single file on the child theme, renaming it to single-wpm-testimonial.php (as suggested previously by Chris), and added the custom code for the Strong Testimonial there. The theme author changed the name of a function on that file, so it was throwing the fatal error suddenly (just updated the theme I now remember).
Checked the line with the latest version of the theme file and found the difference. Replaced that line with the updated one, and the issue resolved! I am not a developer, but so happy to resolve the issue! Thanks for pointing out to the error log!
Great support, thank you! ??
P.S. I am planning to purchase the premium version of the plug-in for a long time because of the amazing support I’ve received before from Chris, but that somehow did not happen yet. Will do that ASAP.
Best regards,
HasanForum: Reviews
In reply to: [Modula Image Gallery] Works great, but heavy weight!Great to hear that you’ve taken my feedback positively and working to improve it!
Modula is a great plugin I must say – probably the best among the gallery plugins. Its custom layout creation is a great feature for which I’ve tried that. But like all the other gallery plug-in, it slows down the site and not usable from the performance perspective. I’ll rather not use any gallery plug-in which slows down the site. I’ll be the first to purchase a PRO license if you can make it blazing fast – loading resources only on the pages the plugin is used – not sitewide.
A great improvement you can do on the customizer is making the grid size smaller, may be 10 px (or why not 1 px), so there is more control on the image resize. Also can have an option to make a layout template which could be reused in different galleries. Another necessary requirement is having an option to keep the original aspect ratio of the images while resizing on the customizer.
Best wishes for Modula!
Forum: Reviews
In reply to: [Simple Lightbox] Excellent Plugin!Hi @schogol,
So far this is the best lightbox plugin I’ve found, so I’ll keep using it until something better is found.
Forum: Reviews
In reply to: [Simple Lightbox] Excellent Plugin!Hi @archetyped,
First of all, thanks for making this great plugin, which is indeed the best lightbox plugin I’ve found so far, and for keeping it free!
After another thorough benchmark, what I’ve found for a sample page is this:
Without SLB: 3.9 MB page weight, 81 HTTP requests, 2.17 s load time (cached version) https://prntscr.com/okd80u
With SLB: 4.0 MB page weight, 88 HTTP requests, 2.48 s load time (cached version) https://prntscr.com/okd9lw
SLB is adding 100 KB page weight, 7 HTTP requests, and 310 ms load time, which I guess is acceptable compared to the other alternative solutions available. I’ll reconsider my rating to 4* and keep using it until I find something better than this.
Thanks again!
Forum: Plugins
In reply to: [Tiled Gallery Carousel Without JetPack] Need Tiled Gallery to be full widthHi @ignaciosagone,
That worked perfectly for me! Thanks man!! ??
Forum: Reviews
In reply to: [Modula Image Gallery] Works great, but heavy weight!No wish to install and check the plug-in again, as did that to answer your first questions. I hope someone else can do that benchmark again if have free time.
Assuming the settings was wrong, what will you say about the 13 additional HTTPS requests made by the plugin? Also why does it not do the correct settings and insert resized images in the first place as the “Tiled gallery carousel without jetpack” does?
Hi @gsallman,
I’ve just removed Simple Lightbox from my site. It is very nice and easy to use, but adds lots of assets to the page and slows down. I am looking for a very lightweight one.
Thanks for the recommendation!
Forum: Reviews
In reply to: [Modula Image Gallery] Works great, but heavy weight!Page with a gallery created with “Tiled gallery carousel without jetpack” plugin – 3.8 MB page weight, 4.80 s loading time, 81 HTTP requests: https://prntscr.com/okb2ue
Page with Modula gallery, same images – 8.4 MB page weight, 8.06 s loading time, 94 HTTP requests: https://prntscr.com/okb46d
Modula is adding 4.6 MB page weight, 13 HTTP requests, and 3.26 s loading time to the page. Tell me about “speed emphasis”!