Transformation with different Filetypes than jpg does not work
tombauer opened this issue · 2 comments
I use the internal assets plugin with a image transformation. The transformation of jpg files works as exepted, but the transformation of a tif file does not work. Is there a possiblity to get that work? Imagick is installed and creating tif transformations without internal asset plugin works. I reviewed the code and think i have found the problem in the following lines:
// Check if the file path ends with the handle of the specified transform
if (substr($filePath, -strlen($transform->handle)) === $transform->handle) {
$requestedTransform = '_' . $transform->handle;
the check of the file path ends does not match. Unfortunately i wasn't able to fix this. Can you help me with this or can you get me a hint what to do? Thanks.
Hi @tombauer,
Thank you for reporting this issue. I will try to find and fix the problem..
It should be easier to properly support file transformations in Craft 4. Feature is on the roadmap