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

Release Notes

Supports 1.5.x-1.7.x

Fixed a bug with resizing images. Added some markup and css to improve photo album layout. Improved the admin settings page layout.

Install/upgrade like any other plugin. If you haven't upgraded since Tidypics 1.5.x, an upgrade button will appear on your Tidypics admin page.

  • @Shouvik - try overriding the image view and setting the width and height in the img tag.

    And, yes, resizing from tidypics administration should work. If it doesn't, need more details.

  • The changing the values on teh thumbnail fields is not working. :(

    I tried making the changes from forms/settings.php. But, it is not working either. Could you pelase gudie me a bit ...!


    $image_sizes['large_image_width'] = $image_sizes['large_image_height'] = 600;
            $image_sizes['small_image_width'] = $image_sizes['small_image_height'] = 153;
            $image_sizes['thumb_image_width'] = $image_sizes['thumb_image_height'] = 60;

  • @tidypics team

    I can't upload images with special characters in the name.


    images with name: ninféias, pôr-do-sol. 

    The special characters are 'é' and 'ô'.

  • @Shouvik - make sure you refresh your browser as the images get cached. I just tried changing the dimensions on the administration page and then redoing the thumbnails and it worked for me.

  • @Leo - just uploaded a photo: 漢字.jpg and it worked for me. Perhaps there is a problem with your server.


  • @Tidypics Team:

    I'm not sure if you mean the same as I with "Favorites". I don't mean to be able to tag an item / picture as "Like this" or maybe "Dislike this". I had already noticed this feature of Elgg 1.8 when testing the nightly builds (and also adding the tidypics svn version).

    What I mean is more like adding pictures posted by others to a "virtual" album that could be called for example "My favorites". Ning has such a feature and OpenWack seems to have added it by now, too. People like to have an easy access to pictures that they like. On my site a few people bookmark pictures for this purpose, but this surely is not good as these bookmarks are visible for everyone - as they don't set the visibility to private - and the access to these bookmarked pictures is not easy via a bookmark either. The izap_videos plugin already has the option to copy a video to the own videos, but this surely is also not good as the same video will use disc space unecessarily and maybe even several times (I deactivated it to not even start this to happen).

    As I understand the "My favorite" feature it's kind of a virtual album every user has to begin with by default. At first it's empty but people can add pictures by marking them as favorites ("bookmarking" them to a certain extend) and then they have access to their favorite pictures via this album. For each user the tidypics image entities that are marked as favorites by this user are listed.

    The izap_videos svn version has this functionality implemented by now. It works for Elgg 1.7+, not yet for Elgg 1.6. Maybe you can check it out to see if it's possible to implement it in a similar way for tidypics.

  • Feature request: No upscale setting for (primary) thumbs if original picturesize < settingssize (since you then loose resolution).

    I already fixed this in my own version/sources (lib/resize.php) but i would like this to be introduced in the official version :-)

  • Hello:

    Not sure if this is a bug. Currently, access levels for all my albums are set to "Logged in users". However, my pictures are viewable in an unauthenticated web session using the "pg/photos/download/<image id>/inline/" link, e.g. http://sitename.example/pg/photos/download/007/inline/. Or did I miss out a critical step during the plugin installation or setup?

    Elgg version: 1.7.1
    Tidypics version: 1.6.8

  • Is there a setting in in this plugin to limit the overall filesize of images that are uploaded?

    i.e. images are automatically shrunk in size (h/w dimensions) if the file size is above a certain limit?

  • No response, so I tried a few fixes myself. If you are experiencing similar issues and/or concerns, please add the following gatekeeper codes to files "download.php" and "thumbnail.php". Both can be found in the sub-directory /mod/tidypics/pages. You should add these lines to the beginning of the script if they aren't already there:

    1. include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php";
    2. global $CONFIG;
    3. if (is_callable('group_gatekeeper')) group_gatekeeper();

    For line 3, I substituted it with gatekeeper() as I do not have Groups plugin activated. The group_gatekeeper function seems to return true by default, and I'm wondering if that needs to be fixed too. That's a different issue altogether though.

    This fix seems to work for me. If anyone wants to test this on his/her Elgg site, I would appreciate any feedback. Thanks.

  • @iionly - once there is a favorite option it is easy to create a virtual album of favorited photos

  • @Adrian - you are correct that the download script is not checking for access in the current version. That's an easy fix but it would be different from what you suggested.

    @tunist - yes there are limits to upload size


  • I have 1.7.1.  I created an album and added 3 photos to it.  Then I renamed the album and added several more photos to it.  When I viewed the photos, the original photos were no longer there.  How do I access the original photos?  Can I at least delete them from the database?


  • How should I fix it then? Thanks.

  • Noob question:

    I can't seem to save any changes to the settings. I select changes as admin, hit save, and it refreshes as it was before.  Tried it in IE, Firefox and Chrome, same thing. Is there a permission setting somewhere I missed?

  • How do I change the text watermark to a watermark logo png file? 

  • i install this plugin sucessfully but when i upload images it showing emptyy image .please tell what requirments to run this plugin it is urgent to me

  • please give step by step procedure how to set tidypics settings.

    my tidypics settings are like below this if any changes have to do please give indetail

    PHP version 5.2.0
    GD Enabled Elgg requires the GD extension to be loaded
    IMagick PHP extension Disabled
    exec() Enabled Required for ImageMagick command line
    Memory Available to PHP 0.00 KB Change memory_limit to increase
    Memory Used to Load This Page
    This is approximately the minimum per page
    Max File Upload Size 5.00 MB Max size of an uploaded image
    Max Post Size 8.00 MB Max post size = sum of images + html form
    Max Input Time 60 s Time script waits for upload to finish
    Max Execution Time 60 s Max time a script will run
    GD imagejpeg Enabled
    GD imagepng Enabled
    GD imagegif Enabled
    EXIF Enabled
  • @Stan - that shouldn't happen - renaming the album shouldn't make a difference

    @Adrian - we'll add something to the next release

    @Ed - if your server has a special security module for Apache, it may not like the path setting for image magick. Leave that blank and try to save the settings

    @Anna - that would require writing some code. See the watermark.php library in the lib directory

    @balaraju - there are some troubleshooting instructions that are included with the plugin

  • Nope. I cleared the Image Magic path, made other changes, hit save, the message came up saying "Successfulle saved the TidyPics plugin settings", but the changes were not actually saved.

    Likewise, in the albums, it will not save the selection of image for the album cover.

  • @Tidypics Team

    You are correct, the photos were fine.  Sorry about that.  They were similar to other photos so I was confused.

  • I just upgraded to Elgg 1.7.2. Now I find on the Profile screen for all new users the Photo Album widget is titled "album_view". For old users it is still titled "Photo Albums". Is this an issue with Tidypics or elgg 1.7.2 or both?

  • @Ron:

    do you have the Draggable Widgets plugin installed? I've got the same issue with the Albums widget but on Elgg 1.6.2 and I thought it is caused by the Draggable Widgets plugin.

  • Is there a possibility to add a picture to a gallery by giving it's url only?

    I would like to have a gallery of pictures hold on my imageshack.us account without actually uploading them.

    I think it would be a nice idea to have this functionality.

  • How do I change the text watermark to a watermark logo png file?

    I know you said that would require writing some code. See the watermark.php library in the lib directory

    I opened that up now please explain what lines to replace with what code thanks.


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

Other Projects

View iionly's plugins