Skip to main content

Image Path Not Working

More
13 years 8 months ago #83781 by BasketBox
When I use the image file path feature, the image does not appear on the frontend, but the default Hikashop image appears.

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

More
13 years 8 months ago #83816 by Mohamed Thelji
Hi,

Can you give us more information ? Where are you using your image ? How ? can you give us a link to your web site and some screen shots explaining how are you using your images ?

Thanks :).

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

More
13 years 8 months ago #83889 by BasketBox
Replied by BasketBox on topic Image Path Not Working
Steps to reproduce:

1. Upload set of images (in the case of a black mini box path is images/product_options/minibox/black_mini_box.jpg)
2. Go to product (i.e. Products - Gifts - Mini Box) and select a product (i.e. Dried Banana Chips - Mini)
3. Under Characteristics choose Manage Variants and choose Dried Banana Chips - Mini_6 for Black
4. Under Images, click Add. Set file mode to "Specify file location". Add image path and click OK.

Result is the barcode image rather than the image specified in the path.

I have tried this with the relative path to the image and the full url, both result in the barcode image.

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

More
13 years 8 months ago #84187 by Jerome
Replied by Jerome on topic Image Path Not Working
Hi,

The path which is used is the upload folder, not the image folder.
That's why the relative path does not work.

When thumbnails are generated, it uses our Image Helper which would open the image from the upload directory.
The generator would put the thumbnail image in the same "relative" path but for the "thumbnail_100x100" folder (or other values for other thumbnail sizes). If you put a absolute path, I am not sure that it would create a right thumbnail relative path.
We are working on a new thumbnail generator for HikaShop 2.0.1, I will see if we can improve it.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

Time to create page: 0.180 seconds
Powered by Kunena Forum