mirror of
https://github.com/neocities/neocities.git
synced 2025-07-23 11:06:02 +02:00
mostly finished port to ruby3
This commit is contained in:
parent
a9dd102383
commit
0ca1473d22
30 changed files with 765 additions and 731 deletions
|
@ -43,8 +43,8 @@ class ThumbnailWorker
|
|||
|
||||
full_thumbnail_path = File.join(user_thumbnails_path, "#{path}.#{res}.#{save_ext}")
|
||||
|
||||
resimg.write(full_thumbnail_path) {
|
||||
self.quality = 75
|
||||
resimg.write(full_thumbnail_path) { |i|
|
||||
i.quality = 75
|
||||
}
|
||||
resimg.destroy!
|
||||
#$image_optim.optimize_image! full_thumbnail_path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue