aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-10-13 08:16:14 +0000
committerMario <mario@mariovavti.com>2020-10-13 08:16:14 +0000
commit08e7c7b249e123edaa81348e54180e89080de012 (patch)
tree3a37478f68740f20d8cb53f4686c3a77cf5d992b
parentb103993ad155c8b304a6ce6fa345251691c0fb54 (diff)
downloadvolse-hubzilla-08e7c7b249e123edaa81348e54180e89080de012.tar.gz
volse-hubzilla-08e7c7b249e123edaa81348e54180e89080de012.tar.bz2
volse-hubzilla-08e7c7b249e123edaa81348e54180e89080de012.zip
use a more neutral default cover image provided by bggenerator.com
-rw-r--r--images/default_cover_photos/bggenerator/1200.pngbin0 -> 619094 bytes
-rw-r--r--images/default_cover_photos/bggenerator/425.pngbin0 -> 90041 bytes
-rw-r--r--images/default_cover_photos/bggenerator/850.pngbin0 -> 315235 bytes
-rw-r--r--include/channel.php4
4 files changed, 2 insertions, 2 deletions
diff --git a/images/default_cover_photos/bggenerator/1200.png b/images/default_cover_photos/bggenerator/1200.png
new file mode 100644
index 000000000..53aaafd7f
--- /dev/null
+++ b/images/default_cover_photos/bggenerator/1200.png
Binary files differ
diff --git a/images/default_cover_photos/bggenerator/425.png b/images/default_cover_photos/bggenerator/425.png
new file mode 100644
index 000000000..5dbfe1e2b
--- /dev/null
+++ b/images/default_cover_photos/bggenerator/425.png
Binary files differ
diff --git a/images/default_cover_photos/bggenerator/850.png b/images/default_cover_photos/bggenerator/850.png
new file mode 100644
index 000000000..e9f476f86
--- /dev/null
+++ b/images/default_cover_photos/bggenerator/850.png
Binary files differ
diff --git a/include/channel.php b/include/channel.php
index ccec4f9ee..ae186d02f 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -2384,7 +2384,7 @@ function get_zcard($channel, $observer_hash = '', $args = array()) {
$cover = $r[0];
$cover['href'] = z_root() . '/photo/' . $r[0]['resource_id'] . '-' . $r[0]['imgscale'];
} else {
- $default_cover = get_config('system','default_cover_photo','pexels-94622');
+ $default_cover = get_config('system','default_cover_photo','bggenerator');
$cover = [ 'href' => z_root() . '/images/default_cover_photos/' . $default_cover . '/' . $cover_width . '.jpg' ];
}
@@ -2458,7 +2458,7 @@ function get_zcard_embed($channel, $observer_hash = '', $args = array()) {
$cover['href'] = z_root() . '/photo/' . $r[0]['resource_id'] . '-' . $r[0]['imgscale'];
}
else {
- $default_cover = get_config('system','default_cover_photo','pexels-94622');
+ $default_cover = get_config('system','default_cover_photo','bggenerator');
$cover = [ 'href' => z_root() . '/images/default_cover_photos/' . $default_cover . '/' . $cover_width . '.jpg' ];
}