WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#13695 closed defect (bug) (worksforme)

Can't specify gallery shortcode size

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

Description

[gallery size="full"] will always display as thumbnails. All size options display as thumbnails.

Change History (3)

comment:1 ocean904 years ago

  • Keywords reporter-feedback added

With trunk and Twentyten it works. Which theme do you use? Maybe the size is via CSS fixed.

comment:2 developdaly4 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

I'd been testing this on a custom theme as well as Twenty Ten on the latest nightly build.

Its working for me now, but I don't know it was due to updating to a day-newer nightly build or that I used the "Insert gallery" button and everything works as planned.

I had been trying to use this in a template with <?php echo do_shortcode('[gallery size=full"]'); ?> and that wouldn't work before I used the button. Now it works everytime.

I'm mark as closed for now, but something about this is weird.

comment:3 ocean904 years ago

  • Keywords reporter-feedback removed
  • Milestone 3.0 deleted

developdaly, there is a typo:

<?php echo do_shortcode('[gallery size="full"]'); ?>

Note: See TracTickets for help on using tickets.