Elgg 3.3 Profile images work intermittently

We bit the bullet and went with the new 3.3 and did install a few mods that are not ready for it yet but most things seem to be playing well together so far.  Only a few modifications had to be done to get it working reasonably.  

One issue we are seeing is that new profiles often have a bad image once they are online and registered.  We require a profile pic with each profile so the registration process seems to work.  But once on perhaps 1/3 of the profiles have an icon of an image but no image.  

Mods installed are below.  In Tidypics the max image settings are set to max width 8000x8000 and size to 50mb.  I suspect that the size of images are too big for the system to display properly but not sure how to confirm what the max should be to work properly.  

HTML5 upload is not able to be used most likely because the module has not been updated yet so the extra options that go with it are not available.

Any suggestions about where to start looking for a solution or just wait till things are updated?

 

 

 

Deactivate
Settings
Elgg Connect
Elgg theme

Deactivate
Activity Pages
Adds activity pages

Deactivate
CKEditor
Integrates the popular rich text editor CKEditor.

There are other plugins that list CKEditor as a dependency. You must disable the following plugins before disabling this one: Newsletter, CKEditor Extended
Deactivate
User Dashboard
A widget-based dashboard for your users

Deactivate
Settings
Discussions
Provides discussion forum support for elgg

There are other plugins that list Discussions as a dependency. You must disable the following plugins before disabling this one: Discussions Tools, hypeDiscussions
Deactivate
Embed
Allows users to easily upload and embed media into text areas.

Deactivate
Site Pages
Create simple web pages for about, contact, privacy, and terms.

Deactivate
Settings
Friends
Adds UI for friends

There are other plugins that list Friends as a dependency. You must disable the following plugins before disabling this one: Friend Collections
Deactivate
Friend Collections
Provides an interface for users to manage their friend collections

Deactivate
Settings
Garbage Collector
Perform database cleanup tasks

Deactivate
Settings
Groups
Provides group support for elgg

There are other plugins that list Groups as a dependency. You must disable the following plugins before disabling this one: hypeDiscussions
Deactivate
Invite Friends
Adds the ability for users to invite friends through email.

Deactivate
Likes
Enables users to like content on the site.

Deactivate
Login As
Allows admin users to login as another user

Deactivate
Members
Provides a public list of the members of your site

Deactivate
Message Board
Enables users to put a message board widget on their profile for other users to post comments.

Deactivate
Messages
Adds the ability for users to send private messages to each other.

Deactivate
Notifications
Adds support for managing subscriptions for user and group notifications

There are other plugins that list Notifications as a dependency. You must disable the following plugins before disabling this one: Manage notification settings
Deactivate
Pages
Collaborative editing tool. Enables users to create pages similar to a wiki without having to know wiki syntax.

Deactivate
Profile
Adds user profiles.

There are other plugins that list Profile as a dependency. You must disable the following plugins before disabling this one: Profile Manager
Deactivate
Reported Content
Adds the option for users to report content and for admins to investigate it.

Deactivate
Search
Adds UI for user, object and group search

Deactivate
Site Notifications
Internal site notifications. See README for more details.

Deactivate
Settings
System Log
Maintains a database log of operations on entities and their properties

Deactivate
Settings
The Wire
Microblogging for Elgg

There are other plugins that list The Wire as a dependency. You must disable the following plugins before disabling this one: TheWire Tools
Deactivate
User Validation by Email
Simple user account validation through email.

Deactivate
Admin Tools
Admin Tools

Deactivate
Settings
Avatar Wall
One page with all the avatars.

Deactivate
Settings
be_tom
Maintains a friendship between a designated user and every other site user. Like Tom on MySpace.

Deactivate
Captcha
Provides captcha support (Requires the php_gd library).

Deactivate
Settings
Elggx Fivestar
Fivestar adds a clean, attractive voting widget to Elgg.

Deactivate
Settings
FreiChat
A scalable chat solution for engaging your users

Deactivate
Settings
http:blacklist
Block malicious IP addresses (and the people behind them) from accessing your site or redirect them to your honeypot site.

Deactivate
Settings
Newsletter
Allows the creation and management of a newletter to site/group members

Deactivate
Profile River Updates
Adds a river entry on profile updates.

Deactivate
Settings
Site Announcements
The admins can display important announcements to their users

Deactivate
Settings
TheWire Tools
Provides additional features for The Wire

Deactivate
Settings
Users Online
Lists users who are currently online on the top of the page body or in the sidebar or in both locations.

Deactivate
Settings
Advanced Comments
Replace generic comments system with a more advanced options functionality

Deactivate
Settings
Advanced Notifications
Enchancements on the Elgg notification system

Deactivate
Age Restriction
Force users to verify they are of full age before they are allowed to register.

Deactivate
Settings
CKEditor Extended
Configure CK Editor

Deactivate
Settings
Event Manager
Manage events

Deactivate
Settings
HTML Email Handler
Allows to send out full HTML mails / notifications

There are other plugins that list HTML Email Handler as a dependency. You must disable the following plugins before disabling this one: Newsletter
Deactivate
Settings
Login Redirector
Enables redirecting of login

Deactivate
Settings
Profile Manager
Improved management of user and group profile fields

Deactivate
Settings
Target Blank
Opens all external links in a new window.

Deactivate
Settings
Tidypics
A photo gallery with albums, tagging, and a slideshow.

Deactivate
Settings
Widget Manager
Manage your widgets

