#3542 closed Task (fixed)

Cleanup social network icons

Reported by: capedfuzz Owned by: matt
Priority: normal Milestone: 1.10 - Piwik 1.10
Component: Core Keywords:
Cc: Sensitive: no

Description

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

Change History (2)

comment:1 Changed 17 months ago by matt (mattab)

  • Milestone set to 1.9.3 - Piwik 1.9.3
  • Owner set to matt

comment:2 Changed 17 months ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(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($GLOBALSPiwik_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

Note: See TracTickets for help on using tickets.