发明名称 MANAGING WEB PAGE IMAGES ON A WEB PAGE SERVER SYSTEM
摘要 A method and associated system for managing web page images. After detection of a modification to a web page, the method attempts but fails to retrieve an image from a first location pointed to by a path included in a first link in a list of links included in the web page and in response, an image placeholder is stored at the first location. A request, for a replacement image to replace the image placeholder at the first location, is published. The request specifies that the replacement image must have specified resolution dimensions and a larger size than a size of the image placeholder. The replacement image, which is received in response to the request, is determined to have the specified resolution dimensions and a larger size than the size of the image placeholder and in response, the image placeholder is replaced with the replacement image at the first location.
申请公布号 US2017124028(A1) 申请公布日期 2017.05.04
申请号 US201715403281 申请日期 2017.01.11
申请人 International Business Machines Corporation 发明人 Amsterdam Jeffrey D.;Mabry Joseph S.;O'Connell Brian M.;Walker Keith R.
分类号 G06F17/21;G06F17/30 主分类号 G06F17/21
代理机构 代理人
主权项 1. A method for managing web page images, said method comprising: detecting, by one or more processors, that a modification has been made to a web page, said modification being an update of an image link on the web page, said web page including a list of links, each link of the list of links specifying a path to an associated location at which a respective image is located in a file system; in response to said detecting that the modification has been made to the web page, determining, by the one or more processors, whether the list includes any new images to process and in response ascertaining, by the one or more processors, that the list includes a first new image to process, wherein a first link included in the list includes a path pointing to a first location in the file system for locating the first new image; in response to said ascertaining, selecting, by the one or more processors, the first link in the list; attempting but failing, by the one or more processors, to retrieve an image from the first location pointed to by the path included in the first link; in response to said attempting but failing, creating, by the one or more processors, an image placeholder that comprises each characteristic of a plurality of characteristics required of an image placeholder, said plurality of characteristics required of an image placeholder comprising a first characteristic of a size of the image placeholder and a second characteristic whose value matches a value obtained from execution of specified code; storing, by the one or more processors, the image placeholder at the first location; in response to said storing the image placeholder at the first location, publishing, by the one or more processors, a request for a replacement image to replace the image placeholder at the first location, said request specifying that the replacement image must have specified resolution dimensions and a larger size than the size of the image placeholder; receiving, by the one or more processors, the replacement image in response to said publishing the request, the replacement image; determining, by the one or more processors, that the replacement image is a suitable replacement for the image placeholder, including determining that the replacement image has the specified resolution dimensions and has a larger size than the size of the image placeholder; and in response to said determining that the replacement image is a suitable replacement for the image placeholder, replacing, at the first location by the one or more processors, the image placeholder with the replacement image.
地址 Armonk NY US