- Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236
andreamarucci
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220This is what happen here http://www.kog.it/sito
When I publish a new blog article, I set a big featured image (at least 1440 width) since the same image is used as header in single article view.
Well, when I insert the article (first one is featured) I see that the image is
http://xxxxxxxx/k1200lt_kog-640×376.jpg
but when I click on the article, I see it in the single page mode, I see the image as header correctly and when I go back on the news, the image link is changed in
http://xxxxxxxx/k1200lt_kog.jpg
that’s the correct image. This in Chrome Mac latest, but seems to remain the same in FF.
Can you please check if the url of the first featured image is the correct one and let me know why this happen?
many thanks!
AdvertismentDeprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236andreamarucci
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220Tried some other tricks with no luck since the featured image of the first post has this code
<img itemprop="image" width="640" height="376" src="//1018442440.rsc.cdn77.org/sito/wp-content/uploads/2016/01/k1200lt_kog-640x376.jpg" class="attachment-enlightenment-blog-thumb size-enlightenment-blog-thumb wp-post-image" alt="Rinnovata la sezione KLT del sito KOG" srcset="//1018442440.rsc.cdn77.org/sito/wp-content/uploads/2016/01/k1200lt_kog-300x176.jpg 300w, //1018442440.rsc.cdn77.org/sito/wp-content/uploads/2016/01/k1200lt_kog-768x451.jpg 768w, //1018442440.rsc.cdn77.org/sito/wp-content/uploads/2016/01/k1200lt_kog-1024x602.jpg 1024w, //1018442440.rsc.cdn77.org/sito/wp-content/uploads/2016/01/k1200lt_kog-640x376.jpg 640w, //1018442440.rsc.cdn77.org/sito/wp-content/uploads/2016/01/k1200lt_kog-237x139.jpg 237w, //1018442440.rsc.cdn77.org/sito/wp-content/uploads/2016/01/k1200lt_kog.jpg 1440w" sizes="(max-width: 640px) 100vw, 640px" title="Rinnovata la sezione KLT del sito KOG">
but don’t know why it uses the 640×376 image instead of the bigger one.any clue?
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236andreamarucci
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220Solved changing this in functions.php
add_image_size( 'enlightenment-blog-thumb', 990, $crop_flag ? 743 : 9999, $crop_flag );
to match the full width dimension of the featured image
You must be logged in to reply to this topic.