Needs review
Project:
Social media
Version:
7.x-1.0-beta13
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2012 at 08:13 UTC
Updated:
16 Oct 2012 at 13:55 UTC
Jump to comment: Most recent file
Comments
Comment #1
ProfX commentedI'm getting the same issue. On my development server it works just fine, but on my production server it will not work.
I've tried..
Nothing seems to be working at all. I really don't want to re-size the Glossy icons to 24x24 via css.... 32 is too big for my site, and 16 is too small. Any help on this would be greatly appreciated.
Comment #2
the_loeki commentedThe problem is that the paths are 'wrong' in the configs due to incorrect capitalization. Depending on what platforms you're using for testing/development, this might not come up on at least Windows paths (since those are case insensitive)
Suggested corrections to socialmedia.icons.inc:
For IconDock:
You're instructed to unzip the download into {module}/icons/icondock.
When you do that, the ZIP file unzips the files into icons/icondock/Vector Social Media Icons/PNG/.
The module expects them in Vector Social Media Icons/png/.
For DryIcons the issue is the other way around; it unzips to png/ but the expected path is PNG/.
The InstaShift set is a MeSs capitalization-wise, with for example 32/google.png and 64/Google.png. The code can't handle that, and rightly so. Either we should expand the array function in socialmedia_icon_path_instashift or instruct designers/devs to lowercase the entire dir after unzipping.
That's all the cap-errors I could find for now, I'll post more as I find them.
Comment #3
the_loeki commentedComment #4
the_loeki commentedComment #5
ohthehugemanatee commentedtrivial patch attached. Works for me, please review.