Author Topic: Need for good gallery plugin  (Read 566 times)

Offline noname8

  • Posts: 141
Need for good gallery plugin
« on: February 23, 2018, 11:27:07 AM »
Does website baker have any good gallery plugin ??

- Easy to use
- Out of the box it's responsive and perhaps even bootstrap-compatible
- You can have image texts
- Image ordering is easy
- Creates thumbnail when uploading photo
- Resizes photo when uploading
- Photo maybe opens in colorbox or other lightbox

now i've been using backend that resizes photos and modified imagegallerydroplet that just shows photos nicely and easy to use, but lacks so much features.


Offline Ruud

  • Posts: 3647
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Need for good gallery plugin
« Reply #1 on: February 23, 2018, 11:33:11 AM »

Offline noname8

  • Posts: 141
Re: Need for good gallery plugin
« Reply #2 on: February 23, 2018, 07:39:16 PM »
Wow! Thank you!
This is 10x better than what i've found before. Don't have disquss-login so i will post here:

- Clicking the arrow riht to change photo to next don't have cancel prev. event function. It will queue the clicks which is not nice

- Is it possible to add swipe to change the zoomed in photo ? All people tend to swipe to change photos these days

Offline Ruud

  • Posts: 3647
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Need for good gallery plugin
« Reply #3 on: February 23, 2018, 10:57:06 PM »
The handling of next/prev as well as swipe is done by the lightcase jquery plugin. I made no changes to that plugin.

You can always download the latest version here on github.
For suggestions like the arrow handling you can create an issue/request for the plugin developer there.

Swiping is supported out of the box, but only on mobile (touch enabled) devices.

Offline noname8

  • Posts: 141
Re: Need for good gallery plugin
« Reply #4 on: March 28, 2018, 12:00:37 PM »
That's great plugin

Im thinking of sorting out the multilingual website with creating a linux soft link to the folder, by replacing the created folder with symlink.

But the code is not checking clearly enough so the photo comment can only be saved 1 time per unique filename.
This is also a bug if my site has many galleries and 2 galleries contain the same filename photo.

FIX:
functions.php
line 280

Code: [Select]
section_id
if($database->get_one("SELECT `image` FROM ".TABLE_PREFIX."mod_minigal2img WHERE `image`='$filename'")) {
-->
if($database->get_one("SELECT `image` FROM ".TABLE_PREFIX."mod_minigal2img WHERE `image`='$filename'")) {

also line 282 -->

$query = "UPDATE ".TABLE_PREFIX."mod_minigal2img SET `title`='$caption' WHERE `image`='$filename' AND section_id='$section_id'";

Offline Ruud

  • Posts: 3647
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Need for good gallery plugin
« Reply #5 on: March 28, 2018, 01:52:07 PM »
@noname8
Thanks for reporting this bug. It is fixed in v2.5.1

Version 2.5.1 is now available for download: https://dev4me.com/modules-snippets/opensource/minigallery-v2/
This version is also updated with the current version of the lightcase plugin (v.2.5)

Offline noname8

  • Posts: 141
Re: Need for good gallery plugin
« Reply #6 on: April 08, 2018, 11:17:31 AM »
Thank you for the fast support!

 

postern-length