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

#   SSL error in checkout due to product images

##

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

Less More

- Posts: 30
- Thank you received: 0
-
-

14 years 5 months ago [\#50466](#50466) by [IP3](/forum/user/6885-ip3 "View IP3's Profile")  *[SSL error in checkout due to product images](/forum/2-general-talk-about-hikashop/50466-ssl-error-in-checkout-due-to-product-images#50466 "Hikashop, I searched the forum but found no answer. My checkout pages do not report complete SSL encryption. The chrome inspect element report indicates that it is due to the product image not being an ssl source; The page at   www.mysite.com/index.php/cloud/checkout  displayed insecure content from   www.mysite.com/media/com&#95;hikashop/upload/cloud&#95;security.jpg .  How can the image be referenced correctly?  Thanks, Paul")* was created by *[IP3](/forum/user/6885-ip3 "View IP3's Profile")*

Hikashop,
I searched the forum but found no answer.
My checkout pages do not report complete SSL encryption. The chrome inspect element report indicates that it is due to the product image not being an ssl source;
The page at [ www.mysite.com/index.php/cloud/checkout](https://www.mysite.com/index.php/cloud/checkout) displayed insecure content from [ www.mysite.com/media/com\_hikashop/upload/cloud\_security.jpg](http://www.mysite.com/media/com_hikashop/upload/cloud_security.jpg).

How can the image be referenced correctly?

Thanks,
Paul

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

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 5 months ago [\#50526](#50526) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: SSL error in checkout due to product images](/forum/2-general-talk-about-hikashop/50466-ssl-error-in-checkout-due-to-product-images#50526 "Hikashop, I searched the forum but found no answer. My checkout pages do not report complete SSL encryption. The chrome inspect element report indicates that it is due to the product image not being an ssl source; The page at   www.mysite.com/index.php/cloud/checkout  displayed insecure content from   www.mysite.com/media/com&#95;hikashop/upload/cloud&#95;security.jpg .  How can the image be referenced correctly?  Thanks, Paul")*

Hi,

No one reported such problem. As far as we know the images displayed by HikaShop are always with HTTPS if the current URL has HTTPS.

Can you give a link to your website so that we can see that ?

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

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

Less More

- Posts: 30
- Thank you received: 0
-
-

14 years 5 months ago [\#50547](#50547) by [IP3](/forum/user/6885-ip3 "View IP3's Profile")  Replied by *[IP3](/forum/user/6885-ip3 "View IP3's Profile")* on topic *[Re: SSL error in checkout due to product images](/forum/2-general-talk-about-hikashop/50466-ssl-error-in-checkout-due-to-product-images#50547 "Hikashop, I searched the forum but found no answer. My checkout pages do not report complete SSL encryption. The chrome inspect element report indicates that it is due to the product image not being an ssl source; The page at   www.mysite.com/index.php/cloud/checkout  displayed insecure content from   www.mysite.com/media/com&#95;hikashop/upload/cloud&#95;security.jpg .  How can the image be referenced correctly?  Thanks, Paul")*

Nicolas,
Thank you for looking in to this.
You can see the error on any product on our site with an image, such as:
[ www.ip3inc.com/index.php/cissp-online](https://www.ip3inc.com/index.php/cissp-online)

Paul

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

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 5 months ago [\#50591](#50591) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: SSL error in checkout due to product images](/forum/2-general-talk-about-hikashop/50466-ssl-error-in-checkout-due-to-product-images#50591 "Hikashop, I searched the forum but found no answer. My checkout pages do not report complete SSL encryption. The chrome inspect element report indicates that it is due to the product image not being an ssl source; The page at   www.mysite.com/index.php/cloud/checkout  displayed insecure content from   www.mysite.com/media/com&#95;hikashop/upload/cloud&#95;security.jpg .  How can the image be referenced correctly?  Thanks, Paul")*

You have something which is not configured properly in Joomla as Joomla is returning the non SSL URL of the website although the website is in SSL mode.

Change the line:
$this-&gt;uploadFolder_url = JURI::base().$this-&gt;uploadFolder_url;
to:
$this-&gt;uploadFolder_url = JURI::base(true).$this-&gt;uploadFolder_url;

in the file administrator/components/com_hikashop/helpers/image.php and that should circumvent the problem.

The following user(s) said Thank You: [IP3](/forum/user/6885-ip3 "View IP3's Profile")

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

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

Less More

- Posts: 30
- Thank you received: 0
-
-

14 years 5 months ago [\#50932](#50932) by [IP3](/forum/user/6885-ip3 "View IP3's Profile")  Replied by *[IP3](/forum/user/6885-ip3 "View IP3's Profile")* on topic *[Re: SSL error in checkout due to product images](/forum/2-general-talk-about-hikashop/50466-ssl-error-in-checkout-due-to-product-images#50932 "Hikashop, I searched the forum but found no answer. My checkout pages do not report complete SSL encryption. The chrome inspect element report indicates that it is due to the product image not being an ssl source; The page at   www.mysite.com/index.php/cloud/checkout  displayed insecure content from   www.mysite.com/media/com&#95;hikashop/upload/cloud&#95;security.jpg .  How can the image be referenced correctly?  Thanks, Paul")*

Nicolas,
Great, that fixed it.
Thank you very much.
Paul

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

14 years 4 months ago -  14 years 4 months ago [\#55380](#55380) by [jbozaan](/forum/user/7984-jbozaan "View jbozaan's Profile")  Replied by *[jbozaan](/forum/user/7984-jbozaan "View jbozaan's Profile")* on topic *[Re: SSL error in checkout due to product images](/forum/2-general-talk-about-hikashop/50466-ssl-error-in-checkout-due-to-product-images#55380 "Hikashop, I searched the forum but found no answer. My checkout pages do not report complete SSL encryption. The chrome inspect element report indicates that it is due to the product image not being an ssl source; The page at   www.mysite.com/index.php/cloud/checkout  displayed insecure content from   www.mysite.com/media/com&#95;hikashop/upload/cloud&#95;security.jpg .  How can the image be referenced correctly?  Thanks, Paul")*

Hi, I'm having this same issue and I tried this fix from Nicolas which worked, but when I use products that have more than one thumbnail I lose the larger image when you roll over the thumbnail. How do I fix this issue? You can see an example [ here.](http://www.shopjami.com/rings/product/127-abstract-butterfly-ring)

> nicolas wrote: You have something which is not configured properly in Joomla as Joomla is returning the non SSL URL of the website although the website is in SSL mode.
>
> Change the line:
> $this-&gt;uploadFolder\_url = JURI::base().$this-&gt;uploadFolder\_url;
> to:
> $this-&gt;uploadFolder\_url = JURI::base(true).$this-&gt;uploadFolder\_url;
>
> in the file administrator/components/com\_hikashop/helpers/image.php and that should circumvent the problem.

Last edit: 14 years 4 months ago by [jbozaan](/forum/user/7984-jbozaan "View jbozaan's Profile"). Reason: Left out a word.

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

14 years 4 months ago [\#55381](#55381) by [jbozaan](/forum/user/7984-jbozaan "View jbozaan's Profile")  Replied by *[jbozaan](/forum/user/7984-jbozaan "View jbozaan's Profile")* on topic *[Re: SSL error in checkout due to product images](/forum/2-general-talk-about-hikashop/50466-ssl-error-in-checkout-due-to-product-images#55381 "Hikashop, I searched the forum but found no answer. My checkout pages do not report complete SSL encryption. The chrome inspect element report indicates that it is due to the product image not being an ssl source; The page at   www.mysite.com/index.php/cloud/checkout  displayed insecure content from   www.mysite.com/media/com&#95;hikashop/upload/cloud&#95;security.jpg .  How can the image be referenced correctly?  Thanks, Paul")*

The problem seems to stem from a dropped / in the beginning of the URL, like this:
media/com_hikashop/upload/thumbnail_234x190/image.jpg

should be:
/media/com_hikashop/upload/thumbnail_234x190/image.jpg

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

14 years 4 months ago [\#55388](#55388) by [jbozaan](/forum/user/7984-jbozaan "View jbozaan's Profile")  Replied by *[jbozaan](/forum/user/7984-jbozaan "View jbozaan's Profile")* on topic *[Re: SSL error in checkout due to product images](/forum/2-general-talk-about-hikashop/50466-ssl-error-in-checkout-due-to-product-images#55388 "Hikashop, I searched the forum but found no answer. My checkout pages do not report complete SSL encryption. The chrome inspect element report indicates that it is due to the product image not being an ssl source; The page at   www.mysite.com/index.php/cloud/checkout  displayed insecure content from   www.mysite.com/media/com&#95;hikashop/upload/cloud&#95;security.jpg .  How can the image be referenced correctly?  Thanks, Paul")*

I found the fix, someone else posted it [ here.](http://www.phpkode.com/source/p/hikashop/back/helpers/image.php)
Code:

$this-&gt;uploadFolder_url = JURI::base(true).'/'.$this-&gt;uploadFolder_url;

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

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

[](#top)
