Posts: 19
Threads: 1
Joined: Nov 2010
2010-12-12, 03:57:45
(This post was last modified: 2011-01-06, 01:59:08 by business0001.)
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
Posts: 16
Threads: 2
Joined: Jun 2010
yellow borders - what is it ?
Posts: 19
Threads: 1
Joined: Nov 2010
2010-12-12, 22:10:36
(This post was last modified: 2010-12-12, 22:11:12 by business0001.)
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.
Posts: 1,928
Threads: 88
Joined: Apr 2010
I put a color FFF000 in the field "Image background color (color in RGB format without #, letters or numbers only)"
Posts: 19
Threads: 1
Joined: Nov 2010
Update is available.
Changes:
*fixed pagination problems, now shown correctly
Version
0.91
Posts: 1
Threads: 0
Joined: Dec 2010
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
Posts: 19
Threads: 1
Joined: Nov 2010
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
Posts: 1,928
Threads: 88
Joined: Apr 2010
I entered the gallery name in Russian, and that's what got http://neowebtime.ru/0/gall2
Posts: 19
Threads: 1
Joined: Nov 2010
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.
Posts: 1,928
Threads: 88
Joined: Apr 2010
I tried all possible encodings, but nothing helped
Posts: 19
Threads: 1
Joined: Nov 2010
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.
Posts: 1,928
Threads: 88
Joined: Apr 2010
I wrote in line 239
Code: if ($titlex == true) $content.='<h3>ÃœþѠóðûõрõÑÂ</h3>';
shows normal
http://neowebtime.ru/0/gall2
Posts: 1
Threads: 0
Joined: Dec 2010
hi, how can i put the gallery only to one page of my site?
please help me.
Posts: 1,928
Threads: 88
Joined: Apr 2010
you'll excuse me, I often ask such questions, and sometimes people find answers
http://get-simple.info/forum/post/8657/#p8657
Posts: 7
Threads: 1
Joined: Sep 2010
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
Posts: 19
Threads: 1
Joined: Nov 2010
2010-12-25, 00:55:48
(This post was last modified: 2010-12-25, 00:56:31 by business0001.)
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.
Posts: 3
Threads: 0
Joined: Dec 2010
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?
Posts: 19
Threads: 1
Joined: Nov 2010
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)
Posts: 1,928
Threads: 88
Joined: Apr 2010
2010-12-28, 17:53:44
(This post was last modified: 2010-12-28, 17:54:49 by jhondavis.)
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
Posts: 54
Threads: 17
Joined: Oct 2010
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.
Posts: 54
Threads: 17
Joined: Oct 2010
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.
Posts: 19
Threads: 1
Joined: Nov 2010
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.
Posts: 54
Threads: 17
Joined: Oct 2010
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.
Posts: 19
Threads: 1
Joined: Nov 2010
2011-01-06, 01:59:54
(This post was last modified: 2011-03-24, 03:40:09 by business0001.)
Update is available.
Changes:
*fixed show title problems, now works correctly
Version
0.92
Posts: 8
Threads: 0
Joined: Dec 2010
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...
|