Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#13695 closed defect (bug) (worksforme)

Can't specify gallery shortcode size

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

#1 @ocean90
14 years ago

  • Keywords reporter-feedback added

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

#2 @developdaly
14 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.

#3 @ocean90
14 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.