mirror of
https://github.com/pinry/pinry.git
synced 2025-11-17 18:30:39 +01:00
Fix: Fix style for image predefined size
This commit is contained in:
committed by
Isaac Bythewood
parent
a21bb26dd1
commit
a2bdf58943
@@ -76,8 +76,8 @@ function createImageItem(pin) {
|
||||
image.original_url = pinHandler.escapeUrl(pin.image.image);
|
||||
image.orgianl_width = pin.image.width;
|
||||
image.style = {
|
||||
width: pin.image.thumbnail.width,
|
||||
height: pin.image.thumbnail.height,
|
||||
width: `${pin.image.thumbnail.width}px`,
|
||||
height: `${pin.image.thumbnail.height}px`,
|
||||
};
|
||||
return image;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user