Category Image from server

  • Posts: 20
  • Thank you received: 1
8 years 5 months ago #259401

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.29
-- Browser(s) name and version -- : Firefox 49.0.1

Hi, i've the necessity to change the default category image with other images but if i click on category and upload a images from my pc the next day the image is disappear because i've an import of data in the night that delete the images of product that not correspond to a valid product
Thereis the possibility in category properties to add a button near the select to select images from server directly? or how i can do that ?

i want that the images are loaded from images/com_hikashop/upload/sottocat instead of images/com_hikashop/upload .

Or the problem is that with cvs import the category are reimported every night? and if it is the problem how i can specify path images from category in cvs file?

Thanks

Last edit: 8 years 5 months ago by parsifaltheking.

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

  • Posts: 83993
  • Thank you received: 13605
  • MODERATOR
8 years 5 months ago #259411

Hi,

Hard to say. If you have a categories_image column in your CSV, then yes, it would explain why the image is removed every time for the categories in the CSV since it means that you want to update the image of the categories.

You can't put category images in sub folders with the interface. You could do it by modifying the entry in the table hikashop_file in your database via PHPMyadmin and the file itself via FTP, but I doubt that it would change anything if the problem comes from the CSV reseting the image of the category.

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

  • Posts: 20
  • Thank you received: 1
8 years 5 months ago #259475

No, i havent in the cvs the column categories_image.. but in the folder the file is missing...

So if i modify the path with db and import from csv that not have the categories_image column the association from categories and image remain or is deleted when reimport from csv ?

I've open the table but i can't find the way to associate a category to an image; at example i've a category that have ID 149 and name aspirapolvere; i've to associate to images in path: www.siteweb.it/web/images/com_hikashop/u...at/aspirapolvere.jpg
How i can do that?

Last edit: 8 years 5 months ago by parsifaltheking.

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

  • Posts: 83993
  • Thank you received: 13605
  • MODERATOR
8 years 5 months ago #259509

Hi,

If you don't have the categories_image column in the CSV, it shouldn't modify the image of the category.

You would have to have an entry in the table hikashop_file with the file_red_id being the id of the category, the file_type being "category" and the file_path being sistema/sottocat/aspirapolvere.jpg

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

Time to create page: 0.058 seconds
Powered by Kunena Forum