WordPress.org

Make WordPress Core

#23456 closed feature request (worksforme)

Media library improvement

Reported by: mcdragon Owned by:
Milestone: Priority: normal
Severity: minor Version:
Component: Media Keywords:
Focuses: Cc:

Description

When you insert a floating image and then align it right or left there is always a problem of putting a separation between the image and the wrapped text. By default there is no margin.
However you have to manually add the margin in the Advanced Settings tab (when inserting the image). If you add a margin it will add it to the left or right and that would offset the image on the other side of the text away from the column where my content is which I think is a little ugly. To correct this you have to then manually delete the other margin, be it left or right so this doesn't happen. If you change the alignment of the image to the other side of the column, you have to manually correct the margin. A bit of a nuisance.
Couldn't this be done automatically.

I would really need the feature where you could automatically set a margin, for example 10px to the left OR right depending on which way the image is aligned.

I would also like a feature where the image would be resized to the dimensions of the column - now I don't mean where the image is just adjusted through the css or html, I mean the actual image should be resized. Is that possible - could you pass the width of the column to ImageMagik and have a version of the file that would fit your column width perfectly.
If you adjust it through html/css you will get ugly images, either pixelated if you enlarge them or slightly distorted or just to large, if they are shrunk.

Change History (4)

comment:1 markoheijnen14 months ago

I would say that the first part is something the theme should do. Do you also have this issues with Twenty Twelve?

The second part is really plugin territorium for now. There are still some things to do to make it workable.

comment:2 in reply to: ↑ description johnbillion14 months ago

Please try to keep to one issue per ticket. To address your second suggestion:
Replying to mcdragon:

I would also like a feature where the image would be resized to the dimensions of the column - now I don't mean where the image is just adjusted through the css or html, I mean the actual image should be resized.

See: #4646, #8599, #15311.

Version 0, edited 14 months ago by johnbillion (next)

comment:3 SergeyBiryukov14 months ago

  • Component changed from General to Media
  • Keywords close added

comment:4 markoheijnen14 months ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed
  • Version 3.5.1 deleted
Note: See TracTickets for help on using tickets.