Category images : no upload button

  • Posts: 190
  • Thank you received: 0
11 years 7 months ago #64989

Hi,
after 1.6 update, in the category image section, there is no more upload button. Just a browse one.
If I browse and save & quit, the image is uploaded, but not viewed in the category edition.
If I go back to edit category, there is just the bin icon and the browse one.
If I go to the category menu, there is the category tree, and my new image.

It was working previous to 1.6 update.
Thanks for having a look. Regards

Last edit: 11 years 7 months ago by codewarrior.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 7 months ago #64992

Hi,

Can you send me a screenshot ?
Can you tell me which browser are you using ?
If you try on our demo website, do you have the same problem ?

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

  • Posts: 190
  • Thank you received: 0
11 years 7 months ago #66729

Before saving :



After click on Save "Successfully saved" :



If I quit after the save, the picture category is OK.
If I edit again the category, I see no picture.

On your demo site, the picture is updated after the save (tried same .png picture)

I'm using Firefox 15.0.1

Attachments:

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 7 months ago #67012

Thank you for the report.
The problem is fixed by replacing the code:
<?php echo $this->image->display(@$this->element->file_path); ?>

by:
<?php echo $this->image->display(@$this->element->file_path,true,"",'','', 100, 100); ?>

in the "form" file of the view "category" via the menu Display->Views.

The following user(s) said Thank You: codewarrior

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

  • Posts: 190
  • Thank you received: 0
11 years 6 months ago #68102

Thank you Nicolas.
Will you correct it in futures versions ?

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 6 months ago #68337

Yes. It will be included in next version of HikaShop.

The following user(s) said Thank You: codewarrior

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

Time to create page: 0.084 seconds
Powered by Kunena Forum