Magenaut

Magenaut

A blog about Magento Development, Magento bug fixing, and more

Skip to content
Menu
  • Notes
  • Tutorial
  • Bug fixing
  • Extension
  • Server
  • Q&A
  • Code Solution
  • About

Tag: cropping

Q&APosted onAugust 5, 2022

Removing extra large generated images disables all crops

function filter_image_sizes( $sizes) { unset( $sizes['1536×1536']); // disable 2x medium-large size unset( $sizes['2048×2048']); // disable 2x large size return $sizes; } add_filter('intermediate_image_sizes_advanced', 'filter_image_sizes'); I check…

Read More
Q&APosted onAugust 4, 2022August 5, 2022

Can’t locate custom image sizes defined by child theme

I’m developing a child theme (mms-child) based on a simple parent (mms – also my dev). I am quite used to the usual way of defining custom image sizes within functions.php as follows:

Read More
Q&APosted onAugust 1, 2022August 2, 2022

using media uploader to select image of specific size, enforce cropper

I’ve followed this article to use Media Uploader in my code. When I click the Browse button on my form, the media uploader opens and after selecting the image, I get the URL of that image added in my form field. No issues so far.

Read More

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 142 other subscribers

Recent Comments

  • anonymous on Fix libwacom9 dependency issue when upgrade Debian
  • sreedhar on Fix libwacom9 dependency issue when upgrade Debian
  • saintnick on Fix libwacom9 dependency issue when upgrade Debian
  • ranafoul on Fix libwacom9 dependency issue when upgrade Debian
  • John Fro on UFW rule from a list of IPs

Tags

ajax bash block-editor categories command-line custom-field custom-post-types custom-taxonomy customization debian django files filters functions hooks images javascript linux list loop matplotlib menus numpy pandas permalinks permissions php plugin-development plugins posts python python-3.x security sed shell shell-script shortcode ssh terminal text-processing theme-development uploads users wp-admin wp-query

© Magenaut - The Magento Astronaut