Speasyimagegallery :imagecopyresampled(): Argument #2 ($src_image) Must Be Of Type GdImage, String Given - Question | JoomShaper

Speasyimagegallery :imagecopyresampled(): Argument #2 ($src_image) Must Be Of Type GdImage, String Given

MO

MARIE OLCHANSKI

General 2 days ago

Hello How can I fixed this error ? imagecopyresampled(): Argument #2 ($src_image) must be of type GdImage, string given Call Stack

Function Location

1 () JROOT/administrator/components/com_speasyimagegallery/helpers/speasyimagegallery.php:161 2 imagecopyresampled() JROOT/administrator/components/com_speasyimagegallery/helpers/speasyimagegallery.php:161 3 SpeasyimagegalleryHelper::createThumbs() JROOT/administrator/components/com_speasyimagegallery/controllers/album.php:74 4 SpeasyimagegalleryControllerAlbum->postSaveHook() JROOT/libraries/src/MVC/Controller/FormController.php:786 5 Joomla\CMS\MVC\Controller\FormController->save() JROOT/libraries/src/MVC/Controller/BaseController.php:730 6 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_speasyimagegallery/speasyimagegallery.php:26 7 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 Thinks a lot Marie

0
8 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 days ago #222715

Hello MARIE OLCHANSKI,

Thank you for reaching out to our technical support forum. I’m sorry to hear about the trouble you’re experiencing. Rest assured, I will look into this issue for you and work to resolve it as quickly as possible.

Where do you see this error? Please share me the error page link. I will check it.

Best regards

0
MO
MARIE OLCHANSKI
Accepted Answer
2 days ago #222723

SP Easy Image Gallery:

Edit Album

2026-flamenco

Save

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 days ago #222780

The problem seems to be on the featured image. Selecting a different image does not produce the issue. Please re-upload the feature image on the site. Then check the issue again.

0
MO
MARIE OLCHANSKI
Accepted Answer
2 days ago #222784

I try again for the feature image, with the same, and another, and it is still not working...

0
MO
MARIE OLCHANSKI
Accepted Answer
1 day ago #222854

Hi Oli I find the reaso of that strange error. Easy Image Gallery accept images in JPG, but not for the feature image !!! Can you change that somewhere ??? Have a nice day Marie

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 23 hours ago #222860

Please go to this location:

administrator/components/com_speasyimagegallery/helpers/

and replace speasyimagegallery.php file with the attached file. You need to unzip the file and then replace

speasyimagegallery.php.zip

Hopefully, it will fix the issue.

0
MO
MARIE OLCHANSKI
Accepted Answer
1 hour ago #222942

Yes ! You got it ! A lot of thanks! Marie

0
MO
MARIE OLCHANSKI
Accepted Answer
1 hour ago #222945

A last setting is need... The feature image does not appear on the SP Easy Image Gallery: Albums like you can see on the site Thanks again for all your quick answers Marie

0