Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Cleanup social network icons #3542

Closed
diosmosis opened this Issue · 1 comment

2 participants

@diosmosis
Collaborator

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

@mattab
Owner

(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
@mattab mattab was assigned by diosmosis
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.