[Skip to main content](#vessel-content)

#   Image warnings after update

##

- **[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")**
- [![nickm77's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29021-nickm77 "View nickm77's Profile") Topic Author
- [ Offline](/forum/user/29021-nickm77)

Less More

- Posts: 16
- Thank you received: 0
-
-

12 years 7 months ago [\#146404](#146404) by [nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")  *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#146404 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")* was created by *[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")*

Hi,

Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in sustainablepreparedness/administrator/components/com_hikashop/helpers/image.php on line 446

Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com_hikashop/helpers/image.php on line 560

Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com_hikashop/helpers/image.php on line 462

Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com_hikashop/helpers/image.php on line 466

Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com_hikashop/helpers/image.php on line 482

Please help as my store is down! Thanks!

-- url of the page with the problem -- : [ www.sustainablepreparedness.com/index.php/products](http://www.sustainablepreparedness.com/index.php/products)
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 2.5.18
-- PHP version -- : 5.3.28

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86295
- Thank you received: 14273
-
-

12 years 7 months ago [\#146493](#146493) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#146493 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")*

Hi,

This means that there is an issue with the parameters given to the thumbnails creation function.
That's probably caused by a customization that was mae to one of the views which is not compatible with the current version of HikaShop.
You can look for the folder templates/YOUR_TEMPLATE/html/com_hikashop and if you have it, rename it and that will reset all your customizations and it should fix the problem.
If you still have the problem or don't have that folder, then it means that there is a problem with the Images section settings of the configuration and you would have to check them and make sure that they are set as they should.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")**
- [![nickm77's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29021-nickm77 "View nickm77's Profile") Topic Author
- [ Offline](/forum/user/29021-nickm77)

Less More

- Posts: 16
- Thank you received: 0
-
-

12 years 7 months ago -  12 years 7 months ago [\#146501](#146501) by [nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")  Replied by *[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")* on topic *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#146501 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")*

Hi Nicolas,

Thanks for your reply. I tried renaming the folder you mentioned, but when I did, my website went down completely (404 error), so I renamed the folder back to the original name and it loads now, but the same warnings appear when I visit the store portion of the website. If I log into the administrator area and go to Hikashop Views and sort for the views associated with my template, I can see several that have been customized because there is a little trashcan button that I can click to reset them. Should I do that? I would prefer to not do that unless I have to because I don't want to unnecessarily lose customizations I may have done in the past. But if I have to I can. I must get the store back online.

Since renaming the com_hikashop folder didn't resolve my issue, would that indicate that the problem must be with the images configuration? If so, what should I look for and where should I look? I don't even know where to start with that.

Thanks so much for your help!

EDIT: I just tried renaming the two subfolders in the "com_hikashop" folder and now my website will load but the warnings still appear all over the page when I visit the store portion of the website. BTW, I have caching disabled in Joomla so I don't think it is an issue of caching needing to be purged.

Last edit: 12 years 7 months ago by [nickm77](/forum/user/29021-nickm77 "View nickm77's Profile"). Reason: Addition

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")**
- [![nickm77's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29021-nickm77 "View nickm77's Profile") Topic Author
- [ Offline](/forum/user/29021-nickm77)

Less More

- Posts: 16
- Thank you received: 0
-
-

12 years 7 months ago [\#146502](#146502) by [nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")  Replied by *[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")* on topic *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#146502 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")*

Okay, I'm thinking you may have been talking about logging into the back end of hikashop and selecting configuration and then editing the different options in the images portion. Correct? I tried that and the one option that seems to trigger all the warnings is when I set "Force Image Size" to "Yes". I can do whatever I want to the other settings as long as "Force Image Size" is set to "No" and all is well. But if I switch it to "Yes", all the images in my store throw the same 5 warnings. And I need to be able to force the images to resize. So what do you recommend? Should I delete the cached thumbnails so the system has to regenerate the thumbnails? Or would the problem be somewhere else, such as the /administrator/components/com_hikashop/helpers/image.php file?

Many thanks for your help!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")**
- [![nickm77's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29021-nickm77 "View nickm77's Profile") Topic Author
- [ Offline](/forum/user/29021-nickm77)

Less More

- Posts: 16
- Thank you received: 0
-
-

12 years 7 months ago [\#146505](#146505) by [nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")  Replied by *[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")* on topic *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#146505 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")*

Just tried deleting the thumbnails. Still warnings when the "Force Image Size" is set to "Yes". And after loading the web page and checking the upload folder, it had only regenerated the default thumbnail image (the bar code image), but none of the other image thumbnails were generated.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 7 months ago [\#146639](#146639) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#146639 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")*

Hi,
Can you test it with another Joomla template (like Joomla default templates) and tell me if you still have that issue ?
Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")**
- [![nickm77's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29021-nickm77 "View nickm77's Profile") Topic Author
- [ Offline](/forum/user/29021-nickm77)

Less More

- Posts: 16
- Thank you received: 0
-
-

12 years 7 months ago [\#146735](#146735) by [nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")  Replied by *[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")* on topic *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#146735 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")*

Hello,

I just tried changing the template to a standard one and it still gives the warnings when I turn the "Force Images Size" option to "Yes".

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")**
- [![nickm77's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29021-nickm77 "View nickm77's Profile") Topic Author
- [ Offline](/forum/user/29021-nickm77)

Less More

- Posts: 16
- Thank you received: 0
-
-

12 years 7 months ago [\#146865](#146865) by [nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")  Replied by *[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")* on topic *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#146865 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")*

Still haven't found a solution. It seems like there must be a fairly simple solution.

Also encountering another issue since the update. This one is much less major than the issue mentioned above that we are currently working on. When I load any page in the online store (i.e. any page that is using Hikashop Component), the page will load, and then stop and reload most of the page again. While this may not be much of an issue for folks with a lightning fast internet connection, it is frustrating for users with a lesser connection. This reload only happens on front end pages that are using the Hikashop component. It does not happen on other portions of my Joomla site. Any ideas?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 7 months ago [\#147084](#147084) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#147084 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")*

Hi,

Regarding the images, the system seems to have trouble when getting your images dimensions.
Thanks to try with other images, because your images seems to have a specific format which is not compatible with php functions.

For the page reloading, the page is not reloaded.
What you see is the socials APIs which are loaded after the page. But the content of the page is always present.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")**
- [![nickm77's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29021-nickm77 "View nickm77's Profile") Topic Author
- [ Offline](/forum/user/29021-nickm77)

Less More

- Posts: 16
- Thank you received: 0
-
-

12 years 7 months ago [\#147106](#147106) by [nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")  Replied by *[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")* on topic *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#147106 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")*

Hi,
So what should I do? Everything was working fine before the update. My images are nothing special. Just Jpeg images. At this point, I have had to disable images so my store is without images and this is unacceptable. So please help me to know what needs to be done to fix the issue.

And as far as the social API loading, it was not doing that before the update. So what can be done to prevent the apparent reload?

I appreciate any support you can offer with these issues that have come up since the update. Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 7 months ago -  12 years 7 months ago [\#147107](#147107) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#147107 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")*

Hi,

Can you please send me an access to your backend ?
I want to make some test sand check your configuration.
Your problem could be linked to a problem of wrong parameters in your configuration.

Regards,

PS: To send such private information, you can use the private messages.

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 12 years 7 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")**
- [![nickm77's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29021-nickm77 "View nickm77's Profile") Topic Author
- [ Offline](/forum/user/29021-nickm77)

Less More

- Posts: 16
- Thank you received: 0
-
-

12 years 7 months ago [\#147381](#147381) by [nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")  Replied by *[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")* on topic *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#147381 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")*

Okay. Let me work on getting that set up. Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[thomta](/forum/user/8943-thomta "View thomta's Profile")**
- [![thomta's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8943-thomta "View thomta's Profile")
- [ Offline](/forum/user/8943-thomta)

Less More

- Posts: 4
- Thank you received: 0
-
-

12 years 7 months ago -  12 years 7 months ago [\#147597](#147597) by [thomta](/forum/user/8943-thomta "View thomta's Profile")  Replied by *[thomta](/forum/user/8943-thomta "View thomta's Profile")* on topic *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#147597 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")*

I had similar Warnings, and my product images disappeared from the Product page after update.
My solution was a setup in the backend: Hikashop/Configuration/Images

Product page image width: (empty)
Product page image height: 300

Earlier the width was set up.
I hope it also helps you.

Last edit: 12 years 7 months ago by [thomta](/forum/user/8943-thomta "View thomta's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Paganikon](/forum/user/30707-paganikon "View Paganikon's Profile")**
- [![Paganikon's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30707-paganikon "View Paganikon's Profile")
- [ Offline](/forum/user/30707-paganikon)

Less More

- Posts: 21
- Thank you received: 0
-
-

12 years 7 months ago [\#148205](#148205) by [Paganikon](/forum/user/30707-paganikon "View Paganikon's Profile")  Replied by *[Paganikon](/forum/user/30707-paganikon "View Paganikon's Profile")* on topic *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#148205 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")*

Hi, just got the same error from upgrading tu Business (something with "function.imagecreatetruecolor")

Like, previous post, in Hikashop/Configuration/Images, just putting Thumbnails on "No", save, then on "Yes" again solved it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 7 months ago [\#148240](#148240) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#148240 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")*

Hi,

Thanks for your feedback.
We will see to create a patch for it.
I think the problem is more link with an incomplete configuration, so just re-saving the configuration should fix the problem.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")**
- [![nickm77's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29021-nickm77 "View nickm77's Profile") Topic Author
- [ Offline](/forum/user/29021-nickm77)

Less More

- Posts: 16
- Thank you received: 0
-
-

12 years 7 months ago [\#148312](#148312) by [nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")  Replied by *[nickm77](/forum/user/29021-nickm77 "View nickm77's Profile")* on topic *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#148312 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")*

Thanks, guys for the tips. Nothing seems to fix my issue. No matter what configuration I use for images (and I have tried a bunch of different configurations), the only thing that gets rid of the errors and puts my images back on the screen is to turn the "Force Image Size" to "Off".

Since it sounds like there will be a patch soon, maybe I'll just leave my thumbnails off for now or if I get a chance I'll resize all of them to exactly the same size so I can turn thumbnails on and leave "Force Image Size" off.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 7 months ago [\#148314](#148314) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Image warnings after update](/forum/25-install-update/866307-image-warnings-after-update#148314 "Hi,  Just updated Hikshop and now all product images are throwing several warnings, making my online store virtually unusable. Seems to be associated with the image.php file. Here are some of the warnings:  Warning: imagecreatetruecolor() &#91;function.imagecreatetruecolor&#93;: Invalid image dimensions in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 446  Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 560  Warning: imagefill() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 462  Warning: imageantialias() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 466  Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in sustainablepreparedness/administrator/components/com&#95;hikashop/helpers/image.php on line 482  Please help as my store is down! Thanks!  -- url of the page with the problem -- :   www.sustainablepreparedness.com/index.php/products  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.18 -- PHP version -- : 5.3.28")*

Hi,

> Since it sounds like there will be a patch soon

Sorry but no, it won't. Because we don't have any useful information to understand your problem.
We have any access to your backend to see your configuration or your problem.
We have any details of your configuration.

How would it be possible to create a patch for a problem that we can't reproduce ?
If I asked you an access, it was not for nothing. It was to solve this problem in your website.

So please, if you want to solve this problem, provide me the information I asked you one week ago.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjMwNy1pbWFnZS13YXJuaW5ncy1hZnRlci11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.172 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
