Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup social network icons #3542

Closed
diosmosis opened this issue Nov 14, 2012 · 1 comment
Closed

Cleanup social network icons #3542

diosmosis opened this issue Nov 14, 2012 · 1 comment
Assignees
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone

Comments

@diosmosis
Copy link
Member

The social network icons I added in #2791 could use some cleaning up.

@mattab
Copy link
Member

mattab commented Nov 22, 2012

(In [7524]) Fixes #3542 Updating logos to latest from the sites including transparent background

I used this code to download:
require_once PIWIK_INCLUDE_PATH . '/core/DataFiles/Socials.php';
foreach($GLOBALS['Piwik_socialUrl'] as $url => $name) {
$destinationPath = PIWIK_USER_PATH . '/plugins/Referers/images/socials/'.$url.'.png';
$url = 'http://g.etfv.co/http://'. $url;
echo "$url in $destinationPath <br>";
Piwik_Http::sendHttpRequest($url, 10, 'Mozilla', $destinationPath);
//break;
}

and then something like mogrify -format png *.ico

@diosmosis diosmosis added this to the 1.10 - Piwik 1.10 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

2 participants