WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
Custom cropped thumbnais not working with Photon (15 posts)

  1. rancor2k
    Member
    Posted 1 year ago #

    Hey there
    I'd really like to use the CDN Feature Photon (included in Jetpack), unfortunately it doesn't seem to check if my thumnails are custom cropped, which they usually are. I thought this was added / fixed in the latest Version, but it still doesn't work for me.
    My blog is http://wp7app.de, the Feature is currently turned on for a short while, still this issue is a dealbreaker for me.
    Does anyone know how to fix this?
    Thanks

    http://wordpress.org/extend/plugins/jetpack/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    I had a look a your site, and the post thumbnails seem to be displayed properly:
    http://i.wpne.ws/Lyge

    Have you managed to solve the issue by yourself?

  3. rancor2k
    Member
    Posted 1 year ago #

    unfortunately not. The thumbs are being displayed correctly, but with the auto-crop and not how I cropped them myself. The two thumbnails in your screenshot I haven't cropped myself, so they're fine.
    How it Looks with Photon:
    http://wp7app.de/?attachment_id=10886
    How it's supposed to look:
    http://wp7app.de/?attachment_id=10885

  4. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Thanks for the screenshots, I understand the issue now.

    Could you post one of the Photon image URLs here? That might help us understand why the custom cropping doesn't work.

  5. rancor2k
    Member
    Posted 1 year ago #

  6. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Thanks.

    Could you also copy the contents of the Text tab in the post editor, like so:

    1. Open an affected post in the editor.
    2. Switch to the text tab for the editor.
    3. Reload the page.
    4. Copy the post content into Pastebin.

    You can then post the pastebin here, or send it to us via this contact form:
    http://en.support.wordpress.com/contact/?jetpack=needs-service

    Thanks!

  7. rancor2k
    Member
    Posted 1 year ago #

    Hey there
    Thanks so much for trying to help me!
    I'm not sure what you're looking for, as the text of this post doesn't include any images but the post image, which of course isn't part of the text. Nevertheless, here's the text for this page:
    http://wp7app.de/10812/apps/cocktail-flow-zu-weihnachten-fur-nur-099e.html
    http://pastebin.com/hiZYdf0M

  8. Erick Hitter
    Member
    Plugin Author

    Posted 1 year ago #

    By chance, are you using any plugins that modify WordPress' image behaviour (other than Photon), or is there any code in your theme that aids with thumbnail selection?

    From the earlier example you provided, it seems that sometimes the featured image used on the homepage is completely different from that which appears atop the post when viewing an individual entry. If your theme or a plugin is modifying WP's image handling, that scenario may not be accounted for in Photon's logic.

    Thanks!

  9. rancor2k
    Member
    Posted 1 year ago #

    Hey
    No, I don't use any plugins to change the post images. Here's how I activated them im my theme:

    functions.php

    if ( function_exists('add_theme_support')) {
     add_theme_support('post-thumbnails');
     }
    
    set_post_thumbnail_size( 150, 150, true ); // Normal post thumbnails
    add_image_size( 'single-post-thumbnail', 600, 9999 ); // Permalink thumbnail size

    index.php
    <?php the_post_thumbnail('thumbnail'); ?>

    I also checked my Caching-Plugin (Quick Cache), doesn't seem to affect the thumbs.

  10. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Hi rancor,

    Do you still have this issue? You don't seem to be using Photon anymore; would you like to try again?

  11. rancor2k
    Member
    Posted 1 year ago #

    I stopped trying after a while. Just gave it another shot, but unfortunately it's still not working. I'll keep it activated for a day or so so you can have a look at it.

  12. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    You mentioned that the thumbnails are "custom cropped". Could you walk me through the steps you follow to upload an image, and define a Featured Image for one of your posts?

  13. rancor2k
    Member
    Posted 1 year ago #

    Sure.
    Usually I write my post and add an image (600x400px) using the media uploader. From there I hit "Edit Image" and change the thumbnail (~160x160px) using the cropping tool. I then select save as thumnail from the radio boxes and hit save.
    Back in my post I now select the post thumbnail. That's it.

    (I hope I used all the correct terms as I have a german wordpress set up.)

  14. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Thank you! I understand the issue now. Photon only uses the original image and resizes it on the fly; the smaller thumbnails are actually never used if you activate Photon, and that's the issue here.

    I'm afraid that's how Photon is designed to work at the moment, but I took note of your remark, and we'll see if there is something we can do about it in a future Jetpack update.

  15. rancor2k
    Member
    Posted 1 year ago #

    You're welcome, glad I could help. Looking forward to the upcomming patches.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic