Cleanup social network icons #3542

diosmosis opened this Issue Nov 14, 2012 · 1 comment

2 participants

Piwik Open Source Analytics member

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

Piwik Open Source Analytics member

(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 = ''. $url;
echo "$url in $destinationPath <br>";
Piwik_Http::sendHttpRequest($url, 10, 'Mozilla', $destinationPath);

and then something like mogrify -format png *.ico

@diosmosis diosmosis added this to the 1.10 - Piwik 1.10 milestone Jul 8, 2014
@mattab mattab was assigned by diosmosis 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