wp-shortcake / image-shortcake

Inline images as shortcodes for greater programmatic control over output
31 stars 7 forks source link

Plugin needs UI for resizing image beyond selecting attachment size #35

Open goldenapples opened 9 years ago

goldenapples commented 9 years ago

There needs to be a way to select image size beyond just choosing attachment size in the select field.

The WP core media experience has resize handles: dud8h

which may or may not be feasible to replicate in Shortcake preview wrap.

Maybe a text field in the attributes would work, although the experience isn't the greatest. This might need to wait until more field types, and hookable attribute update events, are available in Shortcake...

goldenapples commented 9 years ago

Another conversation where having a UI for this would be helpful: https://fusionnetwork.slack.com/archives/tech-money/p1432231101000019

danielbachhuber commented 9 years ago

Given we'll be removing image sizes entirely within the theme, we'll want to figure out how to best support this in Image Shortcake

davisshaver commented 9 years ago

Some thoughts on this after implementing https://github.com/fusioneng/fusion-theme/pull/3623/files:

So it seems like we should make a choice between resolving the quick edit buttons first, or resolving the Shortcake block issue and adding drag corners to the view when the shortcode is an image (maybe then the drag issues also become a Shortcake issue so we can let other shortcodes use it more easily).