Completed cloudinaryv2 fix

This commit is contained in:
Rekai Musuka
2018-09-06 14:07:15 +01:00
parent 1327e86d03
commit 26ecd1182e
4 changed files with 7 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
<img src="https://upload.wikimedia.org/wikipedia/commons/8/89/Portrait_Placeholder.png" class="avatar profile dropdown-toggle img-circle" width=65>
<% else %>
<%= cl_image_tag(contact.photo, class: "profile avatar dropdown-toggle img-circle", width:65, transformation: [
{ gravity: "face:auto", width: 100, height: 100, radius: "max", crop: "crop" }
{ gravity: "face:auto", width: 500, height: 500, radius: "max", crop: "crop" }
])%>
<% end %>
<div class="text text-color">
@@ -42,7 +42,7 @@
<img src="https://upload.wikimedia.org/wikipedia/commons/8/89/Portrait_Placeholder.png" class="avatar profile dropdown-toggle img-circle modal-picture" width=150>
<% else %>
<%= cl_image_tag(contact.photo, class: "profile avatar dropdown-toggle img-circle modal-picture", width:150, transformation: [
{ gravity: "face:auto", width: 100, height: 100, radius: "max", crop: "crop" }])%>
{ gravity: "face:auto", width: 500, height: 500, radius: "max", crop: "crop" }])%>
<% end %>
<div class="modal-text">
<h4 class="modal-title" id="myModalLabel">Calling</h4>