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

#   Removing the watermark

##

- **[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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 8 months ago [\#8758](#8758) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Removing the watermark](/forum/4-how-to/8629-removing-the-watermark?start=20#8758 "Hello,  I am having trouble removing the watermark. I delete it by clicking on the trash can, then it reappears. I tried making th opacity 0% and still nothing.  Also, I changed the size of my thumnails to 200, and the images went blurry, so I am now trying to re-upload them, and all I am getting is a black square (my images all have black backgrounds).  Any help would be greatly appreciated :)  Thanks!")*

You can read more about what is GD on that page: [ en.wikipedia.org/wiki/GD\_Graphics\_Library](http://en.wikipedia.org/wiki/GD_Graphics_Library)

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

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

Less More

- Posts: 34
- Thank you received: 2
-
-

15 years 8 months ago [\#8818](#8818) by [hkingman](/forum/user/606-hkingman "View hkingman's Profile")  Replied by *[hkingman](/forum/user/606-hkingman "View hkingman's Profile")* on topic *[Re: Removing the watermark](/forum/4-how-to/8629-removing-the-watermark?start=20#8818 "Hello,  I am having trouble removing the watermark. I delete it by clicking on the trash can, then it reappears. I tried making th opacity 0% and still nothing.  Also, I changed the size of my thumnails to 200, and the images went blurry, so I am now trying to re-upload them, and all I am getting is a black square (my images all have black backgrounds).  Any help would be greatly appreciated :)  Thanks!")*

I'm also getting black squares, when trying to use the watermark feature. Could you please say what version of gd is required? Apologies if I missed this information somewhere.

-Henry

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MjktcmVtb3ZpbmctdGhlLXdhdGVybWFyaz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 8 months ago [\#8850](#8850) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Removing the watermark](/forum/4-how-to/8629-removing-the-watermark?start=20#8850 "Hello,  I am having trouble removing the watermark. I delete it by clicking on the trash can, then it reappears. I tried making th opacity 0% and still nothing.  Also, I changed the size of my thumnails to 200, and the images went blurry, so I am now trying to re-upload them, and all I am getting is a black square (my images all have black backgrounds).  Any help would be greatly appreciated :)  Thanks!")*

You need at least GD 2.0.1 (2.0.28 or later is recommended).

Do you have an alpha channel in your watermark ?

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

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

Less More

- Posts: 34
- Thank you received: 2
-
-

15 years 8 months ago [\#8852](#8852) by [hkingman](/forum/user/606-hkingman "View hkingman's Profile")  Replied by *[hkingman](/forum/user/606-hkingman "View hkingman's Profile")* on topic *[Re: Removing the watermark](/forum/4-how-to/8629-removing-the-watermark?start=20#8852 "Hello,  I am having trouble removing the watermark. I delete it by clicking on the trash can, then it reappears. I tried making th opacity 0% and still nothing.  Also, I changed the size of my thumnails to 200, and the images went blurry, so I am now trying to re-upload them, and all I am getting is a black square (my images all have black backgrounds).  Any help would be greatly appreciated :)  Thanks!")*

&#124; You need at least GD 2.0.1 (2.0.28 or later is recommended).

Well, the version on the server is 2.0.35. However, PHP5-gd is also installed, and it is "5.2.4-2ubuntu5.14". It seems to be much smaller than the version on the server.

&#124; Do you have an alpha channel in your watermark ?

Yes, I initially tried a transparent png. The resulting black square does show the watermark (but not the original image). Then I tried with a transparent gif, and got a black background with a blue square where the watermark should be.

Thank you as usual for your fast response.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MjktcmVtb3ZpbmctdGhlLXdhdGVybWFyaz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 8 months ago [\#8854](#8854) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Removing the watermark](/forum/4-how-to/8629-removing-the-watermark?start=20#8854 "Hello,  I am having trouble removing the watermark. I delete it by clicking on the trash can, then it reappears. I tried making th opacity 0% and still nothing.  Also, I changed the size of my thumnails to 200, and the images went blurry, so I am now trying to re-upload them, and all I am getting is a black square (my images all have black backgrounds).  Any help would be greatly appreciated :)  Thanks!")*

If you replace the line:
$this-&gt;imagecopymerge_alpha($thumb, $watermark, $dest_x, $dest_y, 0, 0, $wm_width, $wm_height, (int)$config-&gt;get('opacity',0));

by:
imagecopymerge($thumb, $watermark, $dest_x, $dest_y, 0, 0, $wm_width, $wm_height, (int)$config-&gt;get('opacity',0));

in the file administrator/components/com_hikashop/helpers/image.php that will remove the alpha channel support of the watermark. Does the watermark works in such cases ?

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

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

Less More

- Posts: 34
- Thank you received: 2
-
-

15 years 8 months ago [\#8867](#8867) by [hkingman](/forum/user/606-hkingman "View hkingman's Profile")  Replied by *[hkingman](/forum/user/606-hkingman "View hkingman's Profile")* on topic *[Re: Removing the watermark](/forum/4-how-to/8629-removing-the-watermark?start=20#8867 "Hello,  I am having trouble removing the watermark. I delete it by clicking on the trash can, then it reappears. I tried making th opacity 0% and still nothing.  Also, I changed the size of my thumnails to 200, and the images went blurry, so I am now trying to re-upload them, and all I am getting is a black square (my images all have black backgrounds).  Any help would be greatly appreciated :)  Thanks!")*

Hello Nicolas,

I made the change to image.php, but it made no difference.

Thank you once more -- I appreciate your help.

-Henry

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MjktcmVtb3ZpbmctdGhlLXdhdGVybWFyaz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 8 months ago [\#8868](#8868) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Removing the watermark](/forum/4-how-to/8629-removing-the-watermark?start=20#8868 "Hello,  I am having trouble removing the watermark. I delete it by clicking on the trash can, then it reappears. I tried making th opacity 0% and still nothing.  Also, I changed the size of my thumnails to 200, and the images went blurry, so I am now trying to re-upload them, and all I am getting is a black square (my images all have black backgrounds).  Any help would be greatly appreciated :)  Thanks!")*

Mmm. I'm out of ideas on this one.

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

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

Less More

- Posts: 392
- Thank you received: 0
-
-

15 years 8 months ago [\#8874](#8874) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Removing the watermark](/forum/4-how-to/8629-removing-the-watermark?start=20#8874 "Hello,  I am having trouble removing the watermark. I delete it by clicking on the trash can, then it reappears. I tried making th opacity 0% and still nothing.  Also, I changed the size of my thumnails to 200, and the images went blurry, so I am now trying to re-upload them, and all I am getting is a black square (my images all have black backgrounds).  Any help would be greatly appreciated :)  Thanks!")*

Thank you so mch for helping me with this ![:)](/media/kunena/emoticons/3.png ":)") You also fixed another issue for me so Im twice as happy now ![:)](/media/kunena/emoticons/3.png ":)")

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

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

Less More

- Posts: 392
- Thank you received: 0
-
-

15 years 7 months ago [\#14401](#14401) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Removing the watermark](/forum/4-how-to/8629-removing-the-watermark?start=20#14401 "Hello,  I am having trouble removing the watermark. I delete it by clicking on the trash can, then it reappears. I tried making th opacity 0% and still nothing.  Also, I changed the size of my thumnails to 200, and the images went blurry, so I am now trying to re-upload them, and all I am getting is a black square (my images all have black backgrounds).  Any help would be greatly appreciated :)  Thanks!")*

Hi Nicolas,

The black imagea are happening again, but only for 2 products, the rest of the product images are fine. Do you think its the GD library?

Thanks ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MjktcmVtb3ZpbmctdGhlLXdhdGVybWFyaz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 7 months ago [\#14402](#14402) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Removing the watermark](/forum/4-how-to/8629-removing-the-watermark?start=20#14402 "Hello,  I am having trouble removing the watermark. I delete it by clicking on the trash can, then it reappears. I tried making th opacity 0% and still nothing.  Also, I changed the size of my thumnails to 200, and the images went blurry, so I am now trying to re-upload them, and all I am getting is a black square (my images all have black backgrounds).  Any help would be greatly appreciated :)  Thanks!")*

We didn't had any bug report concerning thumbnails in the past month so I assume that things are working great with the versions above 1.4.7
Which version are you using ?
It is because of the watermark ?
Are these images different from the others ? Different format ? Different options of the format ?

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

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

Less More

- Posts: 392
- Thank you received: 0
-
-

15 years 7 months ago [\#14403](#14403) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Removing the watermark](/forum/4-how-to/8629-removing-the-watermark?start=20#14403 "Hello,  I am having trouble removing the watermark. I delete it by clicking on the trash can, then it reappears. I tried making th opacity 0% and still nothing.  Also, I changed the size of my thumnails to 200, and the images went blurry, so I am now trying to re-upload them, and all I am getting is a black square (my images all have black backgrounds).  Any help would be greatly appreciated :)  Thanks!")*

Im pretty sure im using the latest version... How do I figure out if I am or not?
Nope, the imageas are jpegs like the rest of them.
It could be the watermark, it is similar to the old problem...

Sorry I can't be of better help ![:/](/irritated.gif ":/")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MjktcmVtb3ZpbmctdGhlLXdhdGVybWFyaz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 7 months ago [\#14409](#14409) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Removing the watermark](/forum/4-how-to/8629-removing-the-watermark?start=20#14409 "Hello,  I am having trouble removing the watermark. I delete it by clicking on the trash can, then it reappears. I tried making th opacity 0% and still nothing.  Also, I changed the size of my thumnails to 200, and the images went blurry, so I am now trying to re-upload them, and all I am getting is a black square (my images all have black backgrounds).  Any help would be greatly appreciated :)  Thanks!")*

Black images means that GD couldn't process the image. It could be because of transparency, because of file format, file path, etc. So hard to say.
If you remove the watermark and try again to upload the image, does it work ? Is it only the thumbnail which has a watermark or only the thumbnail or both?

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

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

Less More

- Posts: 392
- Thank you received: 0
-
-

15 years 7 months ago [\#14449](#14449) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Removing the watermark](/forum/4-how-to/8629-removing-the-watermark?start=20#14449 "Hello,  I am having trouble removing the watermark. I delete it by clicking on the trash can, then it reappears. I tried making th opacity 0% and still nothing.  Also, I changed the size of my thumnails to 200, and the images went blurry, so I am now trying to re-upload them, and all I am getting is a black square (my images all have black backgrounds).  Any help would be greatly appreciated :)  Thanks!")*

I just checked everything you mentioned, and it wasn't the watermark.

It was happening to the thumnails and the images, so I re-saved the images to my computer, uploaded them again, and now it works fine. So not a problem with a Hika Shop!

Thanks for your help! ![:)](/media/kunena/emoticons/3.png ":)")

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

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