• Is it possible a field in the panel to call callback functions after loading images? Very often we need to resize calculated elements from the loaded images, such as using Masonry approach.

Viewing 1 replies (of 1 total)
  • Plugin Author Felix Arntz

    (@flixos90)

    While that might somehow be possible (with onload attribute for example), for this scenario I’d recommend adding the actual width and height attributes to the image tags generally. This prevents potential user experience issues with unexpected content shifting, and it would also get rid of the need for a custom callback I believe.

Viewing 1 replies (of 1 total)
  • The topic ‘JS functions field into WordPress Dashboard for callback actions, resizes….’ is closed to new replies.