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

#   img error issue..

##

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

Less More

- Posts: 241
- Thank you received: 5
-
-

13 years 1 week ago [\#131242](#131242) by [cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")  *[img error issue..](/forum/3-bug-report/863418-img-error-issue#131242 "--   www.wodrocket.com/index.php?option=com&#95;h...ct&amp;task=show&amp;cid=722  -- HikaShop version -- : 2.2.2 -- Joomla version -- : 2.5.14 -- Browser(s) name and version -- : n/a -- Error-message(debug-mod must be tuned on) -- :  see screenshot. I removed the img file and the issue was resolved, but please let me know what I need to do to avoid in the future.  Thanks.")* was created by *[cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")*

-- [ www.wodrocket.com/index.php?option=com\_h...ct&amp;task=show&amp;cid=722](http://www.wodrocket.com/index.php?option=com_hikashop&ctrl=product&task=show&cid=722)
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 2.5.14
-- Browser(s) name and version -- : n/a
-- Error-message(debug-mod must be tuned on) -- :

see screenshot. I removed the img file and the issue was resolved, but please let me know what I need to do to avoid in the future.

[ ![h657214c.png](/forum/attachment/13487) ](/forum/attachment/13487 "h657214c.png")

Thanks.

- [ ![h657214c.png](/forum/attachment/13487) ](/forum/attachment/13487 "h657214c.png") [ ](/forum/attachment/13487?download=1 "h657214c.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjM0MTgtaW1nLWVycm9yLWlzc3VlP3RtcGw9bWFya2Rvd24=) 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: 26401
- Thank you received: 4080
-
- [](http://obsi.dev)
-

13 years 1 week ago [\#131267](#131267) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[img error issue..](/forum/3-bug-report/863418-img-error-issue#131267 "--   www.wodrocket.com/index.php?option=com&#95;h...ct&amp;task=show&amp;cid=722  -- HikaShop version -- : 2.2.2 -- Joomla version -- : 2.5.14 -- Browser(s) name and version -- : n/a -- Error-message(debug-mod must be tuned on) -- :  see screenshot. I removed the img file and the issue was resolved, but please let me know what I need to do to avoid in the future.  Thanks.")*

Hi,

When you have a lot of images to resize and these images are big, it will use some memory that we can't control because it is managed by PHP GD.
As you can see in your screenshot, it try to allocate 44MB and it overpass the limitation of 128MB

It is a little bit logical that the memory limit is reach if only one single image ask for so many memory (because it should be a very big image).

Regards,

---

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

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

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

Less More

- Posts: 241
- Thank you received: 5
-
-

13 years 1 week ago -  13 years 1 week ago [\#131488](#131488) by [cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")  Replied by *[cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")* on topic *[img error issue..](/forum/3-bug-report/863418-img-error-issue#131488 "--   www.wodrocket.com/index.php?option=com&#95;h...ct&amp;task=show&amp;cid=722  -- HikaShop version -- : 2.2.2 -- Joomla version -- : 2.5.14 -- Browser(s) name and version -- : n/a -- Error-message(debug-mod must be tuned on) -- :  see screenshot. I removed the img file and the issue was resolved, but please let me know what I need to do to avoid in the future.  Thanks.")*

Ok but I am a bit confused because the image size was not significant. I have highlighted the img in the screenshot below and also provided a link to a development site where it is working fine.

link to img (development site is working):
[ 184.154.228.9/~throwdow/live/index.php?o...ct&amp;task=show&amp;cid=722](http://184.154.228.9/~throwdow/live/index.php?option=com_hikashop&ctrl=product&task=show&cid=722)

I still can't figure out what would have caused the error and how to prevent it in the future. It was solved by removing the img but that is not enough for the future.

Many Thanks.

[ ![h63abfe5.png](/forum/attachment/13529) ](/forum/attachment/13529 "h63abfe5.png")

- [ ![he591d41.png](/forum/attachment/13528) ](/forum/attachment/13528 "he591d41.png") [ ](/forum/attachment/13528?download=1 "he591d41.png")
- [ ![h63abfe5.png](/forum/attachment/13529) ](/forum/attachment/13529 "h63abfe5.png") [ ](/forum/attachment/13529?download=1 "h63abfe5.png")

Last edit: 13 years 1 week ago by [cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjM0MTgtaW1nLWVycm9yLWlzc3VlP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

13 years 1 week ago [\#131680](#131680) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[img error issue..](/forum/3-bug-report/863418-img-error-issue#131680 "--   www.wodrocket.com/index.php?option=com&#95;h...ct&amp;task=show&amp;cid=722  -- HikaShop version -- : 2.2.2 -- Joomla version -- : 2.5.14 -- Browser(s) name and version -- : n/a -- Error-message(debug-mod must be tuned on) -- :  see screenshot. I removed the img file and the issue was resolved, but please let me know what I need to do to avoid in the future.  Thanks.")*

Jerome is not talking about the size of the thumbnails that hikashop will generate but the size of the original images that you're uploading.
So you need to upload smaller images and/or increase your server memory limitation (at least temporarily so that HikaShop can generate the thumbnails once).

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

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

Less More

- Posts: 241
- Thank you received: 5
-
-

13 years 1 week ago [\#131683](#131683) by [cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")  Replied by *[cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")* on topic *[img error issue..](/forum/3-bug-report/863418-img-error-issue#131683 "--   www.wodrocket.com/index.php?option=com&#95;h...ct&amp;task=show&amp;cid=722  -- HikaShop version -- : 2.2.2 -- Joomla version -- : 2.5.14 -- Browser(s) name and version -- : n/a -- Error-message(debug-mod must be tuned on) -- :  see screenshot. I removed the img file and the issue was resolved, but please let me know what I need to do to avoid in the future.  Thanks.")*

I understand but am still unclear by why this relatively small image caused the problem when others do not.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjM0MTgtaW1nLWVycm9yLWlzc3VlP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

13 years 1 week ago [\#131684](#131684) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[img error issue..](/forum/3-bug-report/863418-img-error-issue#131684 "--   www.wodrocket.com/index.php?option=com&#95;h...ct&amp;task=show&amp;cid=722  -- HikaShop version -- : 2.2.2 -- Joomla version -- : 2.5.14 -- Browser(s) name and version -- : n/a -- Error-message(debug-mod must be tuned on) -- :  see screenshot. I removed the img file and the issue was resolved, but please let me know what I need to do to avoid in the future.  Thanks.")*

I don't know the size in pixels of that image so I can't say.
260 KB for a jpg image can amount to a really big image in pixels and the PHP GD library doesn't take into account the size in KB but the size in pixel of images from the memory reservation.
Also, maybe you have other products displayed with modules on that page and thus it has to generate the thumbnails for all the images of all the products displayed and thus require more memory.
Unfortunately, we have no control on that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjM0MTgtaW1nLWVycm9yLWlzc3VlP3RtcGw9bWFya2Rvd24=) 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.060 seconds

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