diff options
author | Jeroen <jeroenpraat@xs4all.nl> | 2014-10-05 18:32:28 +0000 |
---|---|---|
committer | Jeroen <jeroenpraat@xs4all.nl> | 2014-10-05 18:32:28 +0000 |
commit | ae9b0c0e1b2f65c82b531a4f72c99fd01243f306 (patch) | |
tree | e0a64b9ad8c7135346d72f42eefc212ea32dc2b4 | |
parent | fe9de8e834eb4dac144e710528375afa3c4475b3 (diff) | |
download | volse-hubzilla-ae9b0c0e1b2f65c82b531a4f72c99fd01243f306.tar.gz volse-hubzilla-ae9b0c0e1b2f65c82b531a4f72c99fd01243f306.tar.bz2 volse-hubzilla-ae9b0c0e1b2f65c82b531a4f72c99fd01243f306.zip |
Changed default avatars to PNG as agreed with Mike here: https://redmatrix.nl/channel/jeroenpraat/?f=&mid=83603d8f0876c040efafce87755fcd252dbe8da4a75d82fdb230519e3c8dcb72@redmatrix.nl. Added a few new. You can set it like this: util/config system default_profile_photo red_avatar
32 files changed, 86 insertions, 1 deletions
diff --git a/images/default_profile_photos/alpha/175.png b/images/default_profile_photos/alpha/175.png Binary files differnew file mode 100644 index 000000000..17211ee27 --- /dev/null +++ b/images/default_profile_photos/alpha/175.png diff --git a/images/default_profile_photos/alpha/48.png b/images/default_profile_photos/alpha/48.png Binary files differnew file mode 100644 index 000000000..b8212131c --- /dev/null +++ b/images/default_profile_photos/alpha/48.png diff --git a/images/default_profile_photos/alpha/80.png b/images/default_profile_photos/alpha/80.png Binary files differnew file mode 100644 index 000000000..19da3ffc1 --- /dev/null +++ b/images/default_profile_photos/alpha/80.png diff --git a/images/default_profile_photos/black_avatar_1/175.png b/images/default_profile_photos/black_avatar_1/175.png Binary files differnew file mode 100644 index 000000000..d8e49d43c --- /dev/null +++ b/images/default_profile_photos/black_avatar_1/175.png diff --git a/images/default_profile_photos/black_avatar_1/48.png b/images/default_profile_photos/black_avatar_1/48.png Binary files differnew file mode 100644 index 000000000..c616776b6 --- /dev/null +++ b/images/default_profile_photos/black_avatar_1/48.png diff --git a/images/default_profile_photos/black_avatar_1/80.png b/images/default_profile_photos/black_avatar_1/80.png Binary files differnew file mode 100644 index 000000000..29eb8fb5d --- /dev/null +++ b/images/default_profile_photos/black_avatar_1/80.png diff --git a/images/default_profile_photos/black_avatar_2/175.png b/images/default_profile_photos/black_avatar_2/175.png Binary files differnew file mode 100644 index 000000000..1a9473300 --- /dev/null +++ b/images/default_profile_photos/black_avatar_2/175.png diff --git a/images/default_profile_photos/black_avatar_2/48.png b/images/default_profile_photos/black_avatar_2/48.png Binary files differnew file mode 100644 index 000000000..073e0323a --- /dev/null +++ b/images/default_profile_photos/black_avatar_2/48.png diff --git a/images/default_profile_photos/black_avatar_2/80.png b/images/default_profile_photos/black_avatar_2/80.png Binary files differnew file mode 100644 index 000000000..fa7d92a91 --- /dev/null +++ b/images/default_profile_photos/black_avatar_2/80.png diff --git a/images/default_profile_photos/blank/175.png b/images/default_profile_photos/blank/175.png Binary files differnew file mode 100644 index 000000000..1edb25b76 --- /dev/null +++ b/images/default_profile_photos/blank/175.png diff --git a/images/default_profile_photos/blank/48.png b/images/default_profile_photos/blank/48.png Binary files differnew file mode 100644 index 000000000..cbff2264d --- /dev/null +++ b/images/default_profile_photos/blank/48.png diff --git a/images/default_profile_photos/blank/80.png b/images/default_profile_photos/blank/80.png Binary files differnew file mode 100644 index 000000000..e7eb91fd3 --- /dev/null +++ b/images/default_profile_photos/blank/80.png diff --git a/images/default_profile_photos/grey_avatar_1/175.png b/images/default_profile_photos/grey_avatar_1/175.png Binary files differnew file mode 100644 index 000000000..b3624e5d2 --- /dev/null +++ b/images/default_profile_photos/grey_avatar_1/175.png diff --git a/images/default_profile_photos/grey_avatar_1/48.png b/images/default_profile_photos/grey_avatar_1/48.png Binary files differnew file mode 100644 index 000000000..c947e6776 --- /dev/null +++ b/images/default_profile_photos/grey_avatar_1/48.png diff --git a/images/default_profile_photos/grey_avatar_1/80.png b/images/default_profile_photos/grey_avatar_1/80.png Binary files differnew file mode 100644 index 000000000..615b465df --- /dev/null +++ b/images/default_profile_photos/grey_avatar_1/80.png diff --git a/images/default_profile_photos/grey_avatar_2/175.png b/images/default_profile_photos/grey_avatar_2/175.png Binary files differnew file mode 100644 index 000000000..f518cb14c --- /dev/null +++ b/images/default_profile_photos/grey_avatar_2/175.png diff --git a/images/default_profile_photos/grey_avatar_2/48.png b/images/default_profile_photos/grey_avatar_2/48.png Binary files differnew file mode 100644 index 000000000..96d436203 --- /dev/null +++ b/images/default_profile_photos/grey_avatar_2/48.png diff --git a/images/default_profile_photos/grey_avatar_2/80.png b/images/default_profile_photos/grey_avatar_2/80.png Binary files differnew file mode 100644 index 000000000..6d78cd69a --- /dev/null +++ b/images/default_profile_photos/grey_avatar_2/80.png diff --git a/images/default_profile_photos/rainbow_man/175.png b/images/default_profile_photos/rainbow_man/175.png Binary files differnew file mode 100644 index 000000000..a0a236841 --- /dev/null +++ b/images/default_profile_photos/rainbow_man/175.png diff --git a/images/default_profile_photos/rainbow_man/48.png b/images/default_profile_photos/rainbow_man/48.png Binary files differnew file mode 100644 index 000000000..9e3399598 --- /dev/null +++ b/images/default_profile_photos/rainbow_man/48.png diff --git a/images/default_profile_photos/rainbow_man/80.png b/images/default_profile_photos/rainbow_man/80.png Binary files differnew file mode 100644 index 000000000..b0b1ca784 --- /dev/null +++ b/images/default_profile_photos/rainbow_man/80.png diff --git a/images/default_profile_photos/red_avatar/175.png b/images/default_profile_photos/red_avatar/175.png Binary files differnew file mode 100644 index 000000000..8251149a0 --- /dev/null +++ b/images/default_profile_photos/red_avatar/175.png diff --git a/images/default_profile_photos/red_avatar/48.png b/images/default_profile_photos/red_avatar/48.png Binary files differnew file mode 100644 index 000000000..a889651ec --- /dev/null +++ b/images/default_profile_photos/red_avatar/48.png diff --git a/images/default_profile_photos/red_avatar/80.png b/images/default_profile_photos/red_avatar/80.png Binary files differnew file mode 100644 index 000000000..7ddea61c2 --- /dev/null +++ b/images/default_profile_photos/red_avatar/80.png diff --git a/images/default_profile_photos/red_koala/175.png b/images/default_profile_photos/red_koala/175.png Binary files differnew file mode 100644 index 000000000..4e51c80e2 --- /dev/null +++ b/images/default_profile_photos/red_koala/175.png diff --git a/images/default_profile_photos/red_koala/48.png b/images/default_profile_photos/red_koala/48.png Binary files differnew file mode 100644 index 000000000..69ecfebd9 --- /dev/null +++ b/images/default_profile_photos/red_koala/48.png diff --git a/images/default_profile_photos/red_koala/80.png b/images/default_profile_photos/red_koala/80.png Binary files differnew file mode 100644 index 000000000..48c161fc7 --- /dev/null +++ b/images/default_profile_photos/red_koala/80.png diff --git a/images/default_profile_photos/redmatrix_logo_smiley/175.png b/images/default_profile_photos/redmatrix_logo_smiley/175.png Binary files differnew file mode 100644 index 000000000..daa15d8f8 --- /dev/null +++ b/images/default_profile_photos/redmatrix_logo_smiley/175.png diff --git a/images/default_profile_photos/redmatrix_logo_smiley/48.png b/images/default_profile_photos/redmatrix_logo_smiley/48.png Binary files differnew file mode 100644 index 000000000..20704bc98 --- /dev/null +++ b/images/default_profile_photos/redmatrix_logo_smiley/48.png diff --git a/images/default_profile_photos/redmatrix_logo_smiley/80.png b/images/default_profile_photos/redmatrix_logo_smiley/80.png Binary files differnew file mode 100644 index 000000000..30e0abbbd --- /dev/null +++ b/images/default_profile_photos/redmatrix_logo_smiley/80.png diff --git a/images/redmatrix_logo.svg b/images/redmatrix_logo.svg new file mode 100644 index 000000000..cb98a7fb5 --- /dev/null +++ b/images/redmatrix_logo.svg @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="200" + height="200" + id="svg3053" + version="1.1" + inkscape:version="0.48.4 r9939" + sodipodi:docname="redmatrix.svg"> + <defs + id="defs3055" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="1.979899" + inkscape:cx="35.049163" + inkscape:cy="27.799654" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + fit-margin-top="0" + fit-margin-left="0" + fit-margin-right="0" + fit-margin-bottom="0" + inkscape:window-width="1871" + inkscape:window-height="1056" + inkscape:window-x="49" + inkscape:window-y="24" + inkscape:window-maximized="1" /> + <metadata + id="metadata3058"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Laag 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(-315.00002,-392.36223)" + style="display:inline"> + <g + id="g2985" + transform="matrix(4.7619048,0,0,4.7619048,-1370.7143,-2042.6958)"> + <path + style="fill:#c60032;fill-opacity:1" + d="m 218.0851,397.84091 c 0,12.77893 -10.00215,23.1383 -22.34043,23.1383 -12.33827,0 -22.34042,-10.35937 -22.34042,-23.1383 0,-12.77893 10.00215,-23.1383 22.34042,-23.1383 12.33828,0 22.34043,10.35937 22.34043,23.1383 z" + sodipodi:ry="23.138298" + sodipodi:rx="22.340425" + sodipodi:cy="397.84091" + sodipodi:cx="195.74467" + id="path3028-4-5-3" + sodipodi:type="arc" + transform="matrix(0.94,0,0,0.9075862,191.00001,171.28726)" /> + <g + id="text3003-0-4-0" + style="font-size:46px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Sans" + transform="translate(52.138256,-208.57143)"> + <path + inkscape:connector-curvature="0" + id="path3008" + style="font-size:45.09999847px;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#ffffff;font-family:generic;-inkscape-font-specification:generic Bold" + d="m 322.85053,756.03406 4.7355,0 1.3079,-7.9827 4.8708,0 0,-4.4649 -4.1492,0 1.0373,-6.4944 4.9159,0 0,-4.4649 -4.1492,0 1.1275,-7.0356 -4.7355,0 -1.1275,7.0356 -5.1865,0 1.1275,-7.0356 -4.7355,0 -1.1275,7.0356 -5.0963,0 0,4.4649 4.3296,0 -1.0373,6.4944 -5.0963,0 0,4.4649 4.3747,0 -1.3079,7.9827 4.7355,0 1.3079,-7.9827 5.1865,0 -1.3079,7.9827 m 2.0295,-12.4476 -5.1865,0 1.0373,-6.4944 5.1865,0 -1.0373,6.4944" /> + </g> + </g> + </g> +</svg> diff --git a/include/identity.php b/include/identity.php index fc07bd4e4..fafb97bbb 100644 --- a/include/identity.php +++ b/include/identity.php @@ -1369,7 +1369,7 @@ function get_default_profile_photo($size = 175) { $scheme = get_config('system','default_profile_photo'); if(! $scheme) $scheme = 'rainbow_man'; - return 'images/default_profile_photos/' . $scheme . '/' . $size . '.jpg'; + return 'images/default_profile_photos/' . $scheme . '/' . $size . '.png'; } |