qa
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
1 changed file
with
3 additions
and
3 deletions
| ... | @@ -55,9 +55,9 @@ $ran = getName(); | ... | @@ -55,9 +55,9 @@ $ran = getName(); |
| 55 | <?php | 55 | <?php |
| 56 | $image = get_sub_field("place_holder"); | 56 | $image = get_sub_field("place_holder"); |
| 57 | if( !empty( $image ) ): ?> | 57 | if( !empty( $image ) ): ?> |
| 58 | <img src="<?php echo esc_url($image['url']); ?>" alt="<?php echo esc_attr($image['alt']); ?>" loading="eager" /> | 58 | <img width="340" height="226" src="<?php echo esc_url($image['sizes']['medium_large']); ?>" alt="<?php echo esc_attr($image['title']); ?>" loading="eager" /> |
| 59 | <?php else: ?> | 59 | <?php else: ?> |
| 60 | <img src="https://img.youtube.com/vi/<?php echo $src[0];?>/mqdefault.jpg" alt="Youtube placeholder" loading="eager" /> | 60 | <img width="340" height="226" src="https://img.youtube.com/vi/<?php echo $src[0];?>/mqdefault.jpg" alt="Youtube placeholder" loading="eager" /> |
| 61 | <?php endif;?> | 61 | <?php endif;?> |
| 62 | </div> | 62 | </div> |
| 63 | <div class="promo-text"><?php echo get_sub_field("title"); ?></div> | 63 | <div class="promo-text"><?php echo get_sub_field("title"); ?></div> |
| ... | @@ -100,7 +100,7 @@ $ran = getName(); | ... | @@ -100,7 +100,7 @@ $ran = getName(); |
| 100 | <?php | 100 | <?php |
| 101 | $image = get_sub_field("place_holder"); | 101 | $image = get_sub_field("place_holder"); |
| 102 | if (!empty($image)): ?> | 102 | if (!empty($image)): ?> |
| 103 | <img src="<?php echo esc_url($image["url"]); ?>" alt="<?php echo esc_attr($image["alt"]); ?>" loading="eager" /> | 103 | <img width="340" height="226" src="<?php echo esc_url($image['sizes']['medium_large']); ?>" alt="<?php echo esc_attr($image['title']); ?>" loading="eager" /> |
| 104 | <?php endif;?> | 104 | <?php endif;?> |
| 105 | 105 | ||
| 106 | </div> | 106 | </div> | ... | ... |
-
Please register or sign in to post a comment