Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIM > Magento 2 EE - Image name imported to Magento with filehash #221

Open
jmadviser opened this issue Nov 5, 2019 · 4 comments
Open

Comments

@jmadviser
Copy link

jmadviser commented Nov 5, 2019

ISSUE: When importing images/assets to magento 2 the file hash is added to file name; Magento has 90 characters limit when storing filenames.

EXAMPLE: apple.jpg is imported as 493be8e08ab8635a982982d49f7c92e42365910b_apple.jpg

I cannot see any configuration settings in Magento 2 to manage the filenames.

What fix is in place to overcome the 90 character limit on Magento?

Thanks.

@tim-bancroft-akeneo
Copy link

Hi. We have investigated the issue further with the client and they have provided a screenshot of the error that they are experiencing. Please could you evaluate the error and provide advisement on what may be preventing the images from importing?

@tim-bancroft-akeneo
Copy link

image

@tim-bancroft-akeneo
Copy link

The image in question that is failing is less than 90 characters when uploaded into Akeneo
GS0021W_willow_cane_garden_screening_MAIN_8906-logo

When looking at how Akeneo renders the image it looks like Akeneo may be prepending a random string when creating the image, which is causing the image name to be longer than 90 characters.

background-image: url("/media/show/f%252F6%252F2%252F8%252Ff628420ac4ea6754dd813ed0b207ca8d4ff87104_GS0021W_willow_cane_garden_screening_MAIN_8906_logo.jpg/preview"); background-size: 648.426px 865px; display: block;

@alinolandry
Copy link

alinolandry commented Feb 18, 2021

I have a same issue, How we can solve it? I don't want to rename my image, I need some configuration to overcome the 90 characters.
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants