Jump to content

maximus

Members
  • Posts

    187
  • Joined

  • Days Won

    47

Everything posted by maximus

  1. Yes, it creates files. But it creates from source files and want it to create a square WEBP file based on an existing square JPG file.
  2. Hello, i have question how to make square images. I am developing an alcohol online storefront and in it I need to implement square images of bottles - so that they visually all look the same. Right now I am using the following code to position and create the images. The code works great and generates square images. BUT! When I try to add webp support <a href="<?=$large->webp->url?>"><img src="<?=$thumb->webp->url?>" class="pt-2" alt="<?=$page->title?>" width="64" height="64"></a> <?php endforeach; ?> code nothing works. There is a crop image function, but no function to position the image centered with the background added. How to implement this as simple as possible, using core functions and adding webp support ?
×
×
  • Create New...