use leaflet lib
This commit is contained in:
parent
ce7bb9d386
commit
ccba00b2e7
5 changed files with 78 additions and 117 deletions
|
|
@ -115,7 +115,7 @@ let make_thumbnail content =
|
|||
Cmd.(
|
||||
v "convert" % "-define" % "jpeg:size=700x700" % p image_file
|
||||
% "-auto-orient" % "-thumbnail" % "300x300>" % "-unsharp" % "0x.5"
|
||||
% "-format" % "jpg" % p thumb_file)
|
||||
% "-format" % "jpg" % p thumb_file )
|
||||
in
|
||||
let* () = OS.Cmd.run cmd in
|
||||
let* thumbnail = OS.File.read thumb_file in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue