Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MonsterGallery Plugin
#1
Gallery plugin you want use it!

This is an easy to use gallery plugin with 5 modern solutions excluding the use of jquery. Just turn it on, create galleries, copy the shortcode and paste it into CKEditor





[Image: Fc4EfbzWQAEmXb2?format=jpg&name=large]
Reply
#2
Thanks multicolor. Just tried it quickly on a 3.3.16 (php7.4) instal.
Loved interface and usabilty, all images displayed as a stack in page without any of the gallery/lightbox methods present. Are there any other dependancies that I need?
Reply
#3
(2023-01-07, 09:32:55)multicolor Wrote:
Gallery plugin you want use it!

This is an easy to use gallery plugin with 5 modern solutions excluding the use of jquery. Just turn it on, create galleries, copy the shortcode and paste it into CKEditor





[Image: Fc4EfbzWQAEmXb2?format=jpg&name=large]

When selecting the PhotoSwip gallery, a warning appears
Code:
Warning: Undefined variable $gal in C:\OSPanel\domains\gsphp8.ia\plugins\monsterGallery.php on line 165
Reply
#4
And the thumbnails are not cut off for all galleries.
Reply
#5
(2023-01-07, 21:03:16)davetest Wrote: Thanks multicolor. Just tried it quickly on a 3.3.16 (php7.4) instal.
Loved interface and usabilty, all images displayed as a stack in page without any of the gallery/lightbox methods present. Are there any other dependancies that I need?

NooSmile All included on code plugin. Only get_header and get_footer on template.
Reply
#6
(2023-01-07, 21:36:47)Oleg06 Wrote: And the thumbnails are not cut off for all galleries.

What module type of gallery no cut thumbnails?

1.0.1 fixed photoSwipe fixed. soon more modules and function for using on template
Reply
#7
(2023-01-08, 02:34:51)multicolor Wrote:
(2023-01-07, 21:36:47)Oleg06 Wrote: And the thumbnails are not cut off for all galleries.

What module type of gallery no cut thumbnails?

1.0.1 fixed photoSwipe fixed. soon more modules and function for using on template

They are not cut to size, as in I18N Gallery.
https://prnt.sc/Uja3wrnvQsf0
Reply
#8
(2023-01-08, 06:01:55)Oleg06 Wrote:
(2023-01-08, 02:34:51)multicolor Wrote:
(2023-01-07, 21:36:47)Oleg06 Wrote: And the thumbnails are not cut off for all galleries.

What module type of gallery no cut thumbnails?

1.0.1 fixed photoSwipe fixed. soon more modules and function for using on template

They are not cut to size, as in I18N Gallery.
https://prnt.sc/Uja3wrnvQsf0
yes it is, first input create width resize thumbnails, next two create width- and height
screen:
https://prnt.sc/F9YGkbnANQgE

https://prnt.sc/FqaSj4yO3qTB

always you can create

.monsterGallery-grid img{
width: 120px;
height: 120px;
object-fit: cover;}

and important,
try this plugin on php 7.4+
Reply
#9
2.0 - added migrator url after you change domain, and fixes few small error.
Reply
#10
Where do I place the shortcode
<?php monsterGalleryShow("example");?>[% mg=example %] ?
Reply
#11
(2023-05-26, 13:19:07)tommy Wrote: Where do I place the shortcode
<?php monsterGalleryShow("example");?>[% mg=example %] ?

Short code in page editor. PHP code into a component or into a template.
Reply
#12
(2023-05-26, 13:33:10)Oleg06 Wrote:
(2023-05-26, 13:19:07)tommy Wrote: Where do I place the shortcode
<?php monsterGalleryShow("example");?>[% mg=example %] ?

Short code in page editor. PHP code into a component or into a template.

I did that but the shortcode rendered the gallery right after opening of BODY tag instead of where I placed it in the page. I noticed the plugin inject the CSS on the header tag. Is the JS injected via the footer tag?

Just to double confirm the shortcode is using brackets [] not {} correct?
Reply
#13
Shortcode you should paste on ckeditor, not template. Remember about get_header() and get_footer() on yours template
Reply
#14
(2023-05-26, 18:01:55)multicolor Wrote: Shortcode you should paste on ckeditor, not template. Remember about get_header() and get_footer() on yours template

Tested with a blank template, I notice the styles were injected both at the <HEAD> section as well as within the page where I inserted the shortcode. There are also additional inline styles in the page. Is it meant to be like that?

Code:
<HEAD>
<link rel="stylesheet" href="glightbox.min.css">
</HEAD>
<BODY>
<main>
<link rel="stylesheet"href="glightbox.min.css">
<style>
.monsterGallery-grid{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;gap:3px
}

@media(max-width:768px){
    .monsterGallery{
        width:95%;
        margin:0 auto;
        display:flex;
        flex-wrap:wrap;
        flex-direction:column;
    }

.monsterGallery-grid a{
    margin:0;
    padding:0;
}

.monsterGallery-grid img{
    max-width:100% !important;}
}
</style>
<div class="monsterGallery-grid">...</div>
</BODY>
Reply
#15
(2023-05-26, 21:00:40)tommy Wrote:
(2023-05-26, 18:01:55)multicolor Wrote: Shortcode you should paste on ckeditor, not template. Remember about get_header() and get_footer() on yours template

Tested with a blank template, I notice the styles were injected both at the <HEAD> section as well as within the page where I inserted the shortcode. There are also additional inline styles in the page. Is it meant to be like that?

