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

#   Product Image and Thumbnail Permission

##

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

Less More

- Posts: 6
- Thank you received: 2
-
-

6 years 2 months ago -  6 years 2 months ago [\#324013](#324013) by [sap-corp](/forum/user/57339-sap-corp "View sap-corp's Profile")  *[Product Image and Thumbnail Permission](/forum/26-product-category-display/900804-product-image-and-thumbnail-permission#324013 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 5.6.40  Until recently product images and their generated thumbnails had the permission set to 0755, but now they are 0640 causing the image to not display. When I manually change to 0644 or 0755 it displays correctly. Joomla may have just been updated. I'm not experiencing this issue on another site running 3.9.20.")* was created by *[sap-corp](/forum/user/57339-sap-corp "View sap-corp's Profile")*

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.21
-- PHP version -- : 5.6.40

Until recently product images and their generated thumbnails had the permission set to 0755, but now they are 0640 causing the image to not display. When I manually change to 0644 or 0755 it displays correctly.
Joomla may have just been updated. I'm not experiencing this issue on another site running 3.9.20.  [ ![Test1.png](/forum/attachment/50570) ](/forum/attachment/50570 "Test1.png")

[ ![Test2.png](/forum/attachment/50575) ](/forum/attachment/50575 "Test2.png")

[ ![Test3.png](/forum/attachment/50574) ](/forum/attachment/50574 "Test3.png")

[ ![Test4.png](/forum/attachment/50573) ](/forum/attachment/50573 "Test4.png")

- [ ![Test1.png](/forum/attachment/50570) ](/forum/attachment/50570 "Test1.png") [ ](/forum/attachment/50570?download=1 "Test1.png")
- [ ![Test4.png](/forum/attachment/50573) ](/forum/attachment/50573 "Test4.png") [ ](/forum/attachment/50573?download=1 "Test4.png")
- [ ![Test3.png](/forum/attachment/50574) ](/forum/attachment/50574 "Test3.png") [ ](/forum/attachment/50574?download=1 "Test3.png")
- [ ![Test2.png](/forum/attachment/50575) ](/forum/attachment/50575 "Test2.png") [ ](/forum/attachment/50575?download=1 "Test2.png")

Last edit: 6 years 2 months ago by [sap-corp](/forum/user/57339-sap-corp "View sap-corp's Profile").

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

Less More

- Posts: 86584
- Thank you received: 14325
-
-

6 years 2 months ago [\#324024](#324024) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product Image and Thumbnail Permission](/forum/26-product-category-display/900804-product-image-and-thumbnail-permission#324024 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 5.6.40  Until recently product images and their generated thumbnails had the permission set to 0755, but now they are 0640 causing the image to not display. When I manually change to 0644 or 0755 it displays correctly. Joomla may have just been updated. I'm not experiencing this issue on another site running 3.9.20.")*

Hi,

HikaShop is not setting any permission on the files when it save them. It simply uses the imagejpeg / imagegif / imagepng functions of PHP to save the files. So I would assume that these are the default permissions set by your PHP / server based on how the php.ini or your server user access settings are configured.
However, I searched a bit online and couldn't find information on how to change that and the php.net pages for these functions don't mention anything related to file permissions: [ www.php.net/manual/en/function.imagejpeg.php](https://www.php.net/manual/en/function.imagejpeg.php)

The following user(s) said Thank You: [sap-corp](/forum/user/57339-sap-corp "View sap-corp's Profile")

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

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

Less More

- Posts: 6
- Thank you received: 2
-
-

6 years 2 months ago -  6 years 2 months ago [\#324034](#324034) by [sap-corp](/forum/user/57339-sap-corp "View sap-corp's Profile")  Replied by *[sap-corp](/forum/user/57339-sap-corp "View sap-corp's Profile")* on topic *[Product Image and Thumbnail Permission](/forum/26-product-category-display/900804-product-image-and-thumbnail-permission#324034 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 5.6.40  Until recently product images and their generated thumbnails had the permission set to 0755, but now they are 0640 causing the image to not display. When I manually change to 0644 or 0755 it displays correctly. Joomla may have just been updated. I'm not experiencing this issue on another site running 3.9.20.")*

Thank you Nicolas for the guidance. We'll reach back out to our hosting provider about this! We also tested two sites that are on Joomla 3.9.20 one on the same shared hosting plan as this site and the other in a VPS and the VPS hosted site works fine while the other site on the shared hosting has the same issue.

Last edit: 6 years 2 months ago by [sap-corp](/forum/user/57339-sap-corp "View sap-corp's Profile").

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

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