Tagged: x
-
AuthorPosts
-
August 29, 2016 at 7:00 am #1151571
dogpileParticipantHi,
i uploaded a nice and crips-sharp picture for a blog-post. Unfortunately it will always show up in a blurry manner, no matter how big the original size was. How can i fix this?
Thanks for your help!
August 29, 2016 at 7:01 am #1151574
dogpileParticipantThis reply has been marked as private.August 29, 2016 at 7:23 am #1151616
ChristianModeratorHey there,
Your original image size is http://www.planorg.de/wp-content/uploads/2016/05/IT_Camp_Jena_x2.jpg is quite small (1300x450px). Please upload an even larger size. Preferably HD 1080p.
Thanks.
August 29, 2016 at 7:24 am #1151617
ThaiModeratorHi There,
Please add the following CSS under Customizer > Custom > Global CSS:
.entry-thumb img { min-width: auto; margin: 0 auto; display: block; }Hope it helps 🙂
August 29, 2016 at 7:56 am #1151658
dogpileParticipantThanks for your reply, but it wont work either way. Your code-snippet just makes it smaller and fits the height. Your tip to make the image itself bigger did not work as well, it doesnt matter how big the file gets, it will be displyed blurry. The currently used picture is attached.
August 29, 2016 at 7:56 am #1151660
dogpileParticipantThe picture’s too big
August 29, 2016 at 8:28 am #1151693
JoaoModeratorHi There,
Please use tinypng.com before trying to upload the picture, this might help.
Otherwise use a service like Dropbox and provide us the link.
Thanks
Joao
August 29, 2016 at 10:09 am #1151868
dogpileParticipantHere
August 29, 2016 at 10:51 am #1151943
ChristianModeratorPlease try adding the code below in your functions.php
// Use Fullsize Featured Image in Single Post function x_featured_image( $cropped = '' ) { $stack = x_get_stack(); $fullwidth = ( in_array( 'x-full-width-active', get_body_class() ) ) ? true : false; if ( has_post_thumbnail() ) { if ( $cropped == 'cropped' ) { if ( $fullwidth ) { $thumb = get_the_post_thumbnail( NULL, 'entry-cropped-fullwidth', NULL ); } else { $thumb = get_the_post_thumbnail( NULL, 'entry-cropped', NULL ); } } else { if ( $fullwidth ) { $thumb = get_the_post_thumbnail( NULL, 'entry-fullwidth', NULL ); } else { $thumb = get_the_post_thumbnail( NULL, 'entry', NULL ); } } switch ( is_singular() ) { case true: $thumb = get_the_post_thumbnail( NULL, 'full', NULL ); printf( '<div class="entry-thumb">%s</div>', $thumb ); break; case false: printf( '<a href="%1$s" class="entry-thumb" title="%2$s">%3$s</a>', esc_url( get_permalink() ), esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ), $thumb ); break; } } }Hope that helps. 🙂
August 29, 2016 at 11:24 am #1152011
dogpileParticipantIt worked! Great, thanks again!
August 29, 2016 at 1:49 pm #1152200
NicoModeratorHappy to hear that.
Feel free to ask us again.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1151571 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
