Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
toward 7.x, 8.x and beyond.
Focal Point has a great, simple way for editors to pick the hot spot on an image.
with jquery-focuspoint — it would be awesome if a field formatter would use this plugin to render images through.
Comments
Comment #2
berdyshev CreditAttribution: berdyshev at AMgrade commentedI have implemented this integration as separate module (now only for 8.x) — you can check it here https://www.drupal.org/sandbox/berdart/2738661
Comment #3
SKAUGHTjust dumping this here for general/future ref..
this will turn D7's Focal Point co-ordinates into lat/long that jquery-focuspoint uses.
i think this is due to how Crop api records data in D8..
Comment #4
SKAUGHTsorry berdyshev: i've beaten you to release!
focal_point_focus
Comment #5
bleen CreditAttribution: bleen at NBCUniversal commentedThis is great news!! Glad you were able to get it working. Looks terrific. Its probably worth noting that this was committed recently: https://www.drupal.org/project/focal_point/issues/2784055
Might be relevant
Comment #6
SKAUGHTthanks!
I've just run through a node with this preview patch. Of course, it has no 'preview' of the formatters settings at this level (no known view mode).
I expect & hope users will more or less get that they just need to upload an image and set the basic crosshairs, then only when finally 'viewed normally' this dynamic re-layout effect will happen.
--
edit:
Formatter does disable quickedit. As that's were 'preview' and refreshing the display is..awaiting it's own issue (: