Join Free
+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 30
  1. #1

    Next size of images and solution for some low quality images

    1) Is possible add one more size of product images? I would like to have something between 125x125 and 250x250, it can be 180x180 or 175x175.

    I was using 250x250 and resize it with html atributes to 180x180, but it takes a long time to load. I changed it to 125x125, but it seems to be too small.

    2) I was checking structure of images url and some merchants give you really poor quality of images. But they still have on their sites high quality images.

    Code:
    zappos.com (also 6pm)
    www.zappos.com/images/z/3/6/4/364840-t-THUMBNAIL.jpg
    www.zappos.com/images/z/3/6/4/364840-p-DETAILED.jpg
    
    backcountry
    content.backcountry.com/images/items/small/ALP/ALP0219/BLU.jpg
    content.backcountry.com/images/items/large/ALP/ALP0219/BLU.jpg
    
    ProBoardShop
    images.proboardshop.com/burt-rocknroll-duffle-bag-graphite-07-thumb.jpg
    images.proboardshop.com/burt-rocknroll-duffle-bag-graphite-07-prod.jpg
    
    The House
    images.the-house.com/burt-poacher-jkt-stoutwhttrublk-12-thumb.jpg
    images.the-house.com/burt-poacher-jkt-stoutwhttrublk-12-prod.jpg
    
    Becker Surfboards
    beckersurf.com/images/products/SKU_T_14049234.jpg
    beckersurf.com/images/products/SKU_D_14049234.jpg
    
    Cellular Factory
    http://www.cellularfactory.com/pc-HTC-44779.jpg
    http://www.cellularfactory.com/pc-HTC-44779a.jpg
    Zappos (6pm):
    image url from API:
    Code:
    http://img1.prosperent.com/images/250x250/www.zappos.com/images/z/1/5/7/8/0/2/1578024-t-THUMBNAIL.jpg


    High quality image (just replaced p-DETAILED for t-THUMBNAIL):
    Code:
    http://img1.prosperent.com/images/250x250/www.zappos.com/images/z/1/5/7/8/0/2/1578024-p-DETAILED.jpg



    Backcountry:



    And there are other merchants. I think that you can implement this string replacer for some big merchants on your side and return us url of HQ image.
    Last edited by 312k1t; 02-06-2012 at 12:57 AM. Reason: Cellular Factory

  2. #2
    Administrator Prosperent Andrew's Avatar
    Join Date
    Apr 2011
    Location
    Colorado Springs, CO
    Posts
    378
    I think that you can implement this string replacer for some big merchants on your side and return us url of HQ image
    We can definitely do this. Let us know what other merchants you find that provide us with low quality image urls that can be changed to high quality urls.

    As far as providing another image size, we would have to process and store 50 million more images. If you like, we can provide you the image resizing script so that you can process and store what you need on your end.

  3. #3
    We made the change for Zappos, 6pm, and backcountry. Now, we are removing the cached images for each from our image servers. I have no eta for how long that will take, but you should start seeing the new images trickle in here shortly.

  4. #4
    Quote Originally Posted by Prosperent Andrew View Post
    Let us know what other merchants you find that provide us with low quality image urls that can be changed to high quality urls.
    This is from a while ago and I spent some time cleaning the poor images for my MFPmu installs. Might as well let you guys do it on your end:

    PHP Code:
            // Diamond.com _sc.jpg -> .jpg
            
    if (strpos($arFeed[$intProdKey]['image_url'],"Diamond.com") !== false and strpos($arFeed[$intProdKey]['image_url'],"_Thumbnail.jpg") !== false$arFeed[$intProdKey]['image_url'] = str_replace("_Thumbnail.jpg","_Image.jpg",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"Diamond.com") !== false and strpos($arFeed[$intProdKey]['image_thumb_url'],"_Thumbnail.jpg") !== false$arFeed[$intProdKey]['image_thumb_url'] = str_replace("_Thumbnail.jpg","_Image.jpg",$arFeed[$intProdKey]['image_thumb_url']);

            
    // bestbuy.com _sc.jpg -> .jpg
            
    if (strpos($arFeed[$intProdKey]['image_url'],"bestbuy.com") !== false and strpos($arFeed[$intProdKey]['image_url'],"_sc.jpg") !== false$arFeed[$intProdKey]['image_url'] = str_replace("_sc.jpg","_sb.jpg",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"bestbuy.com") !== false and strpos($arFeed[$intProdKey]['image_thumb_url'],"_sc.jpg") !== false$arFeed[$intProdKey]['image_thumb_url'] = str_replace("_sc.jpg","_sb.jpg",$arFeed[$intProdKey]['image_thumb_url']);
                    
            
    // golfsmith.com _sm.jpg -> .jpg
            
    if (strpos($arFeed[$intProdKey]['image_url'],"golfsmith.com") !== false and strpos($arFeed[$intProdKey]['image_url'],"_sm.jpg") !== false$arFeed[$intProdKey]['image_url'] = str_replace("_sm.jpg",".jpg",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"golfsmith.com") !== false and strpos($arFeed[$intProdKey]['image_thumb_url'],"_sm.jpg") !== false$arFeed[$intProdKey]['image_thumb_url'] = str_replace("_sm.jpg",".jpg",$arFeed[$intProdKey]['image_thumb_url']);
                    
            
    // musiciansfriend.com products/tn/ -> products/regular/
            
    if (strpos($arFeed[$intProdKey]['image_url'],"musiciansfriend.com") !== false and strpos($arFeed[$intProdKey]['image_url'],"products/tn/") !== false$arFeed[$intProdKey]['image_url'] = str_replace("products/tn/","products/regular/",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"musiciansfriend.com") !== false and strpos($arFeed[$intProdKey]['image_thumb_url'],"products/tn/") !== false$arFeed[$intProdKey]['image_thumb_url'] = str_replace("products/tn/","products/regular/",$arFeed[$intProdKey]['image_thumb_url']);
                    
            
    // cosmeticmall.com s_images -> xl_images
            
    if (strpos($arFeed[$intProdKey]['image_url'],"cosmeticmall.com") !== false and strpos($arFeed[$intProdKey]['image_url'],"s_images") !== false$arFeed[$intProdKey]['image_url'] = str_replace("s_images","xl_images",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"cosmeticmall.com") !== false and strpos($arFeed[$intProdKey]['image_thumb_url'],"s_images") !== false$arFeed[$intProdKey]['image_thumb_url'] = str_replace("s_images","xl_images",$arFeed[$intProdKey]['image_thumb_url']);
                    
            
            
    // northerntool.com _med.gif -> _lg.jpg
            
    if (strpos($arFeed[$intProdKey]['image_url'],"northerntool.com") !== false and strpos($arFeed[$intProdKey]['image_url'],"_med.gif") !== false$arFeed[$intProdKey]['image_url'] = str_replace("_med.gif","_lg.jpg",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"northerntool.com") !== false and strpos($arFeed[$intProdKey]['image_thumb_url'],"_med.gif") !== false$arFeed[$intProdKey]['image_thumb_url'] = str_replace("_med.gif","_lg.jpg",$arFeed[$intProdKey]['image_thumb_url']);
                    
        
    // wine.com m.jpg -> l.jpg
            
    if (strpos($arFeed[$intProdKey]['image_url'],"wine.com") !== false and strpos($arFeed[$intProdKey]['image_url'],"m.jpg") !== false$arFeed[$intProdKey]['image_url'] = str_replace("m.jpg","l.jpg",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"wine.com") !== false and strpos($arFeed[$intProdKey]['image_thumb_url'],"m.jpg") !== false$arFeed[$intProdKey]['image_thumb_url'] = str_replace("m.jpg","l.jpg",$arFeed[$intProdKey]['image_thumb_url']);
                    
            
    // Drugstore.com /100.jpg -> /300.jpg
            
    if (strpos($arFeed[$intProdKey]['image_url'],"Drugstore.com") !== false and strpos($arFeed[$intProdKey]['image_url'],"/100.jpg") !== false$arFeed[$intProdKey]['image_url'] = str_replace("/100.jpg","/300.jpg",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"Drugstore.com") !== false and strpos($arFeed[$intProdKey]['image_thumb_url'],"/100.jpg") !== false$arFeed[$intProdKey]['image_thumb_url'] = str_replace("/100.jpg","/300.jpg",$arFeed[$intProdKey]['image_thumb_url']);
            
            
    // dell.com /products/ -> /products/large/
            
    if (strpos($arFeed[$intProdKey]['image_url'],"dell.com") !== false and strpos($arFeed[$intProdKey]['image_url'],"/products/") !== false$arFeed[$intProdKey]['image_url'] = str_replace("/products/","/products/large/",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"dell.com") !== false and strpos($arFeed[$intProdKey]['image_thumb_url'],"/products/") !== false$arFeed[$intProdKey]['image_thumb_url'] = str_replace("/products/","/products/large/",$arFeed[$intProdKey]['image_thumb_url']);
                                    
            
    // altrec
            
    if (strpos($arFeed[$intProdKey]['image_url'],"altrec") !== false and substr($arFeed[$intProdKey]['image_url'],-6) == "_x.jpg"$arFeed[$intProdKey]['image_url'] = str_replace("_x.jpg","_d.jpg",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"altrec") !== false and substr($arFeed[$intProdKey]['image_thumb_url'],-6) == "_x.jpg"$arFeed[$intProdKey]['image_thumb_url'] = str_replace("_x.jpg","_d.jpg",$arFeed[$intProdKey]['image_thumb_url']);
            
            
    // onlinesports /tn/ -> /
            
    if (strpos($arFeed[$intProdKey]['image_url'],"onlinesports") !== false and strpos($arFeed[$intProdKey]['image_url'],"/tn/") !== false$arFeed[$intProdKey]['image_url'] = str_replace("/tn/","/",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"onlinesports") !== false and strpos($arFeed[$intProdKey]['image_thumb_url'],"/tn/") !== false$arFeed[$intProdKey]['image_thumb_url'] = str_replace("/tn/","/",$arFeed[$intProdKey]['image_thumb_url']);
            
            
    // the-house.com -thumb.jpg -> -zoom.jpg
            
    if (strpos($arFeed[$intProdKey]['image_url'],"the-house.com") !== false and strpos($arFeed[$intProdKey]['image_url'],"-thumb.jpg") !== false$arFeed[$intProdKey]['image_url'] = str_replace("-thumb.jpg","-zoom.jpg",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"the-house.com") !== false and strpos($arFeed[$intProdKey]['image_thumb_url'],"-thumb.jpg") !== false$arFeed[$intProdKey]['image_thumb_url'] = str_replace("-thumb.jpg","-zoom.jpg",$arFeed[$intProdKey]['image_thumb_url']);
            
            
    // blair
            
    if (strpos($arFeed[$intProdKey]['image_url'],"blair") !== false and substr($arFeed[$intProdKey]['image_url'],-10) == "_84x84.jpg"$arFeed[$intProdKey]['image_url'] = str_replace("_84x84.jpg","_356x356.jpg",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"blair") !== false and substr($arFeed[$intProdKey]['image_thumb_url'],-10) == "_84x84.jpg"$arFeed[$intProdKey]['image_thumb_url'] = str_replace("_84x84.jpg","_356x356.jpg",$arFeed[$intProdKey]['image_thumb_url']);
            
            
    // generic /small/ to /large/
            
    if (strpos($arFeed[$intProdKey]['image_url'],"/small/")) $arFeed[$intProdKey]['image_url'] = str_replace("/small/","/large/",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"/small/")) $arFeed[$intProdKey]['image_thumb_url'] = str_replace("/small/","/large/",$arFeed[$intProdKey]['image_thumb_url']);
            
            
    // toysrus.com t130.jpg -> dt.jpg
            
    if (strpos($arFeed[$intProdKey]['image_url'],"t130.jpg")) $arFeed[$intProdKey]['image_url'] = str_replace("t130.jpg","dt.jpg",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"t130.jpg")) $arFeed[$intProdKey]['image_thumb_url'] = str_replace("t130.jpg","dt.jpg",$arFeed[$intProdKey]['image_thumb_url']);

            
    // newegg.com 200 -> 300
            
    if (strpos($arFeed[$intProdKey]['image_url'],"ProductImageCompressAll200")) $arFeed[$intProdKey]['image_url'] = str_replace("ProductImageCompressAll200","ProductImageCompressAll300",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"ProductImageCompressAll200")) $arFeed[$intProdKey]['image_thumb_url'] = str_replace("ProductImageCompressAll200","ProductImageCompressAll300",$arFeed[$intProdKey]['image_thumb_url']);

            
    // gamestop.com /sbox/ -> /lbox/
            
    if (strpos($arFeed[$intProdKey]['image_url'],"/sbox/") !== false){
                
    $arFeed[$intProdKey]['image_url'] = str_replace("/sbox/","/lbox/",$arFeed[$intProdKey]['image_url']);
                
    $arFeed[$intProdKey]['image_url'] = str_replace("a.jpg","b.jpg",$arFeed[$intProdKey]['image_url']);
            }
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"/sbox/") !== false){
                
    $arFeed[$intProdKey]['image_thumb_url'] = str_replace("/sbox/","/lbox/",$arFeed[$intProdKey]['image_thumb_url']);
                
    $arFeed[$intProdKey]['image_thumb_url'] = str_replace("a.jpg","b.jpg",$arFeed[$intProdKey]['image_thumb_url']);
            }

            
    // pcrush /sbox/ -> /lbox/
            
    if (strpos($arFeed[$intProdKey]['image_url'],"pcrush") !== false and strpos($arFeed[$intProdKey]['image_url'],"/product/") !== false){
                
    $arFeed[$intProdKey]['image_url'] = str_replace("/product/","/hi-res/",$arFeed[$intProdKey]['image_url']);
                
    $arFeed[$intProdKey]['image_url'] = str_replace(".gif",".jpg",$arFeed[$intProdKey]['image_url']);
            }
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"pcrush") !== false and strpos($arFeed[$intProdKey]['image_thumb_url'],"/product/") !== false){
                
    $arFeed[$intProdKey]['image_thumb_url'] = str_replace("/product/","/hi-res/",$arFeed[$intProdKey]['image_thumb_url']);
                
    $arFeed[$intProdKey]['image_thumb_url'] = str_replace(".gif",".jpg",$arFeed[$intProdKey]['image_thumb_url']);
            }

            
    // freshtrends /thumb/ -> /full/
            
    if (strpos($arFeed[$intProdKey]['image_url'],"freshtrends") !== false and strpos($arFeed[$intProdKey]['image_url'],"/thumb/") !== false$arFeed[$intProdKey]['image_url'] = str_replace("/thumb/","/full/",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"freshtrends") !== false and strpos($arFeed[$intProdKey]['image_thumb_url'],"/thumb/") !== false$arFeed[$intProdKey]['image_thumb_url'] = str_replace("/thumb/","/full/",$arFeed[$intProdKey]['image_thumb_url']);

            
    // activeforever /icon/ -> /large/
            
    if (strpos($arFeed[$intProdKey]['image_url'],"activeforever") !== false and strpos($arFeed[$intProdKey]['image_url'],"/icon/") !== false$arFeed[$intProdKey]['image_url'] = str_replace("/icon/","/large/",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"activeforever") !== false and strpos($arFeed[$intProdKey]['image_thumb_url'],"/icon/") !== false$arFeed[$intProdKey]['image_thumb_url'] = str_replace("/icon/","/large/",$arFeed[$intProdKey]['image_thumb_url']);

            
    // -t-THUMBNAIL.jpg to -p-MULTIVIEW.jpg
            
    if (strpos($arFeed[$intProdKey]['image_url'],"-t-THUMBNAIL.jpg")) $arFeed[$intProdKey]['image_url'] = str_replace("-t-THUMBNAIL.jpg","-p-MULTIVIEW.jpg",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"-t-THUMBNAIL.jpg")) $arFeed[$intProdKey]['image_thumb_url'] = str_replace("-t-THUMBNAIL.jpg","-p-MULTIVIEW.jpg",$arFeed[$intProdKey]['image_thumb_url']);

            
    // sams club /img_size_211x208/ -> /img_size_250x250/
            
    if (strpos($arFeed[$intProdKey]['image_url'],"/img_size_211x208/")) $arFeed[$intProdKey]['image_url'] = str_replace("/img_size_211x208/","/img_size_250x250/",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"/img_size_211x208/")) $arFeed[$intProdKey]['image_thumb_url'] = str_replace("/img_size_211x208/","/img_size_250x250/",$arFeed[$intProdKey]['image_thumb_url']);

            
    // -t-THUMBNAIL.jpg to -p-MULTIVIEW.jpg
            
    if (strpos($arFeed[$intProdKey]['image_url'],"._SL160_.jpg")) $arFeed[$intProdKey]['image_url'] = str_replace("._SL160_.jpg","._SL250_.jpg",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"._SL160_.jpg")) $arFeed[$intProdKey]['image_thumb_url'] = str_replace("._SL160_.jpg","._SL250_.jpg",$arFeed[$intProdKey]['image_thumb_url']);

            
    // zappos -t.jpg to -d.jpg
            
    if (strpos($arFeed[$intProdKey]['image_url'],"zappos") !== false and substr($arFeed[$intProdKey]['image_url'],-6) == "-t.jpg"$arFeed[$intProdKey]['image_url'] = str_replace("-t.jpg","-d.jpg",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"zappos") !== false and substr($arFeed[$intProdKey]['image_thumb_url'],-6) == "-t.jpg"$arFeed[$intProdKey]['image_thumb_url'] = str_replace("-t.jpg","-d.jpg",$arFeed[$intProdKey]['image_thumb_url']);
            
            
    // 6pm -t.jpg to -d.jpg
            
    if (strpos($arFeed[$intProdKey]['image_url'],"6pm") !== false and substr($arFeed[$intProdKey]['image_url'],-6) == "-t.jpg"$arFeed[$intProdKey]['image_url'] = str_replace("-t.jpg","-d.jpg",$arFeed[$intProdKey]['image_url']);
            if (
    strpos($arFeed[$intProdKey]['image_thumb_url'],"6pm") !== false and substr($arFeed[$intProdKey]['image_thumb_url'],-6) == "-t.jpg"$arFeed[$intProdKey]['image_thumb_url'] = str_replace("-t.jpg","-d.jpg",$arFeed[$intProdKey]['image_thumb_url']);
            
        }


  5. #5
    Administrator Prosperent Andrew's Avatar
    Join Date
    Apr 2011
    Location
    Colorado Springs, CO
    Posts
    378
    Thanks browntwn

  6. #6
    ProBoardShop
    Code:
    images.proboardshop.com/burt-rocknroll-duffle-bag-graphite-07-thumb.jpg
    Code:
    images.proboardshop.com/burt-rocknroll-duffle-bag-graphite-07-prod.jpg

  7. #7

  8. #8
    We've made more changes to the following merchant's images: proboardshop, the house, becker surf, cellular factory, gamestop, best buy, golfsmith, northern tool, wine.com, drugstore.com, newegg, active forever, adorama, auto parts warehouse, bags buy, bedbathstore.com, endless.com, essential apparel, finish line, scrubs and beyond, shoe buy, tire rack, and lids/hat world.

    If you spot other merchants whose images need to be fixed be sure to let us know. Thanks.

  9. #9
    This is rolling out now. Have to resize about 300GB worth of data

    You can see a before and after here on our facebook page: https://www.facebook.com/photo.php?f...type=1&theater

  10. #10
    here's one I just saw, not sure if you're still looking for more like this or not

    http://img2.prosperent.com/images/25...m472348070.gif


    and then this version...
    http://img2.prosperent.com/images/25...g472348070.jpg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts