Quote:
Originally Posted by teodz1984
Did you ammend the section with the ff:
URL Pattern: ^https?:\/\/(?:image\.|www\.)?pimpandhost\.com\/image\/.+?$
Search Pattern: function(pageData, pageUrl) {
var iUrl = pageData.match(/img class="normal" src="(https?:\/\/.+?\.(jpe?g|png))"/);
return iUrl ? {imgUrl: iUrl[1], status: "OK"} : {imgUrl: null, status: "ABORT"}
|
I think what you've quoted there is what's currently provided by IHG, right?
I don't have an amendment that works, that's the problem. What amendment do you suggest one should make to solve this problem? I don't see where in the above to intercede and perform the type of intermediary amendment required--i.e. what I described above: either to
Quote:
Originally Posted by effCup
append "?size=original" to it, or else take the img src link & parse out the trailing "_l".
|
Or do you perhaps think I've misstated the nature of the problem?
I think the format of the IHG function call doesn't allow one to intercede. The url pattern is for matching the thumb-link in the (vef) post, not for distinguishing between parallel urls on the host site (the reduced or original sizes). The match parses the img src value for the image url, it does not attempt to distinguish between different size images on p&h.