How to change the images default folder

  • Posts: 98
  • Thank you received: 3
  • Hikaauction Standard Hikamarket Multivendor Hikashop Business
22 hours 30 minutes ago #372024

-- HikaShop version -- : 6.4.1
-- Joomla version -- : 6
-- PHP version -- : 8.4

Hi Team

When adding some photos from the backend

How do I change the images default folder

with the

amazon s3 folder in content>media

Thank you

Last edit: 22 hours 27 minutes ago by lucad.

Please Log in or Create an account to join the conversation.

  • Posts: 85617
  • Thank you received: 14037
  • MODERATOR
12 hours 13 minutes ago #372025

Hi,

HikaShop does not use Joomla's Media Manager for its images, so it cannot upload into the Amazon S3 adapter you see under Content > Media. Those filesystem adapters only apply to Joomla's own Media Manager (articles and similar), not to HikaShop.

HikaShop has its own image handling with its own upload folder, which you can change in the HikaShop configuration (the "Upload folder" and "Secure upload folder" settings), but it has to be a local, writable path on the server, not a Joomla S3 adapter location.
www.hikashop.com/support/documentation/5...nfig.html#main_files

If your goal is to actually keep the product images on S3, two approaches work without any change to HikaShop:

1. Mount the S3 bucket as a local folder on your server (for example with s3fs or rclone mount) and set HikaShop's upload folder to that mount point. HikaShop keeps writing files normally and they end up on S3. Since HikaShop creates and reads many thumbnails, enable a local cache on the mount so it stays fast.
2. Keep HikaShop writing locally and use a CDN/offload setup to serve the media/com_hikashop/images folder from S3 or CloudFront, syncing that folder to the bucket.

Please Log in or Create an account to join the conversation.

Time to create page: 0.052 seconds
Powered by Kunena Forum