-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Short description of the issue
I have a repeater with one image field. When I upload an image, Processwire doesn't create the thumbnail until the page is saved. This only happens when the image field inside the repeater is set to open by default using "Vertical list (verbose)".
Expected behavior
When I drag an image into the imagefield in the repeater, I expected a thumbnail to be created.
Actual behavior
I drag the image into the imagefield to upload the file. It uploads correctly, but it doesn't generate a proper thumbnail. It shows a stretched image thumbnail, but no new thumbnail is created. Toggling through the other different image grid mode buttons, shows no thumbnail at all on the imagefield.
Note: If I set the imagefield inside the repeater to default to any other image grid mode beside "Vertical list (verbose)", the thumbnail will be generated properly.
Steps to reproduce the issue
At this point I don't see any errors in the console or Tracy debugger. Then if I try to use the thumbnail image resize slider it throws the error in the console. I can only reproduce this on image fields inside a repeater that have been set to "Vertical list (verbose)".
Here is the error I get in the console:
JqueryUI.js?v=1563290320:7 Uncaught TypeError: Cannot read property 'addClass' of undefined
at e..._mouseCapture (JqueryUI.js?v=1563290320:7)
at e..._mouseCapture (JqueryUI.js?v=1563290320:6)
at e..._mouseDown (JqueryUI.js?v=1563290320:6)
at e..._mouseDown (JqueryUI.js?v=1563290320:6)
at HTMLSpanElement. (JqueryUI.js?v=1563290320:6)
at HTMLSpanElement.dispatch (JqueryCore.js?v=1563290320:2)
at HTMLSpanElement.u (JqueryCore.js?v=1563290320:2)
This happens in Google Chrome. I haven't tested other browsers.
Let me know if can provide any other information.
Setup/Environment
Server Details
Software | Version |
---|---|
ProcessWire | 3.0.135 |
PHP | 7.1.12 |
Webserver | Apache/2.4.29 (Unix) |
MySQL | 5.7.10-log |
Server Settings
Parameter | Value |
---|---|
allow_url_fopen | 1 |
max_execution_time | 300 (changeable) |
max_input_nesting_level | 64 |
max_input_time | 60 |
max_input_vars | 1000 |
memory_limit | 256M |
post_max_size | 128M |
upload_max_filesize | 2M |
xdebug | |
xdebug.max_nesting_level | |
mod_rewrite | 1 |
mod_security | *confirmed off |
EXIF Support | 1 |
FreeType | 1 |
GD Settings
Parameter | Value |
---|---|
Version | bundled (2.1.0 compatible) |
GIF | 1 |
JPG | 1 |
PNG | 1 |
WebP |