mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
fix missing license in image search
see http://mantis.tokeek.de/view.php?id=522
This commit is contained in:
parent
5297e80cda
commit
7c1da173e0
|
@ -317,7 +317,7 @@ public class yacysearchitem {
|
|||
|
||||
final String license = URLLicense.aquireLicense(image.imageUrl); // this is just the license key to get the image forwarded through the YaCy thumbnail viewer, not an actual lawful license
|
||||
//sb.loader.loadIfNotExistBackground(image.imageUrl, 1024 * 1024 * 10, null, ClientIdentification.yacyIntranetCrawlerAgent);
|
||||
prop.putHTML("content_item_hrefCache", "/ViewImage." + ("gif".equals(imageUrlExt) ? "gif" : "png") + "?maxwidth=128&maxheight=128&isStatic=true&quadratic=&url=" + imageUrlstring);
|
||||
prop.putHTML("content_item_hrefCache", "/ViewImage." + ("gif".equals(imageUrlExt) ? "gif" : "png") + "?maxwidth=128&maxheight=128&code="+license+"&isStatic=true&quadratic=&url=" + imageUrlstring);
|
||||
prop.putHTML("content_item_href", imageUrlstring);
|
||||
prop.putHTML("content_item_target", target);
|
||||
prop.put("content_item_code", license);
|
||||
|
|
Loading…
Reference in New Issue
Block a user