- Posts: 222
- Thank you received: 1
images from joomla media folder
Vero
Please Log in or Create an account to join the conversation.
In a future version of HikaShop it will be possible to select an image instead of always upload it.
But it won't be possible to select an image from the Joomla media folder, only from the HikaShop image folder.
The HikaShop image folder contains the images and also some thumbnails, it has a special structure/organization.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
I want to ask how to add fields to the categories from which to select a photo from the folder HikaShop photos, just like in products pages?
Please Log in or Create an account to join the conversation.
If you want to add categories (folders) for the images, you need to go in the folder where the images are stored via FTP and create folders. The default folder is media/com_hikashop/upload
Please Log in or Create an account to join the conversation.
=====================================================================================
Its me agan, i find the solution
<div style="float:right">
<?php
echo $this->popup->display(
'<img src="'.HIKASHOP_IMAGES.'add.png"/>'.JText::_('ADD'),
'ADD',
hikashop_completeLink("product&task=selectimage&product_id=".@$this->element->product_id,true),
'image_add_button',
860, 480, '', '', 'button'
);
?>
<?php
echo $this->popup->display(
'<img src="'.HIKASHOP_IMAGES.'go.png"/>'.JText::_('SELECT'),
'SELECT',
hikashop_completeLink("product&task=galleryimage&product_id=".@$this->element->product_id,true),
'image_gallery_button',
860, 480, '', '', 'button'
);
?>
</div>
right after:
<?php
echo $this->popup->display(
'<img src="'.HIKASHOP_IMAGES.'add.png"/>'.JText::_('ADD'),
'ADD',
hikashop_completeLink("product&task=selectimage&product_id=".@$this->element->product_id,true),
'image_add_button',
860, 480, '', '', 'button'
);
?>
============================
Buttons working well and they open desired directory "media / com_hikashop / upload/" but image cant change with new chosen......
Please Log in or Create an account to join the conversation.
The code change that you provided doesn't work on my end.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
There is no expected date at the moment. It's on our todo list but not a high priority at the moment.
You can always link the categories and the images together by using the CSV import system to upload a CSV of the categories with the categories_image column filled with the name of the image you want for each category. The system will automatically link the category with the corresponding image in the upload folder.
Please Log in or Create an account to join the conversation.
- Posts: 5
- Thank you received: 1
Please Log in or Create an account to join the conversation.
This has been added years ago.
When you edit a category, you have a + button which will open a popup where you'll be able to select the images you want to use:
monosnap.com/file/nxyAdrVuFQLdrbwuzBZfOMYngUKex5
Please Log in or Create an account to join the conversation.
- Posts: 5
- Thank you received: 1
nicolas wrote: Hi,
When you edit a category, you have a + button which will open a popup where you'll be able to select the images you want to use:
monosnap.com/file/nxyAdrVuFQLdrbwuzBZfOMYngUKex5
Sorry, I obviously didn't explain myself properly. I want to be able to access images that already exist in Joomla and have been used in articles, for instance, but I only get offered the 'HikaShop Images' folder and cannot access other media folders.
Please Log in or Create an account to join the conversation.
Just change the "upload folder" setting of the HikaShop configuration to point to the folder where your other medias are stored and you'll see them in the selector popup.
Please Log in or Create an account to join the conversation.