Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My Gallery
#1
This plugin will help you create a gallery.

Description & Download:
http://get-simple.info/extend/plugin/my-gallery/1255/

Demo:
http://demo23.p9021271.beget.tech/my-gallery

If you want the plugin to be in your own language, you can translate it (plugins/my-gallery/lang/en.php) and send it to me.
Settings are saved to the plugin directory. Make sure that the necessary rights are permitted.


Attached Files Thumbnail(s)
   
Reply
#2
(2020-04-19, 19:21:32)denis Wrote: This plugin will help you create a gallery.

Demo & Download:
http://get-simple.info/extend/plugin/my-gallery/1255/

I can't upload images from admin. why not?
Reply
#3
(2020-04-19, 21:17:53)kazu2015 Wrote:
(2020-04-19, 19:21:32)denis Wrote: This plugin will help you create a gallery.

Demo & Download:
http://get-simple.info/extend/plugin/my-gallery/1255/

I can't upload images from admin. why not?

I don't know what you're talking about.
I have everything running on both the local server and hosting.

First, make sure that all the files .htaccess was copied.
When uploading large files сheck the values upload_max_filesize and post_max_size in php.ini.

Describe the problem in detail. With examples of errors, if any. Then perhaps I can help you.
Reply
#4
I'm also finding it inpossible to upload to the plugin. None of the 3 black buttons (iUpload, Multi-Upload or Delete) do anything. They do all show javascript:void(0); on rolover in my browser, but nothing happens when clicked. The red Images button does work (and reveals "No files in gallery").

I can make changes to the Plugin Settings and these save ok. I just cant get the Upload button to show anything.
Reply
#5
(2020-05-20, 17:52:59)davetest Wrote: I'm also finding it inpossible to upload to the plugin. None of the 3 black buttons (iUpload, Multi-Upload or Delete) do anything. They do all show javascript:void(0); on rolover in my browser, but nothing happens when clicked. The red Images button does work (and reveals "No files in gallery").

I can make changes to the Plugin Settings and these save ok. I just cant get the Upload button to show anything.


If these buttons are not pressed, it means that the JavaScript functions of the plugin are not executed. To find out why this happens, you need to look for errors in the browser console.
Perhaps you are using an ad blocker that does not work correctly. Or the plug-in conflicts with other plug-ins installed at your place (it is improbable)
If you use Chrome, press Ctrl + Shift + N and try to open the admin panel in this window.

You do not write which browser you are using, which system is installed, you do not provide print screens of the browser console. What plugins are you using yet. What are the extensions for the browser.
Without all this, I cannot understand the reason.

I tested on Chrome and Firefox browsers without any extensions with default GetSimple - there were no problems described by you.
This video shows that the plugin performs the built-in functions:
https://youtu.be/Wj_n2dMN_xY
Reply
#6
(2020-05-20, 18:57:39)denis Wrote:
(2020-05-20, 17:52:59)davetest Wrote: I'm also finding it inpossible to upload to the plugin. None of the 3 black buttons (iUpload, Multi-Upload or Delete) do anything. They do all show javascript:void(0); on rolover in my browser, but nothing happens when clicked. The red Images button does work (and reveals "No files in gallery").

I can make changes to the Plugin Settings and these save ok. I just cant get the Upload button to show anything.


If these buttons are not pressed, it means that the JavaScript functions of the plugin are not executed. To find out why this happens, you need to look for errors in the browser console.
Perhaps you are using an ad blocker that does not work correctly. Or the plug-in conflicts with other plug-ins installed at your place (it is improbable)
If you use Chrome, press Ctrl + Shift + N and try to open the admin panel in this window.

You do not write which browser you are using, which system is installed, you do not provide print screens of the browser console. What plugins are you using yet. What are the extensions for the browser.
Without all this, I cannot understand the reason.

I tested on Chrome and Firefox browsers without any extensions with default GetSimple - there were no problems described by you.
This video shows that the plugin performs the built-in functions:
https://youtu.be/Wj_n2dMN_xY
Hi Denis. Thanks for fast response. I tried all 3 black buttons in Firefox Mac and got these errors in console:


