[Elgg 1.5-1.12 & 2.X - 4.X: Tidypics] v1.5.1

Release Notes

The newest version of the Tidypics Photo Gallery. It has been updated for Elgg 1.5.

1.5.1 changes

  • fixed permissions override bug (thanks for those who verified the issue)
  • added "create album" button for widgets
  • changed default minimum filesize for image resizing to 2.5 MB (temporary until this code is rewritten) 

1.5 updates

  • improved css for new theme
  • ties in with activity river (only for album creation)
  • notifications for new album creation
  • grabs sitewide default access levels

Other changes

Rewrote a lot of core code - especially the page_handlers
More consistent menus
Fixed access bug on images that was making them private
Fixed group access bug that was prevent group members from adding/changing to albums
Many more bug fixes
Turkish language added (thanks to VeniVidiVinco)
German language file fixed (thanks to alfalive for that and bug fixes)


Other Improvements still to do

To upgrade:

  1. disable current plugin
  2. delete tidypics directory
  3. upload the code
  4. enable plugin

 This version has a hard coded limit on filesize inherited from previous versions. As pointed out in the comments, you can edit line 62 of tidypics/actions/upload.php to change this limit. The largest filesize will be determined by your server setup so you cannot just change it to a huge value and expect it to work. The current limit in this code is ~ 2.5 MB.

The next version will have a rewritten uploader that should be more robust and offer more feedback to the administrator on configuration options. We will also be adding in some hooks to allow for quotas.

  • @jededitor - When an image is uploaded, it is subsampled to create different display sizes (i.e. thumbnail). Those sizes are currently hard coded. They could be changed or the display code for the widget could be changed to force the image size to be different (set the width and height in the img tag and let the browser take care of it).

    There is no programmatic way to change album owner at this point with the current TidyPics code. The database could be edited if it were just a one time change.


    Normal 0 21 false false false MicrosoftInternetExplorer4

    <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} @page Section1 {size:595.3pt 841.9pt; margin:70.85pt 3.0cm 70.85pt 3.0cm; mso-header-margin:35.4pt; mso-footer-margin:35.4pt; mso-paper-source:0;} div.Section1 {page:Section1;} -->

    /* Style Definitions */
    {mso-style-name:"Tabla normal";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    font-family:"Times New Roman";

    With the configuration in spanish we can't see the pictures you upload. If I change the configuration in english if I see them. What? How can I fix it?

    Thank you.


    Con la configuración en español no puedo ver las imágenes que subo. Si cambio la configuración en ingles si las veo. Que ocurre?  ¿Como puedo solucionarlo?

    Gracias. (Disculpen mi ingles, es de traductor)


  • @Ferdinand - spanish language file is corrupted. Next version will have the fixed one.

  • I know this is a stupid question but better safe than sorry: If I upload pictures on my test server and then upload the site + database to a live server will the photo albums + pictures remain intact?

  • @bben - you would need to move two things: the database and the actual photos which are stored in the data directory set during the install of Elgg.

  • Hi Guys,

    I have what seems a silly Q too but I know I have to ask *cringes* ....

    In my dashboard with the latest 1.5.1 ver of Tidypics I have installed, it says "album_view" at the top of the dashboard widget name, is this normal?

    Would it because for some reason I no longer have a widget in my dashboard widget list to the right hand side, in the default dashboard widgets plugin? Yet it's some how still showing an album view in my live dashboard?

    Photo Album is listed and shows as it should in my default profile widget view.

    Just as a side note, are there any plans to enable a lightbox feature when users click on the photo's in any future version? Just curious :)


  • @Rob - Our bug/feature tracker is here: http://code.google.com/p/tidypics/issues/list - lightbox is on the list.

    There shouldn't be a dashboard widget. In the code, we register a profile widget only. I don't know how you even were able to add it to the dashboard.

  • when ever some one comments on a photo or a photo album it reads

    posted %s commented on

    it looks awful when there a bunch of comments looks like coding...

    any known fixes ? thanks

  • We've never experienced that on any of our test sites.

    It should look like this:

    Bob posted a comment on the image Test Image


    Admin posted a comment on the photo album Album 1


    The fact that it does not match up to the text in our language file means something is likely wrong with your install.

  • So somebody give me a clue as to how I can actually change the size of the albums images in the widget window?

  • @jededitor - The next version will give the administrator control over the different thumbnail sizes. Until then, the sizes are harded coded in upload.php.


  • I found a problem by opening thumbnnails as guest.

    Hopefully you can help me out in this because it seems its a source problem.

    You can see what i mean by visiting my testsite: http://pixel4tune.de/social/

    Registered user dont have any problems, guests have (check out the mainsite).



  • I´d also like to know if a "Favorite" function on images is planned and if its possible to rate the Images?

  • @Zeronix - sorry, don't understand your issue.

    We have discussed ratings. We haven't discussed favorites. The feature set for the next release is still up in the air.

  • My problem (mentioned above) is the error my guests get by opening a thumbnail from the mainsite.

    CSS is disabled and the site wont load - only a big error.

    But as Registered member i dont have any problems.

  • @Zeronix - sorry, still don't understand. What does it mean to open a thumbnail? If you are getting an error, what is the error?

  • Visit my testdrive on: http://pixel4tune.de/social/ and click on a small image in the right handed box.

    Then you´ll get an Error:

    Fatal error: Call to a member function getGUID() on a non-object in /var/.../social/mod/tidypics/views/default/object/image.php on line 124

    but if you are loged in to the site you dont get the problem and can see the opened Image perfect and without any problems.

    Please visit the link and try it out and you´ll see what i mean.


  • @Zeronix - That file only has 110 lines in this release. The only call to getGUID() is on line 9. Are you sure you are running this release?

  • Im so sorry. It seems i used an older version and since i started the upgrade everything works well.

    Thank you so mutch for the reminder ;)


    PS: I hope my 2 small ideas will find a way to be included soon in this great plugin (Rating & Favorite).


    Regards, Sebastian

  • I encountered some problems while extending Tidypics. I'm adding geotagging to Tidypics, and I would like to invoke action each time the album or image is saved. There's no good way to do this though.

    Those methods won't work:




    because every object is of 'object' type in Tidypics. Checking the subtype won't work either, since it's not dynamically assigned.


    Extending actions:

    register_plugin_hook('action', 'tidypics/addalbum', 'handler_tidypics_album_location',600);

    will work only for updating, but not for creating new objects, since it's impossible to pull the guid from the newly created object. Is there a chance to change the type of objects in tidypics to image/album? Or any other way to extend actions in Tidypics?

  • @vazco - I'll take a look at this. We are gearing up for a beta release so now is the time to introduce something like this. We have a google code project and Gabriel is the one to talk to if you want to contribute.

    I'll look over a few options and get back to you before Monday. 

  • @747 - Check the "view" field of the river table in your database. That will tell you what is being called.  

  • How soon before a newer release? :)

  • @747 - All I can say is that it works on our test installs. It sounds like from what you said that the river code is calling a view other than the one include with tidypics. What exactly does the database have for that entry? 

  • @julezeve - I'd estimate before the end of the month for a beta release.


  • Category: Photos and Images
  • License: GNU General Public License (GPL) version 2
  • Updated: 2022-10-10
  • Downloads: 144957
  • Recommendations: 231

Other Projects

View iionly's plugins