Skip to content

Commit 30cfe30

Browse files
committed
Update default cover images to use jpg
1 parent f4216f3 commit 30cfe30

File tree

10 files changed

+7
-7
lines changed

10 files changed

+7
-7
lines changed
102 KB
Loading
Binary file not shown.
102 KB
Loading
-94 KB
Binary file not shown.
102 KB
Loading
-94 KB
Binary file not shown.

app/helpers/better_together/image_helper.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ def cover_image_tag(entity, options = {}) # rubocop:todo Metrics/MethodLength, M
1212
image_width = options[:width] || 2400
1313
image_height = options[:height] || 600
1414
image_format = options[:format] || 'jpg'
15-
image_alt = options[:alt] || 'Default Cover Image'
16-
image_title = options[:title] || 'Default Cover Image'
15+
image_alt = options[:alt] || 'Cover Image'
16+
image_title = options[:title] || 'Cover Image'
1717
image_tag_attributes = {
1818
class: image_classes,
1919
style: image_style,
@@ -48,8 +48,8 @@ def profile_image_tag(entity, options = {}) # rubocop:todo Metrics/MethodLength,
4848
image_style = (options[:style]).to_s
4949
image_size = options[:size] || 300
5050
image_format = options[:format] || 'jpg'
51-
image_alt = options[:alt] || 'Default Cover Image'
52-
image_title = options[:title] || 'Default Cover Image'
51+
image_alt = options[:alt] || 'Profile Image'
52+
image_title = options[:title] || 'Profile Image'
5353
image_tag_attributes = {
5454
class: image_classes,
5555
style: image_style,

app/views/better_together/communities/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="profile-header position-relative">
88
<!-- Cover Image Section -->
99
<div class="cover-image-container">
10-
<%= cover_image_tag(@resource, format: 'png') %>
10+
<%= cover_image_tag(@resource) %>
1111
</div>
1212

1313
<div class="profile-image-wrapper">

app/views/better_together/people/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="profile-header position-relative">
99
<!-- Cover Image Section -->
1010
<div class="cover-image-container">
11-
<%= cover_image_tag(@person, format: 'png') %>
11+
<%= cover_image_tag(@person) %>
1212
</div>
1313

1414
<div class="profile-image-wrapper">

app/views/better_together/platforms/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="profile-header position-relative">
99
<!-- Cover Image Section -->
1010
<div class="cover-image-container">
11-
<%= cover_image_tag(@platform, format: 'png') %>
11+
<%= cover_image_tag(@platform) %>
1212
</div>
1313

1414
<div class="profile-image-wrapper">

0 commit comments

Comments
 (0)