Cannot display this photo

  • Posts: 156
  • Thank you received: 5
  • Hikashop Business
3 days 7 hours ago #371377

-- url of the page with the problem -- : nordicdental.dk

Hi
Hikashop cannot display this added picture in product.
Can you tell me why?
Br.
Peter

Attachments:

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

  • Posts: 85393
  • Thank you received: 13962
  • MODERATOR
3 days 2 hours ago #371378

Hi Peter,

I tested the image from your attachment and it works fine on my end with HikaShop.

This means the issue is likely specific to your server configuration. Please check the following:

1. Check your PHP memory limit in System > System Information > PHP Information. Search for "memory_limit". If it's 128MB or less, try increasing it to 256M.
2. Check that the GD library is enabled in PHP (also visible in PHP Information, search for "gd").
3. Check if your original image file is the same as the one you attached here, or if it's a larger version. If the original is a high-resolution photo from a camera, try resizing it to 1200x1200 pixels before uploading.
4. Check the file permissions on your HikaShop upload folder (media/com_hikashop/upload/). It should be writable by the web server.

If the problem persists, please enable the Joomla error reporting (System > Configuration > Server > Error Reporting > Maximum) and try uploading again. The error message should help identify the exact cause.

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

  • Posts: 156
  • Thank you received: 5
  • Hikashop Business
2 days 11 hours ago #371380

Simply says that memory is set to 1024 mb.
If I take the photo from a folder, then it is not working. If I take another photo from another folder, then it is working. Strange.
If I drag and drop, then it is working and it is showing.
I generated the photos for this product group with Photoshop as a mass action. I think the files are ok.
The resolution on thise photos are 72
This is wierd.
It do not comes with any fail in back end on product when insert a photo.

In front end it says this:
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /var/www/nordicdental.dk/public_html/administrator/components/com_hikashop/classes/address.php on line 576

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /var/www/nordicdental.dk/public_html/administrator/components/com_hikashop/classes/address.php on line 576
Ziacom - Dental Implant.Galaxy®.TT. (Titansure) GLY3485

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

  • Posts: 156
  • Thank you received: 5
  • Hikashop Business
2 days 10 hours ago #371383

I tried to make the photo manual...same same.

Wher do I make the choose photo window bigger, it is too small.

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

  • Posts: 85393
  • Thank you received: 13962
  • MODERATOR
2 days 6 hours ago #371385

Hi Peter,

We have identified both issues:

1. Images from subfolders: There was a bug in your build of HikaShop 6.4.0 where images stored in subfolders of the upload directory could not be selected from the gallery. This was fixed in a later build of 6.4.0.
2. Deprecation errors on address.php line 576: This was a PHP 8.3 compatibility issue where a null value was used as an array key when no user is logged in. We have now fixed this as well.

Both fixes are included in the latest build of HikaShop 6.4.0. Please re-download and re-install HikaShop from your member area on our website. Your configuration and data will be preserved during the update.

Regarding the photo selection window size, in the latest build you can now configure it. After updating, go in your phpMyAdmin, open the hikashop_config table and add to it entries with the namekey gallery_popup_width and gallery_popup_height and the number of pixels you want for the width / height of the popup.

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

  • Posts: 156
  • Thank you received: 5
  • Hikashop Business
2 days 2 hours ago #371389

Hi Nicolas

Now photos are working:-)

I do not understand about hikashop_config table

Can you send a screenshoot how it is going to look?

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

  • Posts: 85393
  • Thank you received: 13962
  • MODERATOR
1 day 12 hours ago #371390

Hi,

Are you able to use PHPMyAdmin to access your website database ?
There, you should find the hikashop_config table. Were you able to find it and open it ?
If so, you should have an "insert" button at the top.
Then, on the insert screen, you should have an input field for config_namekey where you can enter a namekey ( for example gallery_popup_width ) and config_value where you can enter a value ( for example 1080 ). Then, just validate.

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

  • Posts: 156
  • Thank you received: 5
  • Hikashop Business
1 day 12 hours ago #371391

I can insert option, is this what you mean?

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

  • Posts: 156
  • Thank you received: 5
  • Hikashop Business
1 day 10 hours ago #371393

If I rename the photo folders, the photos disapear on products.
This has never happend before???

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

  • Posts: 85393
  • Thank you received: 13962
  • MODERATOR
1 day 7 hours ago #371394

Well, if you have images in a folder and they are linked to products, if you rename that folder it's normal that the images in that folder are not found anymore.

if the folder you renamed is a subfolder of the upload folder, you would have to update each product using the images in the renamed folder.
If the folder you renamed is part of the path of the upload folder, you would have to change that setting accordingly :
www.hikashop.com/support/documentation/5...nfig.html#main_files

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

  • Posts: 156
  • Thank you received: 5
  • Hikashop Business
13 hours 2 minutes ago #371405

Hi Nicolas
I have renamed a folder so it is in the top now, because the window for choose product photos is to small. And I have to scoll 2 places to find the photo, not only one. Maybe you should make the window bigger or make it possible to resize with the mouse, just like you resize a browser or folder window in Windows.
Eveory time I need to add a photo the procedure is too long, when the folder is not visible.
I am sure I have renamed folders before without any changes.

Another thing I saw was if I make a new product, and it happens that there is another product with same name/ URL, then it goes to a error page after closing. Normal it just go back to product list.
I deactivated the custom_quantity now, maybe it makes problems.

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

  • Posts: 156
  • Thank you received: 5
  • Hikashop Business
12 hours 19 minutes ago #371407

I made it 1200 x 900, but it did not change menu height.
The menu height should follow the popup height.
It also only show photos in 3 lines, not in the full window.

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

  • Posts: 85393
  • Thank you received: 13962
  • MODERATOR
7 hours 49 minutes ago #371409

Hi,

Indeed, the content of the popup doesn't adapt well. We'll have to rethink this for the next release of HikaShop as this is getting more complex than a small patch.
Thanks for your feedback. Next version will have that taken care of.

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

  • Posts: 156
  • Thank you received: 5
  • Hikashop Business
7 hours 15 minutes ago #371410

It sounds great.
Can I do something tempory, so I can see all my menu, because I need to rename the folders, so they have the right possition before adding photos?

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

  • Posts: 85393
  • Thank you received: 13962
  • MODERATOR
3 hours 59 minutes ago #371412

Well, you can edit the view file via the menu Display>Views and add your own customization in order to adapt it. However, it's not just one or two lines to add.
Regarding renaming the folders, you can do so via FTP, but you will lose the links between the products and images in these folders. You would have to update the entries using these folders in the hikashop_file table via your PHPMyAdmin.

The next release will be available soon.

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

Time to create page: 0.063 seconds
Powered by Kunena Forum