John Paul II - Louisville, KY

If staff doesn't have images, then no image should display

Assigned to
Kyle Sullivan, Web Development at Diocesan Kyle S.
Notes

Comments & Events

Veronica Alvarado, Project Manager at Diocesan
I've added placeholder images in, but they want to use a group photo. I will talk to them about using the group photo in conjuction with not using hte staff members plugin OR taking individual photos
Kyle Sullivan, Web Development at Diocesan
I accomplished the described goal with the following code in site.js.
  $('img').on('error', function(){
    $(this).attr('src', '/wp-content/uploads/2019/03/staff-placeholder-grey.jpg');
  })
Kyle Sullivan, Web Development at Diocesan
Kyle Sullivan completed this to-do.