GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - 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: GSgallery 2.0 - Simple Image Gallery Plugin (Square It) (/showthread.php?tid=702) |
GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - juliancc - 2010-05-20 ** Updated: 3/14/2011 ** Latest Stable Version: 2.5.3 http://get-simple.info/extend/plugin/gsgallery-simple-image-gallery/85/ Google Code Project Page: http://code.google.com/p/gsgallery/ ISSUES? Please when posting a new issue here, make sure:
---------------------------------------------------------------------------------------------------------------------------- *Be sure once you download the plugin file to read the change log to see what has changed. I will be creating some sort of help document as soon I have some extra time. In the mean time, let me give you a quick reference: To install: - Unzip and upload the content of the plugin file into the "plugins" directory inside of GetSimple. - Once uploaded make sure that you have the correct permissions. I would set all the contents inside the plugin to 755 or higher. To use: - Upload some images to get simple using the file uploader tab - then go to the Image Gallery Tab and create a new gallery. - select the images you want to display in the gallery and put the corresponding captions - save the gallery and once in the list view, select the "CODE" and copy it. - now go to the page you want to see the gallery and edit it (Pages Tab) - paste the code you copied and save the page and you should be all set up. - go the the front end and double check everything is working as expected 2.5 Beta Features (How To) The new display function. Code: squareit_gallery($gallery_id, $return); With the new version of GSgallery 2.5 you will be able to use this display function to include galleries within your template, component, or if you are using the exec_php plugin. Params:
GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - maxpop - 2010-05-22 This does not work as it should. As soon as i installed the plugin all the body content text does not show up. If i delete the plugin the bodytext is showing, whats wrong? //Maxpop juliancc Wrote:**Decided to open a new forum topic since the other one was too big ** GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - tormac - 2010-05-24 I was not able to reproduce the error that maxpop has, though I have my own small issue :-) My gallery page is a child node ( 'company' page is parent of 'reference letters' gallery page ) - in such case urls for CSS, JS and images are invalid ( parent page address added in url ) - for a quick fix I've added leading '/' before each path echoes in squareit-gallery.php - but maybe you'll come up with something more flexible. apart from that - great plugin, thanks for sharing :-) GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - samrayner - 2010-05-24 tormac Wrote:I was not able to reproduce the error that maxpop has, though I have my own small issue :-) I second Tormac's request. I had to go through making all of the URLs absolute as I have Fancy URLs enabled so the relative paths point to the wrong place. Not a tough bug to fix but might stump some users. Cheers. GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - tormac - 2010-05-24 samrayner Wrote:I second Tormac's request. I had to go through making all of the URLs absolute as I have Fancy URLs enabled so the relative paths point to the wrong place. Not a tough bug to fix but might stump some users. Cheers. Code: $main_settings = getXML(GSDATAOTHERPATH .'website.xml'); these two lines allow getting site URL from config. I've put that variable ($SITEURL) on the beginning of each path related line and it works on each of my custom installations. Hope that will do the trick for you too GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - Zegnåt - 2010-05-24 Most of the time $SITEURL is already defined and you shouldn’t have to read the XML-file again, that will only slow the script down. Instead of the two lines you posted use this: Code: global $SITEURL; GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - tormac - 2010-05-24 hahaha I knew I would make a fool of myself ... Well if that would only be covered in plugin dev documentation ... ;-) but hey, for me that was like 2 lessons learned - how to read the config file ;-) and that I don;t need to do it ;-) GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - maxpop - 2010-05-24 Hi again.. Did a clean GetSimple install, installed plugin, still wrong with the page content not showing up!!!!! What am i doing wrong here? maxpop Wrote:This does not work as it should. GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - james_so - 2010-05-25 maxpop Wrote:Hi again.. Sounds like the same issue described & fixed here, turn on debugging and see if you get the same error message GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - juliancc - 2010-05-25 tormac Wrote:I was not able to reproduce the error that maxpop has, though I have my own small issue :-) Sorry for the late response. I've been slammed with work! Surprised no one found this issue before in the beta/rc releases. Thanks for finding it and I will try to implement the fix ASAP. I wish I had the time to write the documentation. I try to use the spare time to improve and fix the plugin. If anyone there wants to contribute and help me write an initial document it would greatly help. @maxpop can you enable debug mode and post any errors that get displayed in the page if any. That could help us find more infomation in your problem. Like james_so mentioned, it might be the issue with the call_user_func_array() function. That is if you are only using PHP 5.3.* GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - maxpop - 2010-05-26 this solved it, thx : admin\inc\plugin_functions.php on line 139: $data = call_user_func_array($filter['function'], array($data)); //Maxpop juliancc Wrote:tormac Wrote:I was not able to reproduce the error that maxpop has, though I have my own small issue :-) GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - sysse - 2010-05-27 I've installed the plugin and set up a gallery, but when I try to view it, all the images are missing, any ideas? GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - juliancc - 2010-05-27 sysse Wrote:I've installed the plugin and set up a gallery, but when I try to view it, all the images are missing, any ideas? You might be having the same problem as maxpop. Can you check your PHP version and see if it's 5.3.*? GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - sysse - 2010-05-28 My php-version is 5.3.2 GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - juliancc - 2010-05-28 sysse Wrote:My php-version is 5.3.2 Follow this link: http://get-simple.info/forum/viewtopic.php?id=737 since the problem you are having is related to that issue. GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - sysse - 2010-05-28 acctualy, I did that already, the problem isn't that no content is showing up, its that the path to the images are broken when I try to view it. GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - juliancc - 2010-05-28 sysse Wrote:acctualy, I did that already, the problem isn't that no content is showing up, its that the path to the images are broken when I try to view it. Can you post a link to your working copy so that I can take a quick look and see what some of the potiential issues. GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - sysse - 2010-05-29 http://sysse.se/getsimple/omoss/bilder there we go GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - Zegnåt - 2010-05-29 That’s an URL problem. The gallery seems to be using a relative URL to get to the admin directory. This makes your images being requested from here: Code: http://sysse.se/getsimple/omoss/admin/inc/thumb.php?src=Aequidens_dorsiger.jpg&dest=../../plugins/squareit-gallery/thumbs/thumbmed.Aequidens_dorsiger.jpg&x=125&y=125&f=1 Code: http://sysse.se/getsimple/admin/inc/thumb.php?src=Aequidens_dorsiger.jpg&dest=../../plugins/squareit-gallery/thumbs/thumbmed.Aequidens_dorsiger.jpg&x=125&y=125&f=1 GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - sysse - 2010-05-30 Thanks for pointing it out for me, however, I'm having trouble fixing the file, if someone could share their squareit-gallery.php, I'd be really glad GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - juliancc - 2010-05-31 Sysse, Issue has been resolved and committed to Google Code. You can find the latest copy of the file here: http://code.google.com/p/gsgallery/source/browse/trunk/squareit-gallery.php Thanks! GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - modulok30 - 2010-06-03 I have uploaded the new version of the plugin and changed the permissions to 755 for the new files. But when I go to the plugins tab in the admin section, I do not see the gallery link. Ideas? GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - juliancc - 2010-06-04 modulok30 Wrote:I have uploaded the new version of the plugin and changed the permissions to 755 for the new files. But when I go to the plugins tab in the admin section, I do not see the gallery link. Could you enable debug mode? Also if 755 does not work, try 777. I've seen that in some hosts 755 is not enough. GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - juliancc - 2010-06-04 sysse Wrote:Thanks for pointing it out for me, however, I'm having trouble fixing the file, if someone could share their squareit-gallery.php, I'd be really glad sysse, Yesterday I released version 2.01 of GSGallery. Be sure to download that version and let me know if it did solve your problems. GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - DLeader - 2010-06-05 new bugs: 1)delete "paginate" class in squareit-gallery.php (other way you can see only only 15 albums in list) 2)error in facybox i've fixed styles in "a" tag in lines 288 290 568 570. and changed for normal work 'rel=".."' to 'class="gsgimage"' + $("a.gsgimage").fancybox(); stabile version... alpha only |