- Posts: 50
- Thank you received: 3
Underscore (_) in image names imports as a space
- TerryHikashop
-
Topic Author
- Offline
Less
More
12 years 6 months ago #147526
by TerryHikashop
Underscore (_) in image names imports as a space was created by TerryHikashop
Trying to import thousands of products. Most have one or more _ in the file name and the images won't show up because the name in the product page is listed wrong.
Actual file name of the image and in the .csv file:
product1_l.jpg
Imported name in product:
product1 l
Actual file name of the image and in the .csv file:
product1_l.jpg
Imported name in product:
product1 l
Please Log in or Create an account to join the conversation.
12 years 6 months ago #147543
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Underscore (_) in image names imports as a space
Hi,
Can you please indicate the HikaShop version number you are using ?
Thanks
Can you please indicate the HikaShop version number you are using ?
Thanks
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- TerryHikashop
-
Topic Author
- Offline
Less
More
- Posts: 50
- Thank you received: 3
12 years 6 months ago #147566
by TerryHikashop
Replied by TerryHikashop on topic Underscore (_) in image names imports as a space
That is on my work computer, I can check tomorrow. We are testing, it is the latest version of HikaShop Starter on Joomla 3.2.3
Please Log in or Create an account to join the conversation.
12 years 6 months ago #147569
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Underscore (_) in image names imports as a space
Hi,
Please indicate your HikaShop version number.
"Latest" is not a version number.
Regards,
Please indicate your HikaShop version number.
"Latest" is not a version number.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- TerryHikashop
-
Topic Author
- Offline
Less
More
- Posts: 50
- Thank you received: 3
12 years 6 months ago #147601
by TerryHikashop
Replied by TerryHikashop on topic Underscore (_) in image names imports as a space
HikaShop Starter: 2.3.0
Please Log in or Create an account to join the conversation.
12 years 6 months ago #147657
by Xavier
Replied by Xavier on topic Underscore (_) in image names imports as a space
Hi,
The file name is correct, we take the file path, replace the '_' and remove the file extension to have a better file name for SEO improvement.
Thanks to check if the file path is correct.
The file name is correct, we take the file path, replace the '_' and remove the file extension to have a better file name for SEO improvement.
Thanks to check if the file path is correct.
Please Log in or Create an account to join the conversation.
- TerryHikashop
-
Topic Author
- Offline
Less
More
- Posts: 50
- Thank you received: 3
12 years 6 months ago #147969
by TerryHikashop
Replied by TerryHikashop on topic Underscore (_) in image names imports as a space
We have upgraded to HikaShop Business.
Now we need to get our products imported but the images do not show up on our product pages, so how do we prevent the replacement of the '_' and removal of the file extension?
Now we need to get our products imported but the images do not show up on our product pages, so how do we prevent the replacement of the '_' and removal of the file extension?
Please Log in or Create an account to join the conversation.
12 years 6 months ago #147977
by Xavier
Replied by Xavier on topic Underscore (_) in image names imports as a space
Hi,
As I said previously, thanks to check the file path in database and not the file name.
It's the file path which is used for the links.
Could you give us a link to your website in order to see how are formatted the image urls ?
As I said previously, thanks to check the file path in database and not the file name.
It's the file path which is used for the links.
Could you give us a link to your website in order to see how are formatted the image urls ?
Please Log in or Create an account to join the conversation.
- TerryHikashop
-
Topic Author
- Offline
Less
More
- Posts: 50
- Thank you received: 3
12 years 6 months ago #148163
by TerryHikashop
Replied by TerryHikashop on topic Underscore (_) in image names imports as a space
Yes, I will try to give you that information:
Steps:
I uploaded NEBO10027_l.jpg to my folder:
/public_html/media/com_hikashop/upload.
I can then view that image in the browser:
www.heatersrus.com/media/com_hikashop/upload/NEBO10027_l.jpg
Then I imported my products including that item which is my product_code: NEBO10027
At that point the system creates the product and in the images section I see that the image is not appearing and the Name of the image is listed as NEBO10027 l
only the default image is showing
And I see that the image has disappeared from /public_html/media/com_hikashop/upload
And the file is now not found:
www.heatersrus.com/media/com_hikashop/upload/NEBO10027_l.jpg
And the image does not show up on our page at
www.heatersrus.com/products/categories/product/6007
and only the default image is showing
Steps:
I uploaded NEBO10027_l.jpg to my folder:
/public_html/media/com_hikashop/upload.
I can then view that image in the browser:
www.heatersrus.com/media/com_hikashop/upload/NEBO10027_l.jpg
Then I imported my products including that item which is my product_code: NEBO10027
At that point the system creates the product and in the images section I see that the image is not appearing and the Name of the image is listed as NEBO10027 l
only the default image is showing
And I see that the image has disappeared from /public_html/media/com_hikashop/upload
And the file is now not found:
www.heatersrus.com/media/com_hikashop/upload/NEBO10027_l.jpg
And the image does not show up on our page at
www.heatersrus.com/products/categories/product/6007
and only the default image is showing
Please Log in or Create an account to join the conversation.
12 years 6 months ago #148192
by nicolas
Replied by nicolas on topic Underscore (_) in image names imports as a space
Hi,
I'm getting a 404 error when I try to display your image www.heatersrus.com/media/com_hikashop/upload/NEBO10027_l.jpg
So it seems that it is not there.
Also, please provide the CSV that you're using.
If you don't get the image displayed on the product page, it means that the filename of the image in the upload folder and the filename that you put in the CSV are not the same. It's not related to the fact that HikaShop change the _ to space for the name of the image (which is different from its filename).
I'm getting a 404 error when I try to display your image www.heatersrus.com/media/com_hikashop/upload/NEBO10027_l.jpg
So it seems that it is not there.
Also, please provide the CSV that you're using.
If you don't get the image displayed on the product page, it means that the filename of the image in the upload folder and the filename that you put in the CSV are not the same. It's not related to the fact that HikaShop change the _ to space for the name of the image (which is different from its filename).
The following user(s) said Thank You: TerryHikashop
Please Log in or Create an account to join the conversation.
- TerryHikashop
-
Topic Author
- Offline
Less
More
- Posts: 50
- Thank you received: 3
12 years 6 months ago #148283
by TerryHikashop
Replied by TerryHikashop on topic Underscore (_) in image names imports as a space
We have resolved the issue. Thank you.
NEBO10027_l.jpg was missing from the folder.
Some other images did not display for other reasons that we can fix
NEBO10027_l.jpg was missing from the folder.
Some other images did not display for other reasons that we can fix
Please Log in or Create an account to join the conversation.
Time to create page: 0.289 seconds