Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SimpleGallery
#1
This plugin enables a powerfull gallery. Just upload the pictures in "gallery" folder, setup gallery to fit your needs and everything is done automatically. Uses slimbox 2.0 to make the gallery appear very nice. Supports only jpg/jpeg files!!!

How to use
Just create new template file and insert <?php gallery(); ?> where you need to show gallery.
Then create folder "gallery" in GetSimple root directory and upload directories and files. Files must be in .jpg format!!!

Settings and language
I suppose that all settings are self explaining, just need to mention that all variables can be changed on lines 32-41 in simpleGallery.php file.

Suggestions
If you really like this plugin, you may donate me by paypal smooo3(at)gmail.com
If you find a bug, please let me know by emailing me on master(at)majstriwebu.sk or reply to this topic. Thanks

Version
0.9
ActualVersion
0.92
newer version available in new post, or in Extend GetSimple directory
Reply
#2
yellow borders - what is it ?
Reply
#3
Eugene Wrote:yellow borders - what is it ?
Don´t know what exactly you mean, maybe it is just your css file, that affects the appearance of a gallery script. There is no border attribute in script, try to look at the page code and find some css rules that affects gallery.

Let me know, what was the problem. Thanks.
Reply
#4
I put a color FFF000 in the field "Image background color (color in RGB format without #, letters or numbers only)"
Reply
#5
Update is available.

Changes:
*fixed pagination problems, now shown correctly

Version
0.91
Reply
#6
Hi,

I am running GetSimple with XAMPP on windows
I am trying to a create a gallery using plugin [SimpleGallery]
I placed all images in the folder C:\xampp\htdocs\VSolutions2\gallery
and the C:\xampp\htdocs\VSolutions2\plugins contains
.htaccess
galleryfiles(dir)
simpleGallery.php

When login as administrator under plugins tab I can see [SimpleGallery] plugin listed
I want to create a gellery in the home page which comes with GetSimple
Could someone list me the steps in detail. Thanks
Reply
#7
Hello, I am glad to hear that sb is interested in using this gallery script.

When you want to use this in your main page, you just have to modify the template file and insert this piece of code in main container(if you are a total beginner just replace <?php get_page_content(); ?>):

<?php gallery(); ?>

That's it, just save the template file and when accessing index page, you will see the content of your gallery folder.

Greetings
Reply
#8
I entered the gallery name in Russian, and that's what got http://neowebtime.ru/0/gall2
Reply
#9
Hi, maybe you entered it not in utf-8 format(dont know what is russian coding- if it is implanted in utf-8), try to edit simpleGallery.php file on line 162 change $charset = "UTF-8"; to russia coding, maybe it will work, but I am not sure. Try this and please, let me know.
Reply
#10
I tried all possible encodings, but nothing helped Smile
Reply
#11
And if you try to rename directly $title (I don't know how exactly it is named/dont have script here and time) in simpleGallery.php, that should definitely work.
Reply
#12
I wrote in line 239
Code:
if ($titlex == true) $content.='<h3>Моя галерея</h3>';
shows normal
http://neowebtime.ru/0/gall2
Reply
#13
hi, how can i put the gallery only to one page of my site?
please help me.
Reply
#14
you'll excuse me, I often ask such questions, and sometimes people find answers
http://get-simple.info/forum/post/8657/#p8657
Reply
#15
Excellent plugin, a detail, I think importantly, by enabling the friendly url, an error in the paths of the images, for example, if I create a page called catalog, then the url of the image is http://mysite.com/catalog/gallery/img.jpg and should really be: http:mysite.com/gallery/img.jpg
Reply
#16
sentenced Wrote:hi, how can i put the gallery only to one page of my site?
please help me.

You have to create new template file(or copy default template file and rename it). Call it whatewer you want, name is not important. I name it template-gallery.php and then you just paste a bit of code after <?php get_page_content(); ?> insert new line and paste this:
<?php gallery(); ?>

When you're done, visit your admin area and create new page and click Page Options and choose your template(in my case template-gallery.php) and add page data.

Or if you want gallery only, delete the <?php get_page_content(); ?> and that's it, or leave page blank.


Donsegundo Wrote:Excellent plugin, a detail, I think importantly, by enabling the friendly url, an error in the paths of the images, for example, if I create a page called catalog, then the url of the image is http://mysite.com/catalog/gallery/img.jpg and should really be: http:mysite.com/gallery/img.jpg

This should be handled in your .htaccess file, but I realy don't know how to fix that(dont know htaccess rules), but I see that Oleg06 uses Fancy urls and it works, so he should know the solution, would be glad of hearing that too.
Reply
#17
Hi, I've a problem.
I've installed the plugin on a local site with XAMPP Lite 1.7.3 for Windows, it's all OK, but in admin panel there is an error: after the title of plugin, it don't print other code.

I opened the main file of plugin and I saw that the administration is a HTML form, but I don't understand why it don't print me this...

Can help me?
Reply
#18
ultrastudio Wrote:Hi, I've a problem.
I've installed the plugin on a local site with XAMPP Lite 1.7.3 for Windows, it's all OK, but in admin panel there is an error: after the title of plugin, it don't print other code.

I opened the main file of plugin and I saw that the administration is a HTML form, but I don't understand why it don't print me this...

Can help me?

First, try to enable the debug mode to see where is the problem. But there may be a problem that you havent created the 'gallery' directory in main GS directory, or you have not copied the xml config file of gallery gallsettings.xml(then the script crashes.). Hope I helped(let me know)
Reply
#19
on my site too, your gallery is not working on nested pages, but if the settings put Fancy url write %slug% instead of %parent%/%slug%, then everything works

http://neowebtime.ru/0/blog/ddddddddddd
http://neowebtime.ru/0/ddddddddddd
Reply
#20
A few suggestions, as I'm trying to use this script.

Text like:

Quote:The directory "GSROOTPATH/gallery" does not exist. It is required for this plugin to function properly. Please create it manually and make sure it is writable.

should show the value of GSROOTPATH instead of the constant name.

The script would benefit from i18n, currently I have to change the script so that the text appears in other languages. It would be nice if you could pick up the default GS language and use that, if you have it in the script.
Rejoice! For very bad things are about to happen.
Reply
#21
Oh, and is the license for the script? I may need to change a few things on it and would like to do it legally.
Rejoice! For very bad things are about to happen.
Reply
#22
Knitter Wrote:Oh, and is the license for the script? I may need to change a few things on it and would like to do it legally.
It was released under GNU GPL licence, so you are free to modify it, but leave at least references to author and me.
Reply
#23
I always keep a reference to other developers, I may adapt them to my coding/comment standards but I always make sure previous developers are easy to find.
Rejoice! For very bad things are about to happen.
Reply
#24
Update is available.

Changes:
*fixed show title problems, now works correctly

Version
0.92
Reply
#25
Hi, I use SimpleGallery in russian-language site, the plugin works fine. My gallery has complex structure therefore it contains several folders. Those folders are sections for splitting images by some subjects. And the folders have russian names under Linux file system, however they displays in wrong charset on a web-page. Please help me to fix it.
freedom rulezzz! dependence suxxx...
Reply




Users browsing this thread: 1 Guest(s)