+ Reply to Thread
Results 11 to 20 of 20
Thread: Merchant logo images not found
-
03-12-2015 12:39 PM #11
- Join Date
- Apr 2011
- Posts
- 262
But for merchant logo why do we need the query strings
-
03-12-2015 12:43 PM #12
Not all merchants have logos. We need the query string so we can create a merchant image for those that do not exist. Doing a database lookup on every image request to see what the merchant name is to create a flat file would be a terrible idea from a performance standpoint. On request, nginx checks to see if a file exists, if it doesn't it has to be created, and this is when we need the query string. We pass that over to the php script that then creates a static file so it can be served without any lookups or processing on the next request. We would otherwise need to use php to serve up images, and that is costly from a cpu standpoint when you have 120 million images to serve.
-
03-12-2015 05:29 PM #13
- Join Date
- Dec 2013
- Posts
- 462
Yep, my apologies. It was capped at 80 and never hit that limit until the recent name changes, and I just didn't see it with the ones I looked at since they appeared to be complete (although the ? should have been a tip-off). I've changed the field to be a text field with no limit.
-
03-12-2015 05:45 PM #14
No worries, just glad we figured out what it was
-
03-12-2015 09:38 PM #15
- Join Date
- Apr 2011
- Posts
- 262
So if i am to create the merchant logo url programmatically using the merchantId what additional parameters do i need to pass. Are these documented anywhere.
Last edited by ekgrin; 03-12-2015 at 10:38 PM.
-
03-20-2015 08:40 AM #16
- Join Date
- Dec 2013
- Posts
- 462
looks like a few of the merchant endpoint logos are blank white images now-- maybe 1 out of 10. Here's Kmart's url: http://images.prosperentcdn.com/imag...prosp=&m=Kmart
-
03-20-2015 08:54 AM #17
checking
-
03-20-2015 09:58 AM #18
Image was cached. I flushed the CDN cache.
-
03-20-2015 10:24 AM #19
- Join Date
- Dec 2013
- Posts
- 462
That took care of it. Quite a few logos are generic words without images. This is old news I know - I remember some discussion a while back. Are those going to be switched any time soon? Simple example for Saks Fifth Avenue: http://images.prosperentcdn.com/imag...Fifth%20Avenue Thought I'd ask since you said you are working on the logos recently
-
03-20-2015 12:47 PM #20
We go through logos regularly. With over 4,000 merchants, and it being an entirely manual process, I wouldn't expect full coverage anytime soon. We try to get our top merchants taken care of regularly.