Can you show your phpinfo() output?
Is the extension actually loaded?
Uploading images in my system has no problem or errors but after I updated my php to 8.1 I got the GD Library error. I tried to add the "ext-gd" in composter and tried to manually add "extension=php_gd.dll" "extension=php_gd2.dll" "extension=gd" "extension=gd2"on php.ini in xampp because there is no gd extension in the file, I still get the error. I also tried publish vendor.
update: When I run the website I get "unable to load dynamic library" and "the specific module could not be found". Also, there is "Warning: Module "gd" is already loaded in Unknown on line 0".
in php.ini search word extension in part of file many line are under other like this
extension=pdo_sqlite
;extension=pgsql
;extension=shmop
;extension=gd
so you add ; like below
extension=gd;
or ad it aftr
extension=pdo_sqlite
;extension=pgsql
;extension=shmop
extension=gd;
and restart xampp
Please or to participate in this conversation.