Hello young chap!
login

WP plugin: ANIga gallery

This plugin is not working with Wordpress 2.5 - I will most likely not make an update anytime soon, as I am finishing my diploma and getting ready to travel through Asia for the next 6 months or so.

content

whats that?

ANIga (v0.50) is a picture gallery wordpress plugin. Its integrated in the WP posts system and uses the WP comments for pictures. This is an early release of this plugin. Some things might not work properly, some features are still missing. USE AT OWN RISK! I appreciate any feedback!

requirements

  • WP 2.3 (WP 2.0.4 for ANIga version 0.30); WP 2.5 is not supported so far.
  • ftp access to your server
  • GD 2.0+ and JPEG libraries compiled into PHP for automatic image resize
  • ‘’safe mode” off for zip upload

to-do

  • your requests?

features and demo

  • manage and order your pictures in nested albums
  • support for jpg, gif and png files
  • upload pictures in zip file without FTP, in folder with FTP or with a form
  • users can comment on each picture just like they do on posts (you can disable comments for albums)
  • move, edit, delete albums and pictures (mass edit mode available)
  • Add Picture Captions
  • Userlevel based permissions for Categories, Albums and Pictures
  • Multilanguage support (currently English - pot file included for your translation)
  • pages render w3 valid
  • pictures link either normal, as JS pop-up or with lightbox (if you have it installed)
  • automatic thumbnail creation (square thumbnails with refelctions optional)
  • layout by theme templates
  • navigation with thumbnails
  • javascript slideshow
  • you can find a demo of this gallery either on this site or at http://aniga.animalbeach.net (with the default WP theme)

screenshots


manage albums

manage pictures

edit album

insert pictures

installation

see readme included in the package

update

see readme included in the package

how to use this plugin

coming soon

support

As the comments on this site become more and more every day, i decided to set up a support forum for ANIga. There you can post your questions or you can try to contact me on ICQ (48047550) or MSN (damn_you_hotmail@hotmail.com). I will try to help you as soon as possible!

version history

  • 05.10.07 — v0.50 features: data structure rewritten, square thumbnails with reflections, nested albums with custom order, better file handling, various fixes and enhancements
  • 24.04.07– v0.31fix compatibility fixed: works now (only) with Wordpress 2.1.3
  • 11.08.06 — v0.30 bug fixed: update permalink structure when updating Cat/Album. features: support for gif/png, mass management for pictures, Level based permissions, Picture Captions, Bulk upload, w3 validation, JS pop-up or lightbox support, multi language support, theme templates without much code and some smaller enhancements
  • 28.07.06 — v0.26 bug fixed: insert in db.
  • 29.06.06 — v0.25 bug fixed: version tracking, zip upload disabled for ‘’safe mode” on feature: send trackback added, delete pictures from filesystem
  • 29.06.06 — v0.20 feature: javascript slideshow added
  • 27.06.06 — v0.18 bug fixed: table prefix comments db.
  • 26.06.06 — v0.17 bug fixed: re-enable plugin creates ”photography” again
  • 25.06.06 — v0.16 feature: upload for pictures in zip archive added
  • 23.06.06 — v0.13 feature: create album/category images automatically; change thumbnail-columns by an option; image and the prev/next images stay fixed for optimal viewing
  • 23.06.06 — v0.12 bug fixed: error message added if submitted Picture directoy is not valid.
  • 23.06.06 — v0.11 bug fixed: now works with every permalink structure
  • 22.06.06 — v0.1 inital release

download plugin (zip file)


Friday, 23.06.2006 at 2:18 by naabster | comments | trackback

