WordPress.org

Support

Support » How-To and Troubleshooting » Gallery outputting 1px thumbnails

Gallery outputting 1px thumbnails

  • I moved host, and the media gallery became corrupted, so I redid all the gallery images on the multiple gallery pages.

    The page content code is:

    [gallery ids="428,429,430,431,432,433,434,435,436,437,438"]

    Why aren’t thumbnails displaying? Thanks.

    The front end is outputting 1px X 1px images in the gallery code:

    <dl class='gallery-item'>
          <dt class='gallery-icon '>
            <a href='http://www.sugargumcakes.com/?attachment_id=387'>
              <img width="1" height="1" src="http://www.sugargumcakes.com/wp-content/uploads/2012/10/wedding_cake01.jpg" class="attachment-thumbnail" alt="wedding cake - Ivory Open Roses Wedding Cake" /></a>
          </dt>
          <dd class='wp-caption-text gallery-caption'>Ivory Open Roses Wedding Cake</dd>
        </dl>
    
        <dl class='gallery-item'>
          <dt class='gallery-icon '>
            <a href='http://www.sugargumcakes.com/?attachment_id=392'>
              <img width="1" height="1" src="http://www.sugargumcakes.com/wp-content/uploads/2012/10/wedding_cake11.jpg" class="attachment-thumbnail" alt="Gerbera Wedding Cake" /></a>
          </dt>
          <dd class='wp-caption-text gallery-caption'>Gerbera Wedding Cake</dd>
        </dl>
    
        <dl class='gallery-item'>
          <dt class='gallery-icon '>
            <a href='http://www.sugargumcakes.com/?attachment_id=388'>
              <img width="1" height="1" src="http://www.sugargumcakes.com/wp-content/uploads/2012/10/wedding_boquet.jpg" class="attachment-thumbnail" alt="Bridal Bouquet" /></a>
          </dt>
          <dd class='wp-caption-text gallery-caption'>Bridal Bouquet</dd>
        </dl>

    I have recently upgraded from WP 3.6.1 to WP 3.7 without change.

    I downloaded a zipped WP 3.7 and uploaded it over the top with no change.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Gallery outputting 1px thumbnails’ is closed to new replies.
Skip to toolbar