Code:
ReferenceError: openwindow is not defined
[url=http://mauldsmeaburn.com/gs3316/admin/load.php?id=my-gallery]load.php:1:1[/url]
    onclick http://mauldsmeaburn.com/gs3316/admin/load.php?id=my-gallery:1

ReferenceError: openwindow is not defined
[url=http://mauldsmeaburn.com/gs3316/admin/load.php?id=my-gallery]load.php:1:1[/url]
    onclick http://mauldsmeaburn.com/gs3316/admin/load.php?id=my-gallery:1

ReferenceError: openwindow is not defined[url=http://mauldsmeaburn.com/gs3316/admin/load.php?id=my-gallery]load.php:1:1[/url]
    onclick http://mauldsmeaburn.com/gs3316/admin/load.php?id=my-gallery:1

In Chrome (Mac) I got similar error:

Code:
Uncaught ReferenceError: openwindow is not defined
    at HTMLAnchorElement.onclick (load.php?id=my-gallery:348)
onclick @ load.php?id=my-gallery:348

and the error in Safari too :-(
Does that help you know what is not working?
I'll try on a PC later and report back
Reply
#7
(2020-05-21, 01:13:50)denis Wrote: ...
"openwindow is not defined"
Based on the console content, for some reason the windows.js file that contains the required features is not loaded.

1 - Try to take the contents of the windows.js file and put it in the admin.php file after line 108
print <<< my_gallery_JS_code
<script>
...

2 - Delete line 722 in file admin.php. This line: my_gallery_JSLoad("/plugins/'.$my_gallery_thisfile.'/windows.js");

But I still can not understand why this is happening. Try not on a subdomain.

Thank you Denis. Copied windows.js content over to admin.php as you said and buttons worked, but popups had black background same as rest of window, but otherwise upload etc worked. However thumbnail images did not appear in plugin and frontend gallery did not appear. Then moved whole site out of subdomain into root and all worked correctly.

Similarly had some errors (can try to recall if you want) with your my_template template in subdomain, but all worked well when moved to domain root. So guess it was a subdomain problem

Your template and plugins are great, but it wold be amazing if you get time to make them work in asubdomain too :-) ...maybe making use somehow of GSs <?php get_site_url(); ?> function. That's how I fixed link behing site logo not working etc.

Anyway thanks again for great code and feedback.
Reply
#8
I see that your demo seems to be on a sub domain rather than a sub directory address. So is it working because the template and plugin are seeing that sub domain as root?
Reply
#9
Version 1.0.3:

- ability to create multiple galleries.
Reply
#10
Version 1.0.4:
- ability to select scripts for output for each gallery (BaguetteBox, PhotoSwipe, Swiper - slider)
- ability to place HTML in big image (after thumbnail click):
if "Content:" starts with "<iframe" the code will be perceived as a video in a frame
if "Content:" starts with "http" the code will be perceived as a link
if "Content:" does not contain HTML tags, then the code will be perceived as a caption to the image
Reply
#11
Hi Denis, I have a question for the Swiper gallery. How to get a flip effect in this plugin? Can it be done from the plugin settings?

https://swiperjs.com/demos#effect-flip
Reply
#12
(2021-02-05, 09:44:20)vixrealitum Wrote: Hi Denis, I have a question for the Swiper gallery. How to get a flip effect in this plugin? Can it be done from the plugin settings?

https://swiperjs.com/demos#effect-flip

Hi,I have not implemented such a setting.
Manual only: my-gallery.php,
after line 323:slidesPerView: '.$my_gallery_default_slides_per_view.',
paste line: effect: "flip",

The setting will be applied to all Swiper galleries.
Reply
#13
Ok, thank you very much for the practical answer.
Reply
#14
Hello. Gallery in PhotoSwipe mode. If you click on a photo, it zooms in a lot (although it only has 800 pixels). This is a bug in all browsers on the PC. Everything is ok from the phone. Theme - Lucid. What could be the reason?
P.S. This is very ugly and impractical Sad

https://ibb.co/NmPXL4P
Reply
#15
(2021-02-13, 20:03:16)denis Wrote:
(2021-02-09, 05:56:16)denis Wrote:
(2021-02-08, 20:08:33)Wallkar Wrote: Hello. Gallery in PhotoSwipe mode. If you click on a photo, it zooms in a lot (although it only has 800 pixels). This is a bug in all browsers on the PC. Everything is ok from the phone. Theme - Lucid. What could be the reason?
P.S. This is very ugly and impractical Sad

https://ibb.co/NmPXL4P

Hello.
I see no problems with the logic of the script. There may be a plugin CSS conflict with your theme CSS.
In most cases, plugin CSS/theme CSS correction is required.
Try using the image size as in my example. Try do not use plugin additional features (<HTML>, <IFRAME>, <A>).
Almost sure that the reason is the conflict between the CSS plugin and the CSS theme.

In theme Lucid find style.css replace line 51
.text img {
width : 94%!important; 
=>
.text img {
width : 94%;

BIG thanks!
Reply
#16
Is it possible to move this plugin's tab from the "plugins" sidebar to another location? If so, how to do it?
Reply
#17
(2021-03-22, 06:56:47)vixrealitum Wrote: Is it possible to move this plugin's tab from the "plugins" sidebar to another location? If so, how to do it?

This is a standard place for plugins. I do not see the point in this

Read the documentation for GetSimple, you may find a suitable solution:
http://get-simple.info/wiki/plugins:tabs_menus

http://get-simple.info/wiki/plugins:hook...]=sidebar (Back-End GUI)

my-gallery.php, line: 90
// Creates a menu option on the Admin/Theme sidebar
add_action('pages-sidebar', 'createSideMenu', array($my_gallery_thisfile, $my_gallery_plugin_name));
Reply
#18
nav-tab, for example
Reply
#19
Any solution to the display bug? Anyone who has found a reason and a recommendation? Let us know

https://minotaurfightstore.co.uk/mens-fi...-leggings/ | https://minotaurfightstore.co.uk/mens-fi...on-shorts/
Reply




Users browsing this thread: 1 Guest(s)