Code:
<HEAD>
<link rel="stylesheet" href="glightbox.min.css">
</HEAD>
<BODY>
<main>
<link rel="stylesheet"href="glightbox.min.css">
<style>
.monsterGallery-grid{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;gap:3px
}

@media(max-width:768px){
    .monsterGallery{
        width:95%;
        margin:0 auto;
        display:flex;
        flex-wrap:wrap;
        flex-direction:column;
    }

.monsterGallery-grid a{
    margin:0;
    padding:0;
}

.monsterGallery-grid img{
    max-width:100% !important;}
}
</style>
<div class="monsterGallery-grid">...</div>
</BODY>

looks like you try shortcode and and function on one time. Send me real website on pm with password to can i show you how it workSmile
Reply
#16
(2023-05-26, 22:40:09)multicolor Wrote:
(2023-05-26, 21:00:40)tommy Wrote:
(2023-05-26, 18:01:55)multicolor Wrote: Shortcode you should paste on ckeditor, not template. Remember about get_header() and get_footer() on yours template

Tested with a blank template, I notice the styles were injected both at the <HEAD> section as well as within the page where I inserted the shortcode. There are also additional inline styles in the page. Is it meant to be like that?

Code:
<HEAD>
<link rel="stylesheet" href="glightbox.min.css">
</HEAD>
<BODY>
<main>
<link rel="stylesheet"href="glightbox.min.css">
<style>
.monsterGallery-grid{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;gap:3px
}

@media(max-width:768px){
    .monsterGallery{
        width:95%;
        margin:0 auto;
        display:flex;
        flex-wrap:wrap;
        flex-direction:column;
    }

.monsterGallery-grid a{
    margin:0;
    padding:0;
}

.monsterGallery-grid img{
    max-width:100% !important;}
}
</style>
<div class="monsterGallery-grid">...</div>
</BODY>

looks like you try shortcode and and function on one time. Send me real website on pm with password to can i show you how it workSmile

i only use the function in template without adding shortcode too. You can view this code duplication even with a clean GS install with this plugin. The gallery still works even with this duplication
Reply
#17
Ok good if works. I check this duplicate on next release
Reply
#18
(2023-05-27, 05:02:49)multicolor Wrote: Ok good if works. I check this duplicate on next release

Thanks, meanwhile can point me to which lines to remove in the code to prevent both the js and css injections in the header and footer. I managed to remove the inline styles in the module code. Basically I just need the gallery + thumbnails functionality minus all the js and css which I ll custom add via my own library. Thanks!


EDIT: Ok I've found the cause for the duplication, its at the monsterGallery.php file, remove the duplicated echo call for the module accordingly:

if ($modulesClass->getNameModules() == 'baguettebox') {
echo '<link rel="stylesheet" href="' . $SITEURL . 'plugins/monsterGallery/modules/
baguettebox/baguetteBox.min.css">';
$modulesClass->baguettebox();
echo $modulesClass->gal;
};
Reply
#19
MonsterGallery 3.0 is here!
  • moved thumb folder to data/other/
  • fixed transparent thumbnail creation for png and webp
  • back to list button added
  • added responsive width,height, gap settings, added thumbnail cover-contain option,
  • removed duplicate css from code.
Download:
http://get-simple.info/extend/plugin/mon...lery/1332/

or:
https://getsimplecms-ce-plugins.github.io/
Reply
#20
Isn't working, see attached photo
GS CE + php 8.1.x

Nothing in the Debug Console ...
Tried to debug imagebrowser.php , no luck yet, but it probably something to do with lang, since I use he_IL


Attached Files Thumbnail(s)
   
Reply
#21
(2023-09-23, 19:59:51)Tzvook Wrote: Isn't working, see attached photo
GS CE + php 8.1.x

Nothing in the Debug Console ...
Tried to debug imagebrowser.php , no luck yet, but it probably something to do with lang, since I use he_IL

If you dont mind, post your lang file so we can take a look, to rule this out.


GS Community Edition with php8.x compatibility, new features and much more!  Support Me


Reply
#22
(2023-09-24, 00:35:07)islander Wrote:
(2023-09-23, 19:59:51)Tzvook Wrote: Isn't working, see attached photo
GS CE + php 8.1.x

Nothing in the Debug Console ...
Tried to debug imagebrowser.php , no luck yet, but it probably something to do with lang, since I use he_IL

If you dont mind, post your lang file so we can take a look, to rule this out.

I didn't translate it yet since it's not working for me, only copied & renamed the English lang file ...
When I wrote lang I meant that it's probably something to do with the LANG vars in the top of  filebrowser/imagebrowser.php 
Reply
#23
Does imagebrowser work in other areas of GS?
or maybe try using the PL lang file instead of EN, just to see if that does anything different for you.


GS Community Edition with php8.x compatibility, new features and much more!  Support Me


Reply
#24
(2023-09-24, 01:10:32)islander Wrote: Does imagebrowser work in other areas of GS?

Yes

(2023-09-24, 01:10:32)islander Wrote: maybe try using the PL lang file instead of EN, just to see if that does anything different for you.

Yes - same issue
Reply
#25
(2023-09-24, 01:47:49)Tzvook Wrote:
(2023-09-24, 01:10:32)islander Wrote: Does imagebrowser work in other areas of GS?

Yes

(2023-09-24, 01:10:32)islander Wrote: maybe try using the PL lang file instead of EN, just to see if that does anything different for you.

Yes - same issue

root domain or subdomain/subfolder?
Reply




Users browsing this thread: 1 Guest(s)