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

Image sizes are wrong #148

Open
DarthGandalf opened this issue Sep 3, 2023 · 0 comments
Open

Image sizes are wrong #148

DarthGandalf opened this issue Sep 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@DarthGandalf
Copy link

{{ 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

@duncanmcclean duncanmcclean added the bug Something isn't working label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants