• Resolved mrt31

    (@mrt31)


    Hello Everyone ,

    Maybe a dumb question but is It possible on “top-post.php” to put the postthumbnail instead jetpack_photon_url( $post[‘image’], array( ‘resize’ => “$size,$size” ) );

    thanks

    Phil

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Could you give me more details about what you’d like to change?

    Jetpack currently uses the post’s Featured Image (Post Thumbnail) in the Top Posts Widget. That image is then resized with Photon to fit into the Widget.

    If you’d like to use a different image size in that widget, you can follow the instructions here:
    https://developer.jetpack.com/hooks/jetpack_top_posts_widget_image_options/

    Let me know if it helps.

    • This reply was modified 8 years, 1 month ago by Jeremy Herve.
    Thread Starter mrt31

    (@mrt31)

    Hello Jeremy ,

    thanks for your anwser,

    In fact , all my article have a picture post thumbnail . Some are visible on the widget and other have this gravatar https://1.gravatar.com/avatar/d9f10f4e8ea8756a6cbf2daf208ce2db?s=96&d=wavatar&r=x

    phototon is activated in Jetpack Option .

    Thanks a lot .

    Phil.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    If some of your posts only display a Gravatar, it’s most likely because the post doesn’t include any image, or because that image is too small to be used in the widget.

    Could you make sure you insert images, or set a Featured Image for those posts?

    Thread Starter mrt31

    (@mrt31)

    Hello again ,

    yes all post Have a Inserted Featured Image . Each time I create a Post I upload the image with the wordpress option , or media option . The Image Is linked to the article .

    I can give you an access (nsfw site ) if you want of course

    Thanks again

    Phil.

    Thread Starter mrt31

    (@mrt31)

    An acces to the wordpress admin I mean . Sorry for my bad english .

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Could you contact us via this form and mention this thread? We’ll take a look at your site to try to understand wha’s happening.

    Thanks!

    Thread Starter mrt31

    (@mrt31)

    Done

    thanks

    Phil

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Put the post thumbnail in Top-post.php’ is closed to new replies.