projects
/
WP-Themes
/
meetingsmichigan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37d68d5
)
changing the large image size to original for the member detail pages
author
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 22 Nov 2017 18:10:56 +0000
(13:10 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 22 Nov 2017 18:10:56 +0000
(13:10 -0500)
member detail pages now using original sizes
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
9a6c89f
..
de3c953
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-81,7
+81,7
@@
function glm_get_header($memberID = false) {
$image_data = $image_data[0];
} else {
- $image_data = apply_filters('member_images',$memberID,true);
+ $image_data = apply_filters('member_images',$memberID,true
,'original'
);
}
echo ' style="background-image: url('.$image_data.');height:0;padding:0;padding-bottom:22%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 420px; "';