Tagged: Lightbox
-
AuthorPosts
-
November 17, 2013 at 10:18 pm #189850
Hi,
I have read the the Pop Up Image resizing post here and did as you guys kindly offered there. Now the prettybox works fine with the gallery after I fulfilled this recommendation. Where I must do the same modification in order to get the same result for the fullwidth massonry gallery too? Because this modification has not effect for fullwidth massonry gallery, unfortunately (all images there open in the little size prettybox, without of possibility to see them bigger).
Please, advice me a little. Thank you in advance!
November 18, 2013 at 5:55 pm #190195This reply has been marked as private.November 18, 2013 at 10:22 pm #190323P.S. There were some problems with server, now you can check the links in previous message.. Hope, this issue isn’t complicated. I have already checked the massonry_gallery.php and masonry_entries.php as well as slideshow.php too, but still have not find the decision. I also tried this recommendation – it works, but as my images are 1650 pxs, they looks badly on the little dimension screens in lightbox.
- This reply was modified 11 years, 1 month ago by fotomaster.
November 20, 2013 at 4:49 pm #190972Hi!
I’m not sure if this is what you are looking for but it will always show the expand option once added in. Add the following CSS to your Quick CSS (located under the Styling Tab in the theme options) or the custom.css file in the css folder of your theme files:
.pp_expand { display: block !important; }
Edit: Just make sure the link on the images is pointing to the full size image and not the smaller size.
Cheers!
Devin- This reply was modified 11 years, 1 month ago by Devin.
November 20, 2013 at 9:16 pm #191144This reply has been marked as private.November 23, 2013 at 10:45 pm #192330Hi Devin! Thank your for this: “Edit: Just make sure the link on the images is pointing to the full size image and not the smaller size.”
Well, I have figured out, I must place the links into custom link field for all images in fullwidth masonry gallery in order to provide my visitors the possibility to see the pictures as fullsized. But it is not necessary for another gallery (after https://kriesi.at/support/topic/pop-up-image-resizing/#post-188242 )!
The question is: is it possible to “ask” the Enfold opens the images placed into this element (av_masonry_gallery) as the same with the av_gallery? Because it isn’t necessary to place link for each image in this kind of gallery. It looks rather friendly for users, right? It is so boring to place 40 pcs of links for all pictures in av_masonry_gallery..
Please, help me with this problem.
November 26, 2013 at 10:44 am #193348Hi!
First please excuse the late reply. You can change the lightbox image size for all images easily. Open up /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php and replace
$this->loop[$key]['url'] = $custom_url ? $custom_url : reset(wp_get_attachment_image_src($id, 'large'));
with
$this->loop[$key]['url'] = $custom_url ? $custom_url : reset(wp_get_attachment_image_src($id, 'full'));
I’ll ask Kriesi to include a filter in the next version which allows you to change the size with your child theme.
Regards,
PeterNovember 26, 2013 at 10:47 pm #193580Thank you, Dude!! Now it works perfeсtly, I’m happy!
Resolved :)
-
AuthorPosts
- The topic ‘Pop Up Image resizing – 2’ is closed to new replies.