ezGallery Lite
For ElkArte 1.1.x
A basic photo gallery system for ElkArte.
Features:
Categories
Comment System
Picture Approval
Reporting of Picture.
Permissions for adding/editing/approving/deleting and more
And much more...
Demo: http://www.elkartemods.com/index.php?action=gallery
Screenshots:
(Link-4425) (Link-4427) (Link-4429)
thank you for this addon, but images are not responsive in your demo
Yeah they won't be those are full size images. This version of the gallery does not support automatic resizing.
Nice to see new addons for Elkarte :)
@radu81 there's really easy way to resize images with css ;)
Checking which addons to port next. Based on demand.
Best layout ever !
#sorrynotsorry
Hi,
After install, I keep getting this message when I try to add a picture :
Can you help me?
Are you on ElkArte 1.0.x?
Yes, 1.0.9.
What is the steps you are doing to cause that error? Such as what is path that you are clicking in the addon.
Don't know what I did but it works now. :) I'll check again tonight on my other pc.
Ok let me know if you encounter it again and what steps you did to get it
-wanders over here, embarrassed because I posted in the wrong area-
Hey there. Love everything about this mini-gallery, and cant wait to be able to use it. I have ElkArte 1.0.9 and installed the EzGallery just a couple of weeks ago. I've reached my wit's end because I cannot seem to figure this out on my own. New to Elk, from using SMF and Phpbb for too long.
EzGallery installs fine, and the Gallery link shows in the Main Board. The configuration button shows up in the Admin area. Although whenever I try to upload an image, or try to custom the Settings for the Gallery it goes wrong. I just get a white window telling me 'it stopped working'.
I really hope you can help. I'd love to be able to incorporate this into our Forum.
How big is the image? And any errors in your forums error log after you try to upload?
Images are ..
- .png/.jpg/.gif
Sizes can range from
- 800kb-1.5mb's.
When trying to adjust the settings I get:
8: Undefined property: ezGalleryAdmin_Controller::$Array
Clicking the upload button just results in the error page. Same to trying to get to the settings and the rest.
Can you attach a sample image that fails want to do some quick tests.
And take screenshots of the error/full error message on upload
Any image I try to upload, it just kicks me to the screen that says the website isnt working.
Alright. This is the last one I tried, and a screenshot of the error's.
I was able to upload that picture on my gallery http://www.elkartemods.com/index.php?action=gallery;sa=view;pic=6
What PHP version are you running?
razz where you able to get it solved???
Also a must update for critical issue
5.6.1
!Bug fix/cleanup regression fix.
PHP version is 7.0
I havent figured out the problem yet. Apologies on the tardiness of my reply, my 'real time' has been extremely busy.
Update? Perhaps I should do that, and see what happens? Thank you so much for taking the time to try and help me with this. =)
Note: Checked into the Version of my copy of this mod and its
-ezGallery Lite 5.6
Razz I figured it out was a PHP 7 issue. I finally was able to upgrade all my servers t PHP 7.1 and have fixed the issue in the latest release!
5.6.2
!Fixed issue with PHP 7 not like the action index casted to string to fix.
Updated for Elkarte 1.1.x
@vbgamer45 I tried to install this plugin, but for me it didn't work. I'm on elkarte 1.1.5, so the installation works and there is a button "Gallery". But when you click on it you get an empty screen without a gallery.....
You need to modify one of the files to start with a capital can’t recall which one mind! Think it might be Gallery.controller.php
Can you explain did I name a file wrong?
Mattmax anything in your forums error log?
It needed to be a capital at the start of the file name was all I recall. It all worked for me then. I don't have it installed anymore so can't help any more than that.
It's one of the checks only looks for the ucfirst file name and that fails, it never loads the controller. Pretty sure its the controller file.
Mattmax can you try this version and see if it helps?
With that version I get an error during the installation.
So, I didn't do the installation.
With the other version from this side, I cann't add an category.
edit: I delete the installation-files through elkarte. After that I tried to install the "old" version (5.6.2) from this thread and now it's working?!? I'm a little bit confused!
Very odd. What PHP version are you using?
Did you install the recent version from here? As it might not of removed the new file so you have that still there.
Listing the files in your sources/controller directory would show that.
I didn't install the last version posted today. I went back and delete al the file through elkarte. So, I think the "new" version wasn't there after I upload the version from this thread.
And what do you mean with the list of the files?
Hmm had one more change
If anyone has a linux forum please test. Issue was case sensitive filenames i believe.
hello, I installed everthing new and no it's working with the version 5.6.2, that you posted days ago.
Great awesome!
Little workaround for me...
Download last posted zip file. Renaming "Gallery.controller.php" to "gallery.controller.php" in that file. Upload and installation works now, but adding categories not. Renaming the "gallery.controller.php" on the server back to "Gallery.controller.php"! Now it works.
Hmmm have to see what went wrong.
I see try to grab the latest one from the Elkarte site or my website. Attached the latest one here
is it still the same version, than in Reply #32
Same version but I think fix added
Update:
Fixed the gallery bug with gallery action on linux servers going to the main page instead of gallery. Been bugging me for a while. It was strange it worked on windows server.
Windows is case insensitive, Linux is case sensitive.
Yeah, it wasn't that though. I had
function ezgallery_integrate_actions2(&$actions)
{
$actions['gallery'] = array('Gallery_Controller','gallery.controller.php');
}
Which worked on the windows server Changed to
function ezgallery_integrate_actions2(&$actionArray, &$adminAction)
{
$actionArray = array_merge(
array (
'gallery' => array('gallery.controller.php', 'Gallery_Controller', 'action_index')
),
$actionArray
);
}
For some reason I forget why I changed the code in 1.1.x used to use for 1.0.x I forget why I changed now.
function ezgallery_integrate_actions(&$actions)
{
$actions['gallery'] = array('gallery.controller.php', 'Gallery_Controller', 'action_index');
}
Looking at the SiteDispatcher and Autoloader classes I think it is that. The new way you’ve done it causes an include in the SiteDispatcher, the old way relied on the Autoloader which would of failed on Linux as it looked for Gallery.controller.php
Makes sense. I forgot why I changed it at some point I think ran into someone saying it didn't work then changed then left it as is since it worked on windows.
Can someone post a screenshot or three of the gallery in operation?
(I don't have a test server set up and I'm reluctant to mess with the production server just to see if the add-on is something my users will like and use..)
FWIW, I'm running 1.1.6 on a linux platform with php 7.2
@Steeley have a look at the first post of this topic, there are some screenshots and a link to a demo site
Thanks radu81 - until I clicked on the test2 link, it just appeared to be screenshots of the admin interface. :P
Update
7.0
+Changed that the persons name links to their myimages section instead of their main profile to show all the users pictures.
!Restrict picture upload fields to image file extensions ".gif, .jpg, .jpeg, .png, .webp, .tiff, .bmp"