GetSimple Support Forum
MonsterGallery Plugin - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: MonsterGallery Plugin (/showthread.php?tid=16920)

Pages: 1 2


MonsterGallery Plugin - multicolor - 2023-01-07

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]



RE: MonsterGallery Plugin - davetest - 2023-01-07

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?


RE: MonsterGallery Plugin - Oleg06 - 2023-01-07

(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



RE: MonsterGallery Plugin - Oleg06 - 2023-01-07

And the thumbnails are not cut off for all galleries.


RE: MonsterGallery Plugin - multicolor - 2023-01-07

(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.


RE: MonsterGallery Plugin - multicolor - 2023-01-08

(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


RE: MonsterGallery Plugin - Oleg06 - 2023-01-08

(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


RE: MonsterGallery Plugin - multicolor - 2023-01-08

(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+


RE: MonsterGallery Plugin - multicolor - 2023-02-02

2.0 - added migrator url after you change domain, and fixes few small error.


RE: MonsterGallery Plugin - tommy - 2023-05-26

Where do I place the shortcode
<?php monsterGalleryShow("example");?>[% mg=example %] ?


RE: MonsterGallery Plugin - Oleg06 - 2023-05-26

(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.


RE: MonsterGallery Plugin - tommy - 2023-05-26

(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?


RE: MonsterGallery Plugin - multicolor - 2023-05-26

Shortcode you should paste on ckeditor, not template. Remember about get_header() and get_footer() on yours template


RE: MonsterGallery Plugin - tommy - 2023-05-26

(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>



RE: MonsterGallery Plugin - multicolor - 2023-05-26

(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


RE: MonsterGallery Plugin - tommy - 2023-05-26

(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


RE: MonsterGallery Plugin - multicolor - 2023-05-27

Ok good if works. I check this duplicate on next release


RE: MonsterGallery Plugin - tommy - 2023-05-27

(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;
};


RE: MonsterGallery Plugin - multicolor - 2023-06-02

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/monstergallery/1332/

or:
https://getsimplecms-ce-plugins.github.io/


RE: MonsterGallery Plugin - Tzvook - 2023-09-23

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


RE: MonsterGallery Plugin - islander - 2023-09-24

(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.


RE: MonsterGallery Plugin - Tzvook - 2023-09-24

(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 


RE: MonsterGallery Plugin - islander - 2023-09-24

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.


RE: MonsterGallery Plugin - Tzvook - 2023-09-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


RE: MonsterGallery Plugin - multicolor - 2023-09-24

(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?