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 thumbnail not loaded on file upload #353

Open
umkasanki opened this issue Aug 19, 2022 · 2 comments
Open

Image thumbnail not loaded on file upload #353

umkasanki opened this issue Aug 19, 2022 · 2 comments
Labels

Comments

@umkasanki
Copy link

umkasanki commented Aug 19, 2022

Describe the bug

If we use asset structures corresponding to entries slugs, image thumbnails do not work until the first press of Ctrl + S

изображение
Снимок экрана 2022-08-19 173558
изображение

2022-08-19_17-34-07.mp4

To reproduce

Steps to reproduce the behaviour:

  1. Go to "Some asset field settings"
  2. Set {slug} in the Asset Location input
  3. Try to add new entry [don't save it]
  4. Upload image

Expected behaviour

Create and show image thumbnail on upload [will be good]
Or show jpg-placeholder like it works in Craft without Image Optimize plugin.

Снимок экрана 2022-08-19 165213

Screenshots

See above

Versions

  • Plugin version 4.0.2:
  • Craft version 4.2.1.1:
@umkasanki umkasanki added the bug label Aug 19, 2022
@Romanavr
Copy link

Also on the Craft 4.x, on the same version of the plugin, I experience the same problem.
Bump.

@khalwat
Copy link
Contributor

khalwat commented Oct 19, 2022

I think this is due to the way the uploading works for assets; when you upload them via an entry, they aren't actually saved in the same manner as if you uploaded them directly to Assets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants