Increase Pexels product images width to 400px to have a better resolution (#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>
This commit is contained in:
Alba Rincón 2024-01-02 13:59:38 +01:00 committed by GitHub
parent 29a409abc9
commit f9cdce486a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: enhancement
Increase product images width to 400px to have a better resolution

View File

@ -82,7 +82,7 @@ class ContentProcessor {
return $image_url;
}
$width = 'products' === $usage_type ? 250 : 500;
$width = 'products' === $usage_type ? 400 : 500;
parse_str( $parsed_url['query'], $query_params );