114 Responses to “WP plugin: ANIga gallery”

  1. […]   ANIga gallery,相册插件,更倾向于把WordPress变成一个可以留 言的相册。 gallery […]

  2. nico says

    habe einen fehler gefunden, der gefixt werden sollte…

    falls man bei der wordpress installation ein anderes datenbank präfix als wp_ beutzt gibt es einen datenbankfehler… falls wp_comments zb 00_comments heißt kommt der besagt datenbankfehler… kan man aber leicht händisch umschreiben falls nochjemand diesen fehler hat wie ich.. in der funktions.php von aniga einfach alle wp_comments mit zb 00_comments ersetzen! vielleicht bugfixt du das ja mal!

    ansonsten ein sehr gutes plugin! bin shcon lange auf der suche nach soetwas, da ich genau diese funktionen benötige! und vorallem schön automatisch funktioniert!
    mfg
    Nico

  3. naabster says

    Hallo,
    das habe ich wohl übersehen.. Habs schnell behoben und eine neue Version draus gemacht. zum update einfach alle dateien im plugins folder überschreiben und das plugin nochmal aktivieren.
    cheers

  4. dave says

    For some reason the tab at the top of the dashboard no longer is visable, i have your plugin activated, and it was showing up earlier, but suddenly its not there. Any ideas?

    thanks

  5. naabster says

    are you logged in as an admin? if the plugin is working, but you dont see the tab, that might be the reason.
    You need admin rights for this plugin.. maybe I will add an option to override this in the next release.

  6. Joonas says

    I downloaded ANIga 0.18, and installed it succesfully, but it keeps telling me that it is version 0.17 :) Can’t wait setting up first gallery…

  7. aRAY says

    i install your plugin, and active it,
    when i logged in as admin,and click the aniga tab,the page show the error
    ”The specified CGI application misbehaved by not returning a complete set of HTTP headers.”

    can u tell me the environment of your plugin worked on,my server is based on IIS6+php4(wiht GD2 supported)+mysql4

  8. naabster says

    Joonas: just download the plugin again and reactivate it. If it is still showing your old version you need to delete your WP cache.
    aRAY: I am running php 4.4.1 on apache with mysql 4.0.23 on a Linux system. I also tried it on a local WinXP system with php 5.1.1 and mysql 5.0.18. I dont use any cgi in this plugin.

  9. aRAY says

    i have tested on the localhost, based on IIS5.1+PHP4.4.2+Mysql4.0.23

  10. aRAY says
  11. naabster says

    I am sorry, but i dont know why this error raises up.. I think it is your installation, but i dont know IIS and have no way to test this plugin on an IIS system.
    your php and mysql versions should be ok though..

  12. aRAY says

    thanks a lot,
    i think it’s my installation problem :razz:

  13. Jaxia says

    This is a great plugin! Keep it going :)

    Would it be hard to add the ability to add a caption to each photo and have it display above or below the image?

  14. vice says

    This plugin looks great, except I can’t seem to create a category and album. I’m on Win2003+IIS 6.0+MySQL5.0.19+PHP5.1.4. What happens is this: I make my first category - everything appears to work, it says Category created, but when I go to create my first album there isn’t a category in the drop down list. I can even see the category pic (when I browse to the folder I uploaded when I created the category. I checked the permissions (hoping I did that right), what else should I be looking at?

  15. naabster says

    I think the plugin might not be installed correctly. try to re-activate it and check if there are three new tables in your database and a new WP page called “photography”

  16. Jaxia says

    Other things I’d like to see?

    - role based permissions so I can have choose who gets to see certain galleries

    - The ability to set more than one folder as the upload folder. My server only allows one person to use a folder, so when I am trying to use your plugin on a site with multiple authors, it makes it hard

    - And the caption per image I mentioned above :)

    Thanks again for sharing this plugin!

  17. achtundsiebzig. says

    nacht.
    eine kurze frage:
    ich beabsichtige, dieses plugin einzusetzen, bin mir aber noch nicht sicher, weil ich noch nicht ganz verstanden habe, wie es arbeitet. legt es für jeden einzelnen eintrag eine POST oder eine eigene PAGE an oder ist es was ganz anderes?
    Ich bin nämlich auf der Suche nach genau diesem plugin, falls es das macht. (Also jedes foto ein eigener post in wp, jede kategorie auch eine kategorie in wp.)

    danke schonmal,
    max.78

  18. boy ms says

    Hello, I have question…your gallery is best way for me, but I would like to make that if I click on thumbnail so I get to original picture…not to the normal_picture. Thank for answer ;-)

  19. naabster says

    achtundsiebzig: das plugin legt für categories und alben eine neue page an, die fotos gehören zur album-page. Ich habe es mal probiert, pro foto eine page zu machen, aber bei 3500+ fotos geht wordpress langsam in die knie..

    boy ms:
    change in gallery-picture.php in line 245 from

    < ?php echo $picture->path . ‘normal_’ . $picture->filename; ?>

    to

    < ?php echo $picture->path.$picture->filename; ?>

    you also may need to adjust the stylesheet..

  20. boy ms says

    Thank, but I mean that it show me picture like I click on normal_picture - with normal URL http://mysite.com/something/something.jpg, not with http://mysite.com/?page_id=15&pid=14#picture_nav .. I need it because I want to use lightbox with your gallery

  21. naabster says

    change in gallery-picture.php in line 143 from

    path.$gal_pic->filename; ?>”>
  22. boy ms says

    Wow, thanks a lot mate! :grin:

  23. boy ms says

    Can I have yet one more question? How disallow function which add new page when I create gallery category and album?
    Thank :grin:

  24. boy ms says

    Strictly speaking I mean that it show me albums and categories in menu…I would like have in menu only link to gallery

  25. naabster says

    sorry, but this plugin is based on WP pages, so if you disable this, no more thumbnails and pictures can be displayed..
    But you can hide the categories and albums if you set wp_list_pages(’title_li=<h2>Pages</h2>&depth=1′) in your sidebar template.

  26. achtundsiebzig. says

    mhm…
    ich hab nochmal drüber nachgedacht…. eigentlich suche ich nur ein plugin, was mir aus den bilder in einer zip pro bild einen _post_ macht…
    hast du vielleicht noch die zwischenschritte aus deinem versuch? wenn man da den ganzen anderen kram rausnimmt, hätte ich ja eigentlich schon, was ich suche.
    aber was meinst du mit “in die knie gehen”? im endeffekt wären das doch nur ein haufen post, die halt ein imagetag enthalten - was für probleme könnte wp damit haben?

  27. Jordan says

    When I try to insert a picture (using either the “picture already uploaded” or the “upload a zip file” method), I get an error that displays the directory of the files and says “.. not allowed !!”. I looked at the code and it looks like the “if” statement that causes this error is when the file can’t be automatically resized for whatever reason; however, I turned off the “auto resize” option in the ANIga options tab, and it still produces that error. Anything else that could be causing it? I’ve also checked the CHMOD’ing and directory paths on everything.

  28. naabster says

    78: leider hab ich das nicht mehr.. Bei mir gab es das problem, dass WP recht langsam geworden ist, weil es bei jedem seitenaufbau erst mal die ganzen pages rausfiltern muss. besonders schlimm war es, mit der page-list function auf der sidebar, wenn ich dabei die picture pages rausgefiltert habe.
    Aber das muss ja nix heißen, vielleicht lags auch an was anderem.. ich würds mal probieren..

    Jordan: it looks like you are trying to insert a non-jpg picture. only jpg pictures are supported so far, other filetypes will be possible soon..

  29. boy ms says

    Thank I realize it…so I hope that this is my last question :lol: : How make that function last photos show in my sidebar pictures (again thumbnail -> original picture) not only links?

  30. wolfgang says

    Ich habe irrtümlicherweise den photography ordner gelöscht, und irgendwie ist aniga jetzt durcheinander, und ich kann mir keine galleries mehr anzeigen lassen, da ja die “referenz” darauf fehlt. wie bring ich aniga wieder in den “auslieferungszustand”? hab leider keinen direkten datenbankzugriff. gibts irgendwo einen schalter, damit die ganze install-prozedur nochmal durchläuft? oder welche tables müsste ich dafür “droppen”? wär schade, wenns nimmer läuft, weil ich mochte es gern. was mir einzig abgeht, ist eine kombination aus “versteckten” oder passwortgeschützten bereichen, damit ich zb urlaubsbilder nicht zu offensichtlich so nebenbei auf eine private, aber eher technisch gehaltene seite stellen kann.
    tolle software!

  31. naabster says

    wenn du nichts in der datenbank gelöscht hast, ist es am einfachsten, du machst den ordner wieder neu (inkl. 00-gfx ordner und chmod777) und löscht danach die bestehenden alben und categories. Danach müsstest es wieder funktionieren, aber du musst natürlich die alben und Bilder neu machen..
    Ansonsten musst du die tables wp_anigal_picture, wp_anigal_album und wp_anigal_categories droppen. Außerdem den Eintrag “anigal_base-id” im wp_options table. Danach das plugin neu installieren und aktivieren.
    Aber eigentlich müsste die erste Variante auch funktionieren.

  32. neil says

    Hi,
    I am trying out your gallery on a local windows xp system.
    I appear to create everything OK-CATEGORY,ALBUM,PHOTOGRAPHY page. I also see the images in my photo folder but I do not get any images showing up on the Wordpress pages created??
    Any advise would be appreciated.
    :???:

  33. naabster says

    you have to use the template files in the package and copy them to your theme folder. either adjust them to your own layout or switch to the default theme..

  34. neil says

    Hi naabster,
    That fixed the problem-missed that bit!!
    Another question-is it possible to get as version of the animalbeach template as this works very well with the ANIGA gallery plugin :smile:

  35. Anonymous says

    hi naabster,

    ur plugin is really great… but is it a way to set a category for the random funktion :grin:

  36. michi says

    hi naabster,

    ur plugin is really great… but is it a way to set a category for the random funktion . would be great if u can give me a tipp how i can do that
    (sorry forgot my name)

  37. Hello Michael.

    First of all thank you for your wonderfull work, you have created a neat plug-in. I am trying it here: news.mactep.name, thouhgh one thing is missing is a possibility to add description to the photo. Perhaps, I have missed it since I have added photos to the gallery by uploading them to the server.

    Is there a way to ad a name (and/or description) to each photo and then display those alonside with the name of the Album?

    Thanks in advance for your help.
    Sincerely yours,
    Boris (a.k.a. mactep)

  38. boy ms says

    Please can you answer me? On my question ^^

  39. Lordfavor says

    My problem same as Boy MS, we have change
    to normal URL http://mysite.com/something/something.jpg, not with http://mysite.com/?page_id=15&pid=14#picture_nav… but we using custom permalinks, and when try to click gallery on side bar, the pages 404 not found. :sad:

  40. MajusC00L says

    Hi There

    Two quick questions. I have the same problem Dave had. The Aniga Button disappeared from the Dashboerd. It was there before I installed Role and after I successfully installed the latter, Aniga was not showing anymore. I’m the only user for now and I have all the admin rights. I iuninstalled and reinstalled all plugins in different manners but Aniga won’t show up any more. :oops:

    Second question. My internet provider provides very good database, mysql, php and event coffee if I want too, but it won’t let me CHMOD higher than 700. Do you reckon that would prevent me from using your plugin ? It would be a bummer since it seems to exactly what I need.

    I’m testing the whole thing on zer0kelvin.free.fr/frontonnais/ for the moment.

    Thanks in advance for your help.

    MajusC00L

  41. naabster says
  42. QE says

    Easy Lightbox integration:
    go to (forgot to get line number)

    
    			
  43. rich says

    Hello,

    I installed your plug-in and it worked great. i deactivated the plug-in and deleted my old test photo pages and subpages. When i tried to re-activate the plug-in, the ANIga options settings would not let me change the “ANIga gallery name:
    page title of gallery index page:” I will enter a name and update it, but everytime i update it, it does not show in the box. It does not show up on my live site even though the ANIga backend shows all my gallery categories, album, and pictures. Please help! Thanks

  44. naabster says

    hi rich.. make a new page for your gallery (manually; page template gallery-index.php) and remember the WP Id of this page.
    now you have to insert this id on the options page below the gallery name. After that you have to adjust the parent relationships with the category pages and this new gallery index page on the normal WP manage page screen.
    Now you should be alright again and be able to change the name on the options page.
    Remember to delete gallery pages only from the gallery managment screen, otherwise you will mess the hole thing up..

  45. rich says

    hello again,

    thanks for the quick reply. so i got my gallery page name on the options page to work properly as well as my album pages but my main gallery page doesn’t show the different albums that i created. how do i change the page template to gallery-index.php manually. the only options i receive in the dropdown menu for page template are “default” and “links.” is there a different way besides the dropdown?

  46. rich says

    oh hey, i figured it out. i used my default theme to correct the problem with choosing the template and switched back to my new theme. thanks

  47. MajusC00L says

    Hi Naabster

    Just to let you and the others know that in order to make the ANIga button reappear in the WP Backend, one shall send me a lot of money :cool: Seriously, the ANIga must be deactivated in the plugins area and then, you have to manually go and delete the three ANIga SQL tables and all ANIga entries in the wp_options table.

  48. MajusC00L says

    … and, of course, reactivate :razz:

  49. organ says

    I don’t know how to do it.
    it show an err.
    Warning: imagejpeg(): open_basedir restriction in effect. File(/public_html/gallery/00-gfx/cat_3.jpg) is not within the allowed path(s): (/home/animegir:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/animegir/public_html/wp-content/plugins/ANIga/functions.php on line 69

    Warning: imagejpeg(): Invalid filename in /home/animegir/public_html/wp-content/plugins/ANIga/functions.php on line 69

  50. QE says

    Two things,
    How did you get your Random Gallery Images to show horizontally,, I really need to do that.
    Secondly…
    For those who want WP-Light box functionality here is a copy of gallery-picture, remember to adjust for your theme.
    jeffreymorris.net/gallery-picture.phps

  51. wolfgang says

    danke fuer deine schnelle antwort! finde toll, wie du dich um deine user kuemmerst. wahnsinn.

  52. george says

    i have this error “error: ‘http://www.jorgeypaty/gallery/playa/’ is not a valid directory please check your directory structure!”
    thanks,, how waht we do?

  53. mike says

    hi i get the err when i try to put phots in error: ‘http://localhost/wordpress/wp-content/galleryhttp://localhost/wordpre ss/wp-content/gallery/’ is not a valid directory
    please check your directory structure! can you help

  54. jules says

    I have the same exact promlem as mike… i’ve chmod 777 everything.. doesn’t seam to help

  55. fjulle says

    hey
    i think i have the same problem as neil, but i have uploaded the theme files. Theres no thumbnails and no pictures shown even though they are uploaded and i can see them if i write the direct adress.

  56. danny says

    hi,
    i’m having the same problem as george, mike, jules and fjulle. “…is not a valid directory…” is there a solution?
    thanks!

  57. fjulle says

    ups, ive found the mistake i made :D

  58. glenn says

    what mistake did you make? i’m having the same problem “not a valid directory
    please check your directory structure!”

  59. David Rad\ says

    Other than having to change permissions (CHMOD) on all the folder and the cumbersome nature of unzipping via ssh - Installation has been a breeze. And, compared all all the other “image” plugins for WP, yours is by far the simpliest for all the powerful features. Two errors concern me:

    The first is when uploading my zipped images to the folder as per “Insert Pictures” menu. After trying all the other “unzipping” methods listed in the “Options” menu, I reverted back to what ANIga suggests which is the ” m_zip library for .php files” I still get the errors below: (BTW, the images seem to have been successfully uploaded and processed though)

    ################

    processing your files…

    Notice: Undefined index: /usr/home/josepha/www/gallery/album2_1/catskill-mnts-saugertiesWEB.zip in /usr/home/josepha/www/wordpress/wp-content/plugins/ANIga/m-zip.php on line 208

    Notice: Undefined index: /usr/home/josepha/www/gallery/album2_1/catskill-mnts-saugertiesWEB.zip in /usr/home/josepha/www/wordpress/wp-content/plugins/ANIga/m-zip.php on line 211

    Notice: Undefined variable: m_zip_fileHandle in /usr/home/josepha/www/wordpress/wp-content/plugins/ANIga/m-zip.php on line 301

    Notice: Undefined variable: m_zip_fileHandle in /usr/home/josepha/www/wordpress/wp-content/plugins/ANIga/m-zip.php on line 301

    Notice: Undefined variable: m_zip_fileHandle in /usr/home/josepha/www/wordpress/wp-content/plugins/ANIga/m-zip.php on line 301

    Notice: Undefined variable: m_zip_fileHandle in /usr/home/josepha/www/wordpress/wp-content/plugins/ANIga/m-zip.php on line 301

    ..done

    ######################

    the other more concerning issue has to do with MySQL errors when trying to “Manage Pictures…” below:

    ######################

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1]
    SELECT * FROM wp_anigal_album WHERE wp_id=
    Manage Pictures for Album ”

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ORDER BY filename’ at line 1]
    SELECT pid, path, filename, width, height, hits FROM wp_anigal_picture WHERE alb_id= ORDER BY filename

    ############################

    I don’t remember any sql installation as per the ANIga instructions.

    Please advise. Thanks again for a VERY useful app!

    Regards,

  60. David Rad\ says

    One problem that I resolved was messed up paths due to the incorrect addition of “00-gfx” within “http url to picture gallery” option in the “Options” tab, e.g. http://saugertiesbedandbreakfast.com/gallery/00-gfx/. That wrong url was written to the database (wp_anigal_picture) when I created the new categories and allbums. So I had to go in the database and remove the trailing “00-gfx/”.

    Just in case soemone else makes the same mistake :???:

  61. […] I finally found a plugin i liked for Wordpress and while its not perfect, it is a great one, the best i have seen to date. Since wordpress was built for writing and not photo displaying, the plugin is a hack and it uses its own db table to keep track of where the photos are and when to display them (i think, i need to play with it a bit more). It uses the existing Pages design to display the pics in a post type manner while maintaining the gallery feel. The website i found it at is http://www.animalbeach.net/aniga/ and i love the layout. You can view my new galleries and its contents here. As you can see i don’t have too much in it yet but from the looks of it, you can organize it into catagories, then albums. When you get into the actual album you can view by thumbnails or by slideshow. The slideshow is pretty slick but it uses a Microsoft protocol so when used in other browsers that emulate it, the slideshow can be a little choppy, like i said, the plugin isnt perfect. All in all the plugin was pretty easy to use with the default theme, but when adapting it to the current theme took a little time. I think it turned out nice with some modifications i made. I also installed the FlickrRSS plugin which allows me to preview the first 1 to 5 images in my album over at Flickr on my site. The overall modifications are not blaringly noticable but does add some flavor that i have been meaning to do for a while. […]

  62. Anonymous says

    hey naabster,
    i have a strange problem with your awesome plugin…everything seems to be working fine, admin working, ive got the pages and no errors or anything. the problem ist, that there are no photos shown on the pages. there is just the heading and thats it. although i uploaded some pics and they they show up on the admin screen and there are thumbs and normals created in the folder. do you have an idea what the problem could be?
    fry

    btw: i love your site layout/design!!!

  63. Exter says

    Cant activate the plugin because it dont showup in the plugin list.

    And yes I uploaded all files to the correct folders

  64. boy ms says

    Hello, that’s me again :lol:…today I almost finished my new weblog and I try to upload category image…but it write me this….permissions I have all right….maybe the problem will be that I have safemode-on on my server….thank

    Warning: imagecreatefromjpeg(): open_basedir restriction in effect. File(/tmp/phpxyMhPU) is not within the allowed path(s): (/web/cardesign21.com) in /var/data/web/cardesign21.com/wp-content/plugins/ANIga/functions.php on line 44
    
    Warning: imagecreatefromjpeg(/tmp/phpxyMhPU): failed to open stream: Operation not permitted in /var/data/web/cardesign21.com/wp-content/plugins/ANIga/functions.php on line 44
    
    Warning: imagesx(): supplied argument is not a valid Image resource in /var/data/web/cardesign21.com/wp-content/plugins/ANIga/functions.php on line 45
    
    Warning: imagesy(): supplied argument is not a valid Image resource in /var/data/web/cardesign21.com/wp-content/plugins/ANIga/functions.php on line 46
    
    Warning: Division by zero in /var/data/web/cardesign21.com/wp-content/plugins/ANIga/functions.php on line 49
    
    Warning: imagecreatetruecolor(): Invalid image dimensions in /var/data/web/cardesign21.com/wp-content/plugins/ANIga/functions.php on line 56
    
    Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /var/data/web/cardesign21.com/wp-content/plugins/ANIga/functions.php on line 57
    
    Warning: imagejpeg(): supplied argument is not a valid Image resource in /var/data/web/cardesign21.com/wp-content/plugins/ANIga/functions.php on line 69
    
    Warning: imagedestroy(): supplied argument is not a valid Image resource in /var/data/web/cardesign21.com/wp-content/plugins/ANIga/functions.php on line 70
    
    Warning: imagedestroy(): supplied argument is not a valid Image resource in /var/data/web/cardesign21.com/wp-content/plugins/ANIga/functions.php on line 71 
  65. naabster says

    QE: thanks for that, i will integrate this in some way in the next release..
    for the horizontal picture display in the random image function i use this function call:

    
    < ?php anigal_show_rand_img('
    
    ‘, ‘‘, 3); ?>

    organ: It seems that you have some base_dir restrictions configured.. it may be because of safemode on? try to disable the automatic image resize..

    george & mike & jules & danny: maybe your absolute path is incorrect? Its not a URL!

    fjulle: remember to put the template files in your theme folder!

    David Rad\: actually, the mysql tables should be created on activation.. there should be 3 new ones.. if there are no new tables in your db, you can try to create them manually according to the anigal_install () function in aniga_gallery.php
    Well I am also not very happy with the zip upload function.. But i dont have so many different testing enviroments.. so actually i have no idea whats this about.. sorry - but if you find out more please let me know!

    Anonymous (fryshaus): you have to copy (and adjust) the template files to your theme folder!

    Exter: now thats a strange one! If there are other plugins working for you, i dont know whats up. Maybe the file was corrupted on upload..

    boy ms: yes, that should be the problem. right now I have no support for safe mode on and file resize.. you should disable the automatic thumbnail creation option and provide the thumbs manually..

    Hope all of you can get this little bugger running!

  66. Hentaikid says

    Cool plugin. One small thing, when it says you should install the role management plugin and add a role called “photography” it should read “capability” not role

  67. matt says

    i have the same problem as george, mike, jules, & danny. i cannot seem to get around the “not a valid directory please check your directory structure!” error message. i’ve checked my absolute path against what my host says my absolute path should be, and it’s correct. i have included the / as required. it get the error whether i ftp the files in or move them in via zip.

    what gives???

  68. naabster says

    this error only occurs if your absolute path is not correct. to get your absolute path make a php file (called test.php or whatever) with this content

    < ?php
    echo $_SERVER['DOCUMENT_ROOT'];
    echo $_SERVER['SCRIPT_NAME'];
    ?>

    and upload this in your gallery folder (eg. ../blog/gallery/ )
    Point your browser to this file. Your absolute path is what’s printed, except the filename (test.php).
    For example, if you receive:

    /www/htdocs/1234/blog/gallery/test.php

    your absolute path would be

    /www/htdocs/1234/blog/gallery/

    If you receive a path with “\” change them to “/”. And dont forget the last “/”
    and your http path is

    http://www.yourdomain.com/blog/gallery/
  69. fry says

    hey naabster,
    thx 4 the fast help! worked!

    my suggestions for improvement: option for lightbox support or not and easy way of adding pics from the galleries in actual post on the blog-mainpage with link to either the album, picture, or lightbox. i mean a little button on top of the edit area, where u can choose ur album/pic with preview and so on…
    still a great plugin without that though!
    keep it up^^
    fry

  70. organ says

    naabster: how to turn off safemode?

  71. leifg says

    ich probiere das plugin gerade aus (ungefähr das 10. gallery plugin für wordpress das ich teste)

    ich habe das gleiche problem wie bei mygallery:
    wenn ich das resizen ausschalte, werden alle bilder zum album hinzugefügt aber ich habe keine thumbnails

    wenn ich das resize anschalte, werden ungefär ein drittel der bilder angelegt und viele davon haben auch kein thumbnail

    ich bekomme beim generieren keinerlei rückmeldung wie weit das hinzufügen schon fortgeschritten ist, was mache ich falsch?

    safe mode ist an, sollte aber keine probleme machen, da ich ja nicht aus archiven hinzufügen will.

    das ganze passiert mir unabhängig auf 2 web-spaces (strato und rhs-it)

    mfg
    leif

  72. fry says

    @leifg: ich hab zwar nicht soo die ahnung, aber könnte daran liegen, dass deine spaces nur ne begrenzte zeit haben um scripte auszuführen. da gibts irgend ne variable für in der php.ini glaube ich. strato kannste sowieso vergessen…wieviele bilder willst du denn resizen? vielleicht sinds ja zuviele auf einmal. versuch doch mal in kleineren häppchen. aber keine ahnung, kann auch sein, dass ich grade mist erzähle.

    @naabster: just to let u know: i modified the “IImage Browser”-plugin by malyfred in order to kind of interact with ur gallery and now I can insert pics from the gallery into posts very very easily either as thumbs or normals and with lightbox support. and the plugin has got very very much potential to achieve even more in conjuction with your gallery. if you want to, i can send u my modified version, and u cld ask the author if you can use it in your plugin. just a suggestion ;)

    @anybody who is interested: just drop me a mail (fry at fryshaus dot de)and i can send u the modified files.

    ps: you will not find the gallery in my page yet, as im currently working on my all new weblog, where i am going to use it.

  73. […] Res je blo že cajtno,… iskal in iskal sem pravo zame (oziroma za naju). Imenuje se ANIga, ne ponuja vsega kar sem želel, vendar bo zadostovala (dobro bi bilo, če bi omogočala dodajanje fotografij v moje objave, česar pa ne,… bom poskušal pa pokombinirati s kakšnim drugim Vtičnikom). […]

  74. fede says

    sorry, this plug in is wonderful for me. but whn I active it, my site run very slow. how can I solva this problem? tanks

  75. Matt says

    Hi!

    I just installed this plugin and I couldnt get it to work. Whenever I tried to create a category it said that the category was created but the database was empty.
    I looked in the code and I think I found the problem. Since you are using auto increment in both category and album, I dont understand why you have those columns in the INSERT statement so I removed them in both anigal_sublevel_category() and anigal_sublevel_album() and now it works. Well, works better since I cant add any pictures but I get to that later.

    BTW, I use IIS and php 5.1.1 and mysql 5.0

  76. Aca says

    nice plugin… works like a charm :razz:

  77. […] ANIga Gallery 這個plugin是用來管理圖片的,包括上傳檔案, 過目前好像不能直接與Editor直接整合整合度: OK中文化: 沒找到安裝難易度:簡單 […]

  78. naabster says

    organ: you have to turn off safemode in your php.ini - if your webserver is hosted, you should ask your hoster.

    leifg: Ich denke fry hat recht, die scripte laufen wohl zu lange (zu viele bilder, bzw. zu große dateien zum verkleinern). aber mit einzelnen häppchen sollte es besser funktionieren.

    fry: thanks for your help! I will try to integrate this in the next release.

    fede: I have never experienced this before.. maybe there is am interference with another plugin. Could you send me a list with your active plugins per email?

    Matt: thanks for this advice.. i need to get through the code again. it is still pretty messy..

    Aca: thanks ;-)

  79. Sam says

    Hey, can you make it so the Gallery description shows on the gallery page not just on the general overview?

    Also it would be cool to be able to make comments about each picture that would show up on mouse-over

    great job on a wonderdul plugin

    Sam

  80. fabio says

    Hi! Great plugin! Works fine at my desktop machine but when i put it on a webhosting provider receive this error:

    Warning: main(): Unable to access ANIga/functions.php in aniga_gallery.php on line 250

    Warning: main(ANIga/functions.php): failed to open stream: No such file or directory in aniga_gallery.php on line 250

    Fatal error: main(): Failed opening required ‘ANIga/functions.php’ (include_path=”) in aniga_gallery.php on line 250

    Anybody may help? :smile:

  81. naabster says

    fabio: did you upload the function.php file?

  82. […] What took me so long? Ik wou ze met Photon en PhpWebGallery online zetten, maar ik kreeg de 2 niet onmiddelijk aan het samenwerken. Daar kwam nog eens bij dat ik dan nog een PhpWebGallery template moest maken. Nu gebruik ik ANIga Gallery. Die lijkt het wel te doen, al ben ik nog een beetje bezig om het in mijn theme in te passen. […]

  83. David says

    Hi, Thanks for sharing this plugin! It looks to be exactly what I need. However, I am having a problem linking to my photo galleries. I have made the corresponding albums and categories, and have uploaded photos by http://ftp. All folders are chmodded to 777. When I try to insert pictures using the “pictures already uploaded by ftp” option, I receive the following error:

    error: ‘http://www.45sur.com/(my path here)’ is not a valid directory
    please check your directory structure!

    I have checked and rechecked the structure! Everything is spelled correctly, modded correctly and the path should go right to the corresponding gallery.

    Any thoughts or suggestions?

    Thanks!

  84. Doug says

    Hi naabster, congratulations and thanks for share this great plugin, when upload any image in category or album, this message appear
    “Warning: imagejpeg(): Unable to open ‘/home/graphosp/public_html/xplorer_weblog/gallery/00-gfx/00-gfx/album _2.jpg’ for writing in /home/graphosp/public_html/xplorer_weblog/wp-content/plugins/ANIga/fun ctions.php on line 69″
    After check te php.ini and CHMOD i don’t know whats the problem.

    Thanks

  85. David says

    Ok, I fixed the problem by reinstalling the plugin. Things seem to be working now :) Nice job and thanks again!

    BTW, still having a small problem but will try to figure it out. In the Category directory, one of my thumbs appears on the left (as I want it), but the next one appears on the right. I want them all alligned on the left. I’ll study the situation a bit more, but if you’ve got a suggestion I’ll take it ;)

  86. naabster says

    Doug: i think your absolute path is wrong. try it without “00-gfx”, eg. “/home/graphosp/public_html/xplorer_weblog/gallery/”

    David: you can adjust this in your template files or in your gallery-css file, its more a layout thing..

  87. Marne says

    Thanks for making this plug-in!
    I only have a problem: the pluging is installed, and I can create an album.
    But when I look at the album, posted on my weblog, I can’t see the pictures!
    What am I doing wrong?

  88. David says

    Thanks naabster, I figured it out and have everything working. I left a message at the WP forum, but I’ll write here as well that I think it would be great if you could add a function to name and describe each individual photo and have this information popup on hover over image. That would be a highly useful addition ;)

    Marne - make sure you put the gallery-template and css files in the folder of the theme you are actually using (ie, not the default theme folder if you aren’t using the default theme). They should appear after you do that, but you may have to modify a couple of files to adjust the look of the gallery to your page. I made changes to the gallery-style.css and the gallery-picture.php files to adjust the allignment, padding, etc of thumbs and pictures to achieve what I wanted.

  89. Marne says

    David- The gallery-template and css file were already in my theme folder.
    I’m going to re-install everyting, because it did work the first time!

  90. John says

    I keep getting this error on the main page.

    WordPress database error: [Table ‘jharrisdesigns.anigal_categories’ doesn’t exist]
    SELECT wp_id, cat_id, description, name, count_pics, count_albs FROM anigal_categories ORDER BY cat_id ASC

    Also, whenever I go to the options page I get a list of errors. Any ideas on what I screwed up?

  91. John says

    My apologies….I realized that I was not running an up to date wordpress. I updated and everything runs beautifully.

    Thanks again….great plugin

  92. jmclemens says

    trying to add your picture gallery to my pages, install seemed fine, created the gallery and album no problem, when i go to insert pictures it tells me my file path is invalid… i check and recheck the path is correct i can even browse to the path in IE.. just for the heck of it i chmoded all the picture gallery folders to 777 incase that was an issue still saying invalide file structure.. what gives?

  93. David says

    jmclemens: I had a similar problem and resolved it by removing the plugin from the server and then re-installing it. After that, it worked fine.

  94. Stefan says

    Hallo,
    das Gallery Tool ist erstklassig genau was ich gesucht hab. Erstmal großes Lob. Und jetzt natürlich meine Fragen. Das Problem ist das er ich gerne in der Navigation die Untermenüpunkte ausschalten würde. Es soll einfach nur z.B. “Gallery” dastehen und nicht noch die Untermenüpunkte.

    Wäre super wenn du mir am besten per eMail kurz mitteilen könntest wo ich das am besten ausschalten kann. Navigieren können die Personen ja dann wenn Sie auf den Hauptmenüpunkt klicken.

    Zweistens noch einen Wunsch, evtl. hast du den schön öfter gehört: Wäre super wenn in Zukunft auch die Möglichkeit wäre das man einzelne Bilder hochladen kann oder Bulk-Upload das man z.b. 10 Bilder auswählen kann. Da leider nicht jeder so fit ist diese zu zippen und hochzuladen. Hintergrund möchte der Familie die auf der Welt versträut ist die Möglichkeit geben Bilder hochzuladen und ich FTP sollen die am besten nicht bekommen da die sonst was zerstören und ich glaube von denen würde nicht jeder schaffen seine Bilder zu zippen.

    Das wars, ansonsten natürlich perfekt gemacht.

  95. Stefan says

    aaah. und noch was, was toll wäre wenn man auch noch zu jedem Bild einen Text schreiben könnte was das Bild zeigt.

  96. Edo says

    Hey Stefan, ich hab genau das gleiche Problem wie du. Hast du schon eine Lösung?

  97. Jan says

    Hi!
    In the configuration I have to insert the relativ path. But what shall i do if I have a windows server with this path: D:\WWW_myWEB\gallery\

  98. naabster says

    change “\” with “/” and it should be working

    -> “D:/WWW_myWEB/gallery/”

  99. michi says

    hi naabster,
    danke für den tipp ” randomfunktion nach kategorie filtern”
    hat leider ein punkt gefehlt bei mir siehts jetzt so aus

    WHERE “.$wpdb->anigal_pic.”.alb_id = “.$wpdb->anigal_alb.”.alb_id AND “.$wpdb->anigal_alb.”.cat_wp_id=’type cat here’

    gr michi

  100. lellie says

    This looks fantastic.. I hope I can get it working.. It would be great if there was an easy way to add an image to a post from the gallery..

  101. naabster says

    michi: gut dass es trotzdem funktioniert, habs glaub ich gar nicht ausprobiert :)

    lellie: this will be part of the next release (coming soon, i hope), but take a look at fry’s comment, he suggests a way to do this.

  102. jeroen says

    Hi,
    I am trying to install your plugin version 0.25 on my computer. It is activated, and I am trying to create a categorie. Although it says it has created it, it seems to have failed, because I cannot choose a category when I want to create an album.
    I am using wordpress 2.0.3, apache 2.0.55, php 5.1.1 and mysql 5.0.16
    Can you point me in the direction where to look to fix this? Thanks

  103. Brandon says

    Hello David,
    Great plugin, it’s working great.. I do have a question about renaming the the gallery.. I set it to be Gallery, but the url still shows site.com/photography/ any idea where I can edit this ? I’ll look around.. thank you.. again great plugin, works great ;-)

  104. maik says

    nice but after activation from dashboard menu i get follow error::

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
    SELECT * FROM wp_anigal_album WHERE wp_id=
    
    Manage Pictures for Album ''
    
    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY filename' at line 1]
    SELECT pid, path, filename, width, height, hits FROM wp_anigal_picture WHERE alb_id= ORDER BY filename

    any help please?? thanks !

  105. Neil says

    great plugin, works a treat :grin:

    It would be good if the Category Name and Description would show up in the search restults.

    Also if the Exif data was shown for each large photo you one have one amazing plugin!

    Keep up the great work.

  106. jeroen says

    I’ve got it to work. Someone mentioned that the insert-script in aniga_gallery.php was the problem. I fixed that. One thing, I couldn’t find this in your description, and don’t know if it’s obvious :???: To get your pages to show your albums and thumbs you have to edit your page and point it to the appropriate template.

    I’ve updated the gallery-xxx.php pages to my theme, but only the thumbs en photo-pages look ok. The index and categorie, get aligned below my left oriented mainmenu. I am not sure how to fix this, because I am fairly new to php. :cry:
    Besides that your plugin is very good. It fits better into my theme than any other I have tried untill now. :cool:

  107. brandon says

    http://blog.a-sheley.com/gallery/

    i changed the name, but the gallery isn’t working right,, any ideas ?

  108. naabster says

    jeroen: if you still have problems you can send me your theme files and i try to have a look..

    Brandon: you changed your gallery name to your gallery folder. That wont work! You need either change your gallery folder or your name.

    maik: did you try to reactivate it? seems your tables were not created during activation..

    Neil: thanks, i will see to this search result issue, if i find some time. exif info is also a good idea..

  109. […] Io ho usato questa //WP plugin: ANIga gallery//animalbeach.net Puoi inserire immagini solo dal pannello amministrazione, e’ possibile anche caricare file.zip __________________ Thailandia - Tailandia - Siam ? […]

  110. naabster says

    because of getting more and more comments every day, i set up a support forum where you can ask your questions and make suggestions etc!

  111. […] As many of you know, Ive been looking for a good gallery software for wordpress. Since i decided to use Wordpress as a CMS a while back, Ive found ample amount of potential galleries but many of them didnt have the few specific features I was looking for. I wanted a grid gallery, which led into a one-by-one gallery, which supported original resolution image downloads. Also I wanted something that made albums in a visually pleasing manner, with some organization and well I FINALLY FINALLY found it. Its the ANIga gallery!!  I had a bit of trouble getting it to work but it was entirely due to the fact that I dont know any PHP whatsoever. Bumbling through it, a PHPidiot like me still got it working. Finally I can display my pictures!! You must check out my gallery!  […]

  112. […] I’ve set-up a functioning (I hope) photo gallery using the ANIga gallery plugin and begun the long process of uploading lots of my old pics. I will be improving (or breaking) the layout of this site on an ongoing basis and adding content when I get the chance. […]

  113. ANIga - pimping my gallery…

    I was looking for a gallery plugin, and among those literally speaking hundreds of gallery extensions for the Wordpress blogging software I found ANIga, coded by Michael Naab. Though there are a few unpretty startup errors upon installing and uncatched…