Skip to content

Commit

Permalink
Increase Pexels product images width to 400px to have a better resolu…
Browse files Browse the repository at this point in the history
…tion (#43174)

* Increase product images width to 400 to have a better resolution

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
  • Loading branch information
2 people authored and samueljseay committed Jan 3, 2024
1 parent 8f1a7c3 commit 7a99cfa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: enhancement

Increase product images width to 400px to have a better resolution
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static function adjust_image_size( $image_url, $usage_type ) {
return $image_url;
}

$width = 'products' === $usage_type ? 250 : 500;
$width = 'products' === $usage_type ? 400 : 500;

parse_str( $parsed_url['query'], $query_params );

Expand Down

0 comments on commit 7a99cfa

Please sign in to comment.