Help Center

Powered by Minitek FAQ Book
Loading...

Crop Image not work in Joomla 4

MM
MARCEL MESTERPosted 1 year ago

Hi,

  I have a error in Joomla 4 (Helix 3 template) with option Crop Image

Warning: imagejpeg( ...........\images\rga\500x350\ ...............images\galerie\000.png): Failed to open stream: No such file or directory in ..........\libraries\src\Image\Image.php on line 914

  

Loading...
1
#3819

3 answers

M
MinitekPosted 1 year agoModerator

Hi there,

Do you have this issue on localhost or in a live website?

MM
MARCEL MESTERPosted 1 year ago

Hi,

  I test this on localhost.

...\xampp\htdocs\DIICOT2\libraries\src\Image\image.php

line 914

 // Case IMAGETYPE_JPEG & default
        return imagejpeg($this->getHandle(), $path, (\array_key_exists('quality', $options)) ? $options['quality'] : 100);

M
MinitekPosted 1 year agoModerator

I assume you are running XAMPP on Windows localhost. Unfortunately I don't have any Windows PC at the moment to test this but from what I can tell, Windows have difficulty translating the image paths. I'll look into into for the next version.