-
Notifications
You must be signed in to change notification settings - Fork 139
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
Assets aren't assigned correctly if filename is the same #749
Comments
I'm encountering this same issue with regards to assets where the source file has the same filename, but different URL structure. When entries are created via FeedMe, that entries' correct images are imported and added, but the first "set" of images that aren't associated with that entry (just have the same filename, and are from the first entry imported), are also added to the entry. Has anyone come up with a solution here? Craft 3.8.14 |
Resolved in c78b5a5 and will be included in the next release! |
Great news! Thanks for letting me know
Pat
…On Fri, Nov 24, 2023 at 7:18 PM Brad Bell ***@***.***> wrote:
Resolved in c78b5a5
<c78b5a5>
and will be included in the next release!
—
Reply to this email directly, view it on GitHub
<#749 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAH7CA3VAJGUET3AVYFUG5LYGFPR3AVCNFSM4RUL5XIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBSGYZDAMBTGY3Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thank you @i-just & @angrybrad! |
Feel free to update the inaccurate title, I wasn't sure what to call this.
I have a site which imports about 500 entries from a JSON feed. I've recently tried to get it to also import images, and I've realised there's a couple of issues with it.
The URLs for separate entries look like this:
So the image file name is always the same, but the ID in the middle of the URL changes (as you can tell, this is Steam's external URL structure so I can't change it).
These URLs aren't included in Steam by default, I'm writing my own JSON file to overwrite the assets of 500 games already in the CMS.
When I run this import, there are 3 options for 'if exists', either:
Additionally, about 50% of the images it downloads get cut off partway, looks like it's not downloading correctly:
Best way I can think of to get around this is to add something to FeedMe that lets you change the name of the asset on import? So something like "import asset from URL and rename to
{{ entry.title }}-{{ existingFileName }}
.The text was updated successfully, but these errors were encountered: