Active
Project:
FeedAPI ImageGrabber
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
4 Nov 2009 at 19:28 UTC
Updated:
15 Nov 2009 at 03:35 UTC
Could you explain to me how the minimum images size heuristics are meant to work?
Class and ID selection are not working for me, but really if the file resolution parts worked I could eliminate the envelope.png that is plaguing my imageless feeds.
Comments
Comment #1
publicmind commentedHi,
As mentioned in the feed settings, the imagegrabber selects the largest image between the selected tag, which is
<body>if none is selected. However, it is also bounded by a minimum resolution, which has been arbitrarily set to the resolution of (100 x 150).You can try to change it to suit your needs. In function feedapi_imagegrabber_download_image_heuristics($image_url, &$imagesize)
This won't solve you problem, if the largest image on the page is the unwanted image. It will only solve the problem, if the largest image on the page is below this resolution.
I think I should add this feature to imagegrabber, where the minimum resolution can be set while enabling imagegrabber on a per feed basis.
Comment #2
publicmind commentedso that i remember, maximum size should also be configurable so that we can avoid the logo images of the website or other big images.
publicmind