mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-05 03:37:41 +00:00
Allow more rectangular thumbnails without going so far as to allow banners (which are probably ads).
This commit is contained in:
1 parent
2915cb44e7
commit
2fd7f1b3cb
1 file changed
+1
-1
@@ -17,7 +17,7 @@ import Foundation
|
||||
public enum SignificantImageFilter {
|
||||
|
||||
public static let minimumDimension = 64
|
||||
public static let maximumAspectRatio = 4.0
|
||||
public static let maximumAspectRatio = 6.0
|
||||
|
||||
/// `htmlClass` is an `<img>` tag’s `class` attribute. `enclosingLinkURLString` is the `href` of the `<a>` it’s inside.
|
||||
public static func isSignificant(urlString: String, width: Int?, height: Int?, htmlClass: String? = nil, enclosingLinkURLString: String? = nil) -> Bool {
|
||||
|
||||
Reference in new issue
Block a user