By default whenever you are logged in to facebook the HTC Gallery app would download all the profile pictures of your friends and show it in the main window of your gallery thus cluttering the main window of your gallery with pictures that you don't even own. What this mod will do is disable the gallery app from pulling the pictures and instead you will be shown only the default rectangular social thumbnail.
Now why didn't I remove it totally?
The thumbnail still has a purpose. Instead of the gallery directly showing up the facebook images right when you open the gallery app with this mod it is only shown when you click open the rectangular social thumbnail.
Sorry can't post screenshots as this would be breaking the privacy of my friends that will be shown if ever I post screenshots. Just test and give feedback
And for those who want to include this in their custom ROMs. Feel free to do so No need to ask for permission nor I require you guys to give credits to me. Just pull the APK and thats it! No strings attached
Edit: Sorry guys got a typo in the updater script so it failed to install. Already fixed it now.
Edit: Updated installer script.
Download this for the modded gallery.
Download this for restoring to stock odexed gallery(If mod won't work on your ROM)