Deactivate
Settings
Last Login
Display time of last login, join date and a members's GUID and data directory path. The visibility of time of last login and join date can be set to none, admin only or everyone. Visibility of member's GUID and data directory path is either none or admin only.

Deactivate
Settings
Manage notification settings
Turn off/on the email/site notification setting by default for new user accounts

Deactivate
Crontrigger
Provides a poor man's cron trigger to trigger cron scripts based on site visits.

Deactivate
Discussions Tools
Additions / modifications to the discussions plugin

Deactivate
Settings
hypeInteractions
Feature-rich social interactions for Elgg

There are other plugins that list hypeInteractions as a dependency. You must disable the following plugins before disabling this one: hypeDiscussions
Deactivate
Settings
hypeDiscussions
Discussion Threads

Deactivate
hypeLists
Developer tools for managing and ajaxifying lists

There are other plugins that list hypeLists as a dependency. You must disable the following plugins before disabling this one: hypeInteractions, hypeDiscussions
Deactivate
hypeCapabilities
Capabilities and roles API

There are other plugins that list hypeCapabilities as a dependency. You must disable the following plugins before disabling this one: hypeDiscussions, hypeLists
Deactivate
hypeStash
API for caching entity data to reduce DB queries

There are other plugins that list hypeStash as a dependency. You must disable the following plugins before disabling this one: hypeInteractions, hypeDiscussions, hypeLists
Deactivate
hypePost
Utility plugin for quick prototyping of content posts

There are other plugins that list hypePost as a dependency. You must disable the following plugins before disabling this one: hypeDiscussions
Deactivate
hypeAjax
Ajax Utilities

There are other plugins that list hypeAjax as a dependency. You must disable the following plugins before disabling this one: hypePost

  • It's quite impossible to see which plugins you actually have installed on your site by just copy+pasting the plugin page output. Without the layout the plugin names are quite lost within the other link texts that are of no use here. If you want to make it easier for people to help you, edit the list and leave just a list of the plugin names.

    Using 3rd party plugin not updated for Elgg 3 will cause problems. If it's not a very, very simple plugin it will very likely NOT work without problems on Elgg 3 and might even cause other problems on your site you might not connect with this plugin in the first place.

    My suggestion: test with ALL 3rd party plugins disabled. ALL of them! Does the problem remain or do you see the profile images correctly displayed for all users? Try to narrow down the possible cause of the problem by activating only one or two plugins at a time and not all at once. Otherwise it's impossible to figure out what's wrong if you don't have some experience.

    In any case it might help to look into the server logs to see if any errors are to be found that might explain what the problem might be.

    The image size you've set for Tidypics has nothing to do with profile images. It's for the Tidypics images alone. The image size seems really quite large. If you think you need the original image saved at this size I would suggest to use the ImageMagick command line tools for creation of the thumbnails. The GD php extension would require a massive amount of RAM for an 8kx8k image - too much probably.

    But Tidypics is a plugin not yet updated for Elgg 3. The version you find here will not work without problems for sure!! There's a version available at https://github.com/rohit1290/tidypics that might work better (maybe without any issues even) on Elgg 3. But I had no time yet to test it out and merge it into my version and make a new release for Elgg 3.

    The hype* plugins for Elgg 3 are only to be found on github. I hope you have used these versions only.

    Profile image thumbnail creation should work also with either the GD php extension (default) or the Imagick php extension (if available on the server). If the php memory_limit is set too small the thumbnail creation might fail with the GD extension used which might also explain the profiles without a proper image. If you have the Imagick php extension installed (or can get it installed) it would help because the memory required for resizing would be much lower (and also for Tidpics the Imagick php extension could be selected in case the ImageMagick command line tools are not available on the server).

  • Thank you so much for taking the time to reply on this one.  I did get the tidypics from github as well as the hype plugins.  I did find there was one hype plugin that didn't install correctly but was able to make a little change to get it to install.  

    I am going to go with the imagick option or at least give it a try.  The only reason I made the image options so huge was to see if increasing them would resolve the problem.  I could easily live with smaller images so the imagick option hopefully will help deal with that.  

    Iionly, you really rock by updating and creating the plugins that really matter for our sites and thank you for pointing me in the right direction.  Always happy to help test out the modules you maintain if you ever need it.  

    Thanks!

  • The max image resolution you can set in the Tidypics settings is for client-side resizing of images (done on the uploader's computer before the actual upload). This works only with the HTML5 uploader (and the image quality is not the best when using this kind of resizing).

    Other images apart from images uploaded with Tidypics not showing is most likely caused by limitations set for the php variables in Elgg's .htaccess file especially when using the GD php extension (used by default when not selected imagick in Elgg's settings.php file as alternative). With the GD extension the main limitation causing especially larger images missing their thumbnails is the value of memory_limit. By default it's 64M. Setting it to 128M can help a lot already (setting it even larger might help some more but the RAM of the server is also to be taken into account as the memory_limit is per session, i.e. more users in parallel could be much higher memory requirements!). Secondly, the post_max_size might also have to be increased (also when using Tidpics or other plugins that allow uploading several files at once). For example, setting upload_max_filesize (maximum allowed size of a single file) to 5M and allowing 10 images to be uploaded with Tidypics in one batch it would be best to set post_max_size to about 64M (to allow for some overhead).

    In any case, the Imagick php extension is better than the GD extension with much lower memory requirements (Elgg core supports the Imagick extension only since Elgg 3). With Tidypics I recomment the Image Magick command line tools that have also low memory requirements and I believe give the best image quality for the thumbnails.