Tidypics Team's plugins:
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.
Images are automatically resized when you upload them. The admin sets a limit on the maximum image size (in MB) that can be uploaded. This has more to do with not crashing your server than anything else. It also keeps the storage space down on your server - but the quota is better for that.
If a user uploads a photo that is too large, a notification is displayed that explains that.
@iionly - Elgg 1.6.2 does not have the action token requirement so there is no way for that error message to be thrown. Also make sure that you are running with the correct .htaccess file. There have been some subtle changes to that file through the different versions.
take a look at this
i'm using 1.7. it was uploaded on the 31st of march, i turned it private last week and then turned it back to public a few days ago. download button and inline function doesn't work. gives me a big question mark. idk why?
@Cim - have you confirmed that the original photo is still on your server? The photos are stored in the user's directory in a subdirectory called image. Each album has a directory there. I was able to get the same results as you are seeing by deleting the image.
@Tidypics Team - I'm fully aware that it's very very strange that the "Form is missing __token or __ts field" error occurs with Elgg1.6.2, but it does.
Am I using the wrong identifier? If the URL ends for example on /pg/photos/view/1740/592921 the number I have to use is 1740, isn't it?
I've three Elgg installations and I tried the Thumbnail creation on all three sites today:
I've tried it with ImageMagick called via command line and with GD. Always the same error message.
@iionly - check your .htaccess to make sure that it does not have this line:
RewriteRule ^actions\/([A-Za-z\_\-\/]+)$ engine/handlers/action_handler.php?action=$1
This was part of Elgg 1.2 and earlier and could lead to this problem. You should only have one line like this and it should be this one:
RewriteRule ^action\/([A-Za-z0-9\_\-\/]+)$ engine/handlers/action_handler.php?action=$1
Notice that there is no 's' on action in the correct one.
You are correct on picking out the GUID. It is the number after view in the URL. I'll add that to the documentation.
Actually, I have thought more about this. The create thumbnail is called through ajax which means even if it registered this error message (which it doesn't), it would not appear until the next page. When you click the submit button, it does not load a new page. If you are clicking submit and seeing this error message pop-up, there is something different about your code than the standard Tidypics code. So you either are not giving me all the details necessary to understand what is happening or your code is different.
Well, it was not the .htaccess file. Everything alright there.
I should have cross-checked for side effects with other plugins before reporting a possible bug, because the error message indeed only occurs, if the izap_videos plugin (latest version 3.61beta installed) is also enabled. If izap_videos is disabled the thumbnail creation in the tidypics admin section works fine. Apart from this problem the two plugins seem to work fine if they are both enabled.
Sorry, for keeping you busy. :-)
@Cim - the upgrade to 1.7 should move all the images into the 2009 and 2010 directories. Before your directory was based on your username (first four letters creating four directories and then your username as the fifth directory). Now the first directory is the year you joined. The second is the month I think and then maybe your user GUID.
This definitely looks like an issue with your data directory and not a Tidypics issue.
@iionly - okay, it may be that there is a problem in the iZap plugin. Here is how you can check:
1. Open /engine/lib/actions.php
2. Find the line (around line 166):
3. Change it to:
register_error(elgg_echo('actiongatekeeper:missingfields') . $_SERVER['REQUEST_URI']);
4. When the same problem occurs, you should now have the URL causing the problem.
The error message after changing actions.php had been:
Form is missing __token or __ts fields/elgg171/mod/tidypics/actions/create_thumbnails.php?_=1272837252014&guid=228
Now I'm not much wiser... :-)
I've posted the bug report also at the izap_videos developement site. Hopefully, there will be a fix in any of the two plugins at some point. I may try to find out more as soon as I've a bit more time. It wouldn't be the first time that the izap_videos plugin produces some strange side effects (http links not clickable in comments and messages - at least they fixed it fast after the bug report).
before i go ask the community, check this out. am i in the right folder?
@Cim - that is the old directory. I think the 1.7 upgrade script moves the images into the new directory structure. Your nem directory is based on when you created your account:
$base_dir = date('Y/m/d', $user->time_created);
$base_dir .= "/$user->guid/";
You should be able to figure out where it is looking for the file by editing /mod/tidypics/pages/download.php and adding this line:
before the grab file call. Then check your error log when you try to download the file.