Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#23456 closed feature request (worksforme)

Media library improvement

Reported by: mcdragon's profile 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)

#1 @markoheijnen
12 years 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.

#2 in reply to: ↑ description @johnbillion
12 years 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.

Last edited 12 years ago by johnbillion (previous) (diff)

#3 @SergeyBiryukov
12 years ago

  • Component changed from General to Media
  • Keywords close added

#4 @markoheijnen
12 years 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.