Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #536 from WordPress/try/reduce-zip-size
Browse files Browse the repository at this point in the history
Try: Remove images to reduce zip size.

Co-authored-by: juanfra <[email protected]>
Co-authored-by: beafialho <[email protected]>
  • Loading branch information
3 people authored Oct 11, 2024
2 parents a2b7607 + 9aef12c commit 899b032
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 13 deletions.
Binary file removed assets/images/avatar.webp
Binary file not shown.
Binary file modified assets/images/hero-podcast.webp
Binary file not shown.
Binary file modified assets/images/image-from-rawpixel-id-13029755.webp
Binary file not shown.
Binary file not shown.
Binary file modified assets/images/location.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion patterns/heading-and-paragraph-with-image.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:50%">
<!-- wp:image {"aspectRatio":"1","scale":"cover","sizeSlug":"full"} -->
<figure class="wp-block-image size-full">
<img src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/image-from-rawpixel-id-8803077-original.webp' ); ?>" alt="<?php echo esc_attr_x( 'A classic black and white photo of an old church', 'Alt text for Overview picture.', 'twentytwentyfive' ); ?>" style="aspect-ratio:1;object-fit:cover"/>
<img src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/image-from-rawpixel-id-8802835-jpeg-scaled.webp' ); ?>" alt="<?php echo esc_attr_x( 'Cliff Palace, Colorado', 'Alt text for Overview picture.', 'twentytwentyfive' ); ?>" style="aspect-ratio:1;object-fit:cover"/>
</figure>
<!-- /wp:image -->
</div>
Expand Down
4 changes: 2 additions & 2 deletions patterns/testimonials-2-col.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<!-- wp:column {"width":"64px"} -->
<div class="wp-block-column" style="flex-basis:64px">
<!-- wp:image {"width":"64px","aspectRatio":"1","scale":"cover","sizeSlug":"large","linkDestination":"none","className":"is-style-rounded"} -->
<figure class="wp-block-image size-large is-resized is-style-rounded"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/avatar.webp" alt="<?php echo esc_attr_x( 'Picture of a person', 'Alt text for testimonial image.', 'twentytwentyfive' ); ?>" style="aspect-ratio:1;object-fit:cover;width:64px"/></figure>
<figure class="wp-block-image size-large is-resized is-style-rounded"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/nurse.webp" alt="<?php echo esc_attr_x( 'Picture of a person', 'Alt text for testimonial image.', 'twentytwentyfive' ); ?>" style="aspect-ratio:1;object-fit:cover;width:64px"/></figure>
<!-- /wp:image -->
</div>
<!-- /wp:column -->
Expand Down Expand Up @@ -52,7 +52,7 @@
<!-- wp:column {"width":"64px"} -->
<div class="wp-block-column" style="flex-basis:64px">
<!-- wp:image {"width":"64px","aspectRatio":"1","scale":"cover","sizeSlug":"large","linkDestination":"none","className":"is-style-rounded"} -->
<figure class="wp-block-image size-large is-resized is-style-rounded"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/avatar.webp" alt="<?php echo esc_attr_x( 'Picture of a person', 'Alt text for testimonial image.', 'twentytwentyfive' ); ?>" style="aspect-ratio:1;object-fit:cover;width:64px"/></figure>
<figure class="wp-block-image size-large is-resized is-style-rounded"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/nurse.webp" alt="<?php echo esc_attr_x( 'Picture of a person', 'Alt text for testimonial image.', 'twentytwentyfive' ); ?>" style="aspect-ratio:1;object-fit:cover;width:64px"/></figure>
<!-- /wp:image -->
</div>
<!-- /wp:column -->
Expand Down
10 changes: 0 additions & 10 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,6 @@ Free public domain CC0 image.
image-from-rawpixel-id-2211732.webp
https://www.rawpixel.com/image/2211732

Woman walking into the woods.
Free public domain CC0 image.
avatar.webp
https://www.rawpixel.com/image/5918459

Botany flowers.
Free public domain CC0 image.
botany-flowers.webp
Expand All @@ -156,11 +151,6 @@ man-in-hat.webp
Free public domain CC0 image.
https://www.slam.org/collection/objects/62642/

Corner view showing mostly left wall, Church, Acoma Pueblo.
Free public domain CC0 image.
image-from-rawpixel-id-8803077-original.webp
https://www.rawpixel.com/image/8803077

African Woman by Pascal Sébah and Jean Pascal Sébah
Free public domain CC0 image.
agenda-img-4.webp
Expand Down

0 comments on commit 899b032

Please sign in to comment.