Build an addon with a resize icon to maintain the aspect ratio issue

  • Thread starter Thread starter Yenxji
  • Start date Start date

Yenxji

Guest
Member
When you are trying to upload an image that would resize the image to 320x320, but XenForo built self keeps using Maintain Aspect Ratio to adjust the image, is there any method to prevent Maintain Aspect Ratio and let resize the image only?

PHP:

Code:
        if ($upload = $this->request->getFile('image_icons')) {
            if ($upload->isValid()) {
                $dataDir = \XF::getRootDirectory() . '/data/image_icons/';
                \XF\Util\File::createDirectory($dataDir, false)...

Read more
Build an addon with a resize icon to maintain the aspect ratio issue

free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
Top