• Is there builtin thumbnail generator for uploads?

    if not are there any good ones? where it takes a uploaded attachment or link, and then generates a thumbnail

    And then be able to serve either the thumbnail (different sizes) or the full image?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I think you’ll find that this is the standard outcome of uploading an image in WordPress. If you check in your uploads folder (using cPanel or FTP) for an image recently uploaded through “media” -> “add new” you’ll see a range of different sizes for that one image (as well as the original), which will be served depending on the location and /or destination screen size where it will appear.

    Thread Starter expat

    (@expat)

    thanks i was afraid people might have mistaken it for html resizing

    BUT i need a brand new generated thumbnail….

    So what the code to use the individual thumbnails and the full image?

    I was having the same thoughts myself after I replied 🙂 How about a plugin solution?

    https://wordpress.org/plugins/regenerate-thumbnails/

    Thread Starter expat

    (@expat)

    Ok, now that we know about thumbnail re-generation, How do i get access to those thumbnails and the full image?

    eg if i have 2 set of thumbnails what link do i use?

    OR in other words, I have set the featured image, whats the link to the full image and any thumbnails?

    This is for automation in the loop rather than individual thumbs

    thanks for replying

    If you check the image in your uploads folder you will see a list of versions of your uploaded image: the original file name and scaled versions (one or more of which will be the dimensions you’ve set through your thumbnail plugin). For example:

    image-1.jpg
    image-1-25×25.jpg
    image-1-50×50.jpg
    image-1-75×75.jpg
    image-1-150x`150.jpg
    etc.

    If you choose to use say the 25×25 thumbnail image, then you use the full image path http://mysite.com/wp-content/uploads/2015/03/image-1-25×25.jpg rather than linking to the standard http://mysite.com/wp-content/uploads/2015/03/image-1.jpg path and allowing WordPress to decide which image to serve.

    EDITED

    Thread Starter expat

    (@expat)

    I see, so there is NO way I can hide the original image link?

    I thought WP would return a $image variable with option for sizes?

    Is there a plugin? Hiding the original image is the key but choosing thumbnail sizes is important too.

    My aim is to hide the original source, serve one Thumbnail and let html resize serve a 200×200 thumbnail for the screen size

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Is there builtin thumbnail generator for uploads?’ is closed to new replies.