Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed image spacing error for the preview #69

Merged
merged 2 commits into from
Dec 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions WebList.lua
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ local function HandleWebLatestClaims(a_Request)
}
if (g_Config.WebPreview) then
for rot = 0, 3 do
table.insert(cells, string.format("<img src=\"/~%s%s?action=getpreview&areaid=%d&rot=%d\"/>",
table.insert(cells, string.format("<img style='max-width: 100%%' src=\"/~%s%s?action=getpreview&areaid=%d&rot=%d\"/>",
requestBasePath, area.GalleryName, area.ID, rot)
)
end
Expand Down Expand Up @@ -506,7 +506,7 @@ local function HandleWebLatestChanges(a_Request)
}
if (g_Config.WebPreview) then
for rot = 0, 3 do
table.insert(cells, string.format("<img src=\"/~%s%s?action=getpreview&areaid=%d&rot=%d\"/>",
table.insert(cells, string.format("<img style='max-width: 100%%' src=\"/~%s%s?action=getpreview&areaid=%d&rot=%d\"/>",
requestBasePath, area.GalleryName, area.ID, rot)
)
end
Expand Down