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 weeks 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
13 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 weeks 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 weeks ago #222723

SP Easy Image Gallery:

Edit Album

2026-flamenco

Save

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 weeks 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 weeks 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
2 weeks 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 2 weeks 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
2 weeks ago #222942

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

0
MO
MARIE OLCHANSKI
Accepted Answer
2 weeks 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
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 weeks ago #222953

You are welcome 😊

I have added a menu item. Please check the link in the hidden content. It shows the feature image correctly.

0
MO
MARIE OLCHANSKI
Accepted Answer
2 weeks ago #222986

Hello Ofi Can you also go and see for the featured image not visible on the page "Components/Sp Easy Image Gallery / Albums" ? Have a nice day Marie

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 week ago #223018

Do the same process. Replace this file: administrator/components/com_speasyimagegallery/helpers/speasyimagegallery.php

speasyimagegallery.php.zip

0
MO
MARIE OLCHANSKI
Accepted Answer
1 week ago #223089

Sorry Not yet the good result...

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 week ago #223171

Sorry, I could not reproduce the issue on my end. Please use the small letter image extension name to avoid the issue. On my testing, the capital letter extension name converts into small letter extension name.

0