statamic / ssg

The official Statamic Static Site Generator
229 stars 23 forks source link

Image sizes are wrong #148

Open DarthGandalf opened 10 months ago

DarthGandalf commented 10 months ago
{{ glide :src="image" width="150" }}
<img src="{{ url }}" width="{{ width }}" height="{{ height }}">
{{ /glide }}

In live version of the site the img has the correct resized numbers for width and height, but in static version it returns the original numbers - size of the original image.

$ php please support:details

Environment
Application Name: Statamic
Laravel Version: 10.20.0
PHP Version: 8.1.2-1ubuntu2.14
Composer Version: 2.2.6
Environment: local
Debug Mode: ENABLED
URL: 127.0.0.1:8000/
Maintenance Mode: OFF

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: statamic
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: file

Statamic
Addons: 2
Antlers: runtime
Stache Watcher: Enabled
Static Caching: Disabled
Version: 4.20.0 Solo

Statamic Addons
pecotamic/sitemap: 1.4.6
statamic/ssg: 2.2.0