Forums

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

  1. rancor2k
    Member
    Posted 4 months 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 4 months 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 4 months 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 4 months 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 4 months ago #

  6. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 4 months 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 4 months 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 4 months 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 4 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic