What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hey guys me again, as before I am using the spryker b2b demo shop, for some reason the glueAPI cata
Hey guys me again,
as before I am using the spryker b2b demo shop, for some reason the glueAPI catalogSearch returns all the products with image links that don't provide an image extension with the images.
So instead of example.jpg these links just provide example. React can't handle these images without extension so I am not able to use the image data.
Comments
-
sounds weird. Did you check, how do they look like in DB? Or - do they work in Yves? Iβm not sure the problem is on the Glue
0 -
@UKJSE6T47 if you have a spryker b2b shop running right now you can try this link
0 -
-
They work in yves just fine
0 -
ah, so youβre using the one-s we have in spryker demoshop ootb. What exactly you want to achieve here? I believe you can simply change the image of the product to the one you want to, with normal extension and give it a try.
These images are set like this (w.o. extension) in our demo-data files. You can search in data/ folder forcloudfront
and will find them0 -
I believe in your project you should have your own images
0 -
if you do it for testing / POC only, then just take couple of products and give them the βnormalβ image URLs with extensions
0 -
Well we used it for testing, but the approach you named doesn't work, simply adding a .jpg at the of the url throws an xml error
0 -
I mean not adding the jpg to that images, but changing the whole URL to something different, e.g. https://daily.jstor.org/wp-content/uploads/2019/05/the_quantum_random_number_generator_alt2_1050x700.jpg
or whatever0 -
for over 450 products? π
0 -
then weβre coming back to my question: what do you want to achieve? Would 2-3 products be enough for your test?
0 -
We wanted to showcase some functionality to our customer but we don't have their data yet, so yeah thats why we wanted to use your data.
0 -
Why are the images saved without extension in the first place?
0 -
they are not saved w.o. extension. They are specified in the demo-data w.o. extension.
0 -
Why are the images specified in the demo data w.o. extension.
0 -
That way it's not possible to display the demo data in any way while using the glue api. Atleast that I know off.
0 -
If a MIME type would be provided everything would be fine.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random