• Resolved gabesimon

    (@gabesimon)


    I’m new to WordPress, so please forgive me if this is an easy one, but I’ve searched around a bit and can’t find an answer to this question:

    When I set up a simple gallery page, the thumbnail previews are actually the full-size images, just resized with simple HTML tags (e.g. <IMG WIDTH=”120″ HEIGHT=”150″ SRC=”…). This is sort-of OK, but not really optimal. Is there a setting (or plugin, perhaps) that does a server-side resize, or generates proper thumbnails at the time of upload so that the viewer doesn’t have to download all the full-size images in order to see the thumbnails?

    Thanks very much for any help or suggestions.

    PS – This is the page I’m working on: http://conniesimon.dyndns.org/?page_id=67

Viewing 7 replies - 1 through 7 (of 7 total)
  • Are you making use of the WordPress Gallery? It does not resize images using CSS but uses the thumbnail sized image created during the original image upload process.

    Thread Starter gabesimon

    (@gabesimon)

    I’m not sure, I’m a bit confused:

    I can create a gallery when I upload files from my computer. I select a few images from my computer, and after uploading I click ‘Save all changes’ and then it gives me the ‘Gallery Settings’ page. Then I can just click ‘Insert Gallery’ and it works fine. (Although this is how I end up with the “thumbnails” that are just full-size images resized via HTML tags).

    However, I can’t figure out how to create a gallery from the Media Library. It doesn’t seem to allow me to select multiple images. This is sort of a different question, but I’d also be grateful if you could explain how to do this.

    Thanks very much.

    Then I can just click ‘Insert Gallery’ and it works fine. (Although this is how I end up with the “thumbnails” that are just full-size images resized via HTML tags).

    They’re not resized via the HTML tags. They are thumbnail sized versions of the original image – created and stored when you upload the original image.

    I can’t figure out how to create a gallery from the Media Library

    You cannot create a gallery from the Media Library. Uploading images whilst working on a page or post allows WordPress to create, and store, a direct association between each image and its parent Post or Page. It is this association that is used to create a gallery. Selecting random images from the Media Library means no common post/page association and, hence, no gallery.

    Thread Starter gabesimon

    (@gabesimon)

    Thanks esmi, I think I understand the Gallery issue. However, I must not be uploading my images correctly because my gallery thumbnails are resized via html:

    http://conniesimon.dyndns.org/?page_id=67

    The thumbnails are specified like this:
    <a href='http://conniesimon.dyndns.org/wp-content/uploads/IMG0043.jpg' title='IMG0043'><img width="150" height="124" src="http://conniesimon.dyndns.org/wp-content/uploads/IMG0043.jpg" class="attachment-thumbnail colorbox-67" alt="IMG0043" title="IMG0043" /></a>

    Check with your hosts that the current version of GD Library is available on your server. During the image upload process, three smaller images are normally created and stored in your uploads folder*. GD Library (a PHP module) is needed to carry out this image creation.

    (* except when the original image is smaller than 1 or more of the image sizes configured in Settings -> Media)

    Thread Starter gabesimon

    (@gabesimon)

    Thank you very, very much emsi. You were correct: I didn’t have the php gd library installed. After a quick sudo apt-get install php5-gd, everything works as expected.

    Many thanks.

    No problem 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to properly resize thumbnails’ is closed to new replies.