Opened 5 months ago
Last modified 5 months ago
#22906 closed enhancement
Does not resize image with caption for a responsive design. — at Initial Version
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | 3.5 |
| Severity: | trivial | Keywords: | |
| Cc: |
Description
Problem 1 : Does not resize image with caption for a responsive design.
Returns the fixed width of the image function img_caption_shortcode()
So does not change the image width.
I think change style max-width.
return '<div ' . $id . 'class="wp-caption ' . esc_attr($align) . '" style="max-width: ' . (10 + (int) $width) . 'px">'
Note: See
TracTickets for help on using
tickets.
