Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Shut down the Gallery shortcode
- This topic has 18 replies, 4 voices, and was last updated 8 years, 10 months ago by isigma.
-
AuthorPosts
-
January 31, 2016 at 1:50 am #23393isigmaSpectatorThat is true that WP gallery doesn't have a lightbox mode, with each project we have to add one. As the majority of my projects are around photography, I know that it is difficult to deal with vertical images, combined with square and/or landscape orientation images on the gallery grid, to make it look nice. I know and use two main compromising solutions: 1. Masonry style gallery for code lighter websites (http://rogertoll.com/portfolio/landscape/) 2. Square grid of cropped images (thumbnail size in WP gallery) http://folio.isigma.info/folk-art-market-2105/ Both solutions are combined with lightbox. I like that you included a lightbox into the WPLMS gallery, but because I mainly rely on square grid, there are two moments it is missing for me here: 1. Tiny size of images. Is it possible to change it in an easy way, or I have to manually fix it in Vibe shorcodes plugin after each update? 2. Images in square grid has to be cropped, not shrunk, as for most photos it doesn't look pleasant, especially when they are "readable" with larger size. Is it possible to change the gallery code to use WP thumbnail images? Then it is even unnecessary to shut down the sizing algorithm in the Vibe shorcodes plugin. Also for some reason 3 columns doesn't work (2,4,5 work, but not three) with any image sizes. If I set up three, I get 5 columns. Even if there are only three images in the gallery there are two empty placeholders at right (see the screenshot). Can you please check the magical number 3? If you would help me to solve these three problems then I would happily use WPLMS gallery and wouldn't need to edit all the existing posts, pages and courses to change the code.February 9, 2016 at 1:15 pm #26872H.K. LatiyanParticipantYou'll have to add columns="3" manually for gallery shortcode. The default gallery shortcode implementation has been done to keep it compatible with older versions so that existing users are not impacted on update.February 9, 2016 at 6:37 pm #26976isigmaSpectatorWhy "3" is special? All other numbers work automatically... But anyway, thank you for the "cure". May I expect your help with my other two questions? 1. Tiny size of images. Is it possible to change it in an easy way, or I have to manually fix it in Vibe shortcodes plugin after each update? 2. Images in square grid has to be cropped, not shrunk, as for most photos it doesn't look pleasant. Is it possible to change the gallery code to use WP thumbnail images? Then it is even unnecessary to shut down the sizing algorithm in the Vibe shortcodes plugin.February 27, 2016 at 4:58 am #32486isigmaSpectatorGuys, I finally got to the Gallery issue in my todo list, and honestly, I do not understand why did we spend so much time discussing this! Here is the background
- WP in the native gallery shortcode uses defaults: columns="3" size="thumbnail". Only this settings do not appear in the code if was chosen.
- In your code (shortcodes.php) you use different defaults: columns="5" size="normal".
-
AuthorPosts
- The topic ‘Shut down the Gallery shortcode’ is closed to new replies.