code cleanup & fixed compatibility for non-JS users & fixed fullscreen images being in low resolution
This commit is contained in:
parent
0d083f53e7
commit
db89f9c781
13 changed files with 474 additions and 300 deletions
|
@ -159,14 +159,12 @@ func PerformQwantImageSearch(query, safe, lang string, page int) ([]ImageSearchR
|
|||
|
||||
// Populate the result
|
||||
results[i] = ImageSearchResult{
|
||||
Thumb: item.Media, // item.Thumbnail is not working
|
||||
Title: item.Title,
|
||||
Full: item.Media,
|
||||
Source: item.Url,
|
||||
ProxyFull: "/imgproxy?url=" + item.Media,
|
||||
ProxyThumb: "/imgproxy?url=" + item.Media,
|
||||
Width: item.Width,
|
||||
Height: item.Height,
|
||||
Thumb: item.Media, // item.Thumbnail is not working
|
||||
Title: item.Title,
|
||||
Full: item.Media,
|
||||
Source: item.Url,
|
||||
Width: item.Width,
|
||||
Height: item.Height,
|
||||
}
|
||||
}(i, item)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue