- NewspaperRetina Images
- NewspaperThumbnails – Fix strange looking images on blocks
- NewspaperUsing the theme with existing content
Hi,
@rnbjunk In order to use the theme you need to regenerate the thumbs for the images and when you have so may images it supposed to take some time to generate all thumbs, unfortunately I can’t see any other solution for this, we recommend though to move your site locally then use the plugins regenerate the thumbs then upload the thumbs folder via FTP.
@Pauline Have you checked if you also have writing permission? “The WordPress Database Backup Plugin requires the /wp-content/ folder be made writable. In some cases, this may require assigning 755 permissions or higher (e.g. 777 on some hosts).”
You can find more info about this here: http://codex.wordpress.org/Changing_File_Permissions
Before this please make sure that you don’t use a plugin that causes this and to do so deactivate all plugins then empty cache if you use any and try again.
Hope this helps!
Thanks
You can avoid CSS import by not using a child theme.
You can remove query strings by using the functions I have previously recommended for adding to your functions.php file. You can also optimize your thumbnails by editing your functions.php file to set higher compression level for WP, and then run the “Regenerate Thumbnails” plugin.
Add these to bottom of your functions.php file, for one example:
function remove_cssjs_ver( $src ) {
if( strpos( $src, '?ver=' ) )
$src = remove_query_arg( 'ver', $src );
return $src;
}
add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'jpeg_quality', create_function( '', 'return 50;' ) );
add_action('init', 'myoverride', 100);
function myoverride() {
remove_action('wp_head', array(visual_composer(), 'addMetaData'));
}
You can optimize your site following the documentation for this theme:
https://forum.tagdiv.com/page-speed-guide/
You have to set some things and regenerate thumbnails, but its not that hard.
I posted a solution for the image sizing issues; so you may wish to review my suggestion on how to fix that as it’s not a problem with the theme. You need to look at the Thumbnail Upscale plugin and the Regenerate Thumbnails plugin.
Wait for Lucian or Marius to address issue on the “right alignment featured image option” issue.
Second issue:
you need to run the REGENERATE THUMBNAILS plugin to make your “existing images” fit the new sites. If your images are too small WP cannot enlarge them, but we also use THUMBNAIL UPSCALE plugin and works well.
Hi,
i just installed your theme and trying to understand how it works. I have a big issue with image thumbnail regeneration:
1. i’m actually regenerating thumbnails with wordpress plugin, 50% of work done which is 3000 images out of 6400.
2. i’m not sure if it would show it already, but i don’t see any of the thumbnail working (in case it was regenerated)
3. the only thumbnail working are those done manually or pre-existed where the featured thumbnail was set from the post editor control panel.
Should the regen. thumbnail plugin work also with your thumbnail!?
I’m asking it because i tried to post a new article and i noticed that if “featured image” is not set, the theme does not generate it by itself.
Another thing that is warrying me is that when a featured image is set it doubles the image in the post in case you don’t delete it manually…and if this is done automatically would be a huge problem cause i can’t figure how to modify more than 2000 posts in order to remove the double image.
do i always need to set the featured image in order to have the thumbnail?
Thanks!
my website: http://www.mytechnology.eu
Wordpress cannot make images larger, only smaller. To have images larger than what you upload, you need to use a plugin for that. I use the plugin, THUMBNAIL UPSCALE by Stanislav Khromov, which works wonderfully.
There is a full-width image layout for posts, if you look at a post edit page, check out styles 4, 5 and 6. However, unless the original image you upload is large enough, it won’t fill the space as WP doesn’t do image enlargement.
So, you would likely want to install the plugin, and possibly regenerate thumbnails with the REGENERATE THUMBNAILS plugin, in order to get images larger to fit theme sizes, which is normal practice when moving to a new theme with different size thumbs and featured images.
Hope that helped!
-
This reply was modified 11 years by
simchris.
Hi,
That function compresses images by 40% and the plugin regenerates all images. If you just add the function then only the image you upload will be compressed and if you also need the changes to be applied to the old ones too you need to use the plugin and regenerate thumbnails.
Thanks
Is it right that when i add ” add_filter( ‘jpeg_quality’, create_function( ”, ‘return 40;’ ) );” to the function.php and use the Regenerate Thumbnails Plugin, that it reduce the Image Size? Or is it only for new pictures i upload?
Hi,
I think that is the cause as the thumbnail hasn’t been created and so the full width image is used.
Please make sure you regenerate the thumbs and let me know if you still have this issue.
Thanks
Thanks Lucian for your help.
Some posts did not have a featured image when created, I added them later as I had 3000 post to add to wp.
Can it be the problem? Because if this is the problem I’rather finish adding the images before running the regenerate plugin.
Thanks
Hi,
Actually I found that the image is loaded at full size and scaled when on mega menu: http://screencast.com/t/MRbW94HSvTWY
This should not happens as an thumb should be created and used there unless this posts are old and this images thumbs used on mega menu where not created.
Please make sure you regenerate all thumbnails and check for this again: https://forum.tagdiv.com/how-to-fix-strange-thumbnails/ This should fix this.
Please let me know.
Thanks
Hi,
I just wanted you all to know that we did our best to make it so that it would please everyone.
@enterpr1se Mostly the settings are the same, you do need to regenerate thumbnails again.
Thanks
Carvax: Disculpa que te vuelva a molestar.
1. Vos usas 700×357 para la imagen, pero el modulo big slider que carga en la home usa si no me equivoco 745×483. De hecho yo trato de usar ese tamaño. ÂżEstoy equivocada? Si estoy equivocada es mejor que las achique ahora pues lo que decis de ahorra tiempo de render es importante.
2. El Regenerate Plugin trabaja en blockes de 100? ÂżPor carpetas?
La verdad son tantos detalles que ya estoy tentada de contratar a alguien que estĂ© familiarizado con esto, no por la parte de las imagenes pero si para la optimizacion y toda esa historia; asi que si tienes algun candidato en mente de confianza y tĂ©cnicamente seolido….
Desde ya muchas gracias
I’ve just download Regenerate Plugin and it says It is not tested with my version of WP (4.0) so should I considered another plugin?
I’m worried because the blog is not working properly this days.
Is this the plugin you are talking about? https://wordpress.org/plugins/regenerate-thumbnails/
In some way all the stories are new because I moved (coping and pasting!) an old static site to wp with this theme, so i imagine something went wrong at some point.
I can not turn off contact form because I use it although I would consider replacing it. Any suggestion?
I could not manage to fix the bad favicon link so far, now i will attack the aweber tracking pixel 🙂
I have optimized all the image before uploading them but now I realized I could do a better work so I’m trying to do it all again.
Thanks
Hmmm…
Hi, did you run regenerate thumbnails plugin when switching to theme to make the thumbs needed for existing stories? The theme doesn’t make thumbnails for existing stories, only new ones. So, your 2002 and 2003 images that are giving you that error should be fixed by the regenerate thumbnails plugin.
(I’d recommend adding my suggested WP image optimization element to your functions.php file before running the script — see my notes in the pagespeed sticky top of forum; go backwards from the end to find my stuff more quickly…. this will cut your thumbnail sizes by 30% without having to do anything else!)
Also remember that the theme / WP won’t enlarge images, only create smaller ones.
We don’t need to use the jpeg mini or smush-it, or similar as we actually run our own webserver using imagemagick and mod_pagespeed; we also optimize our images in Photoshop prior to upload and set the default compression in WP from 90 to 60 for better “built in” compression of images generated by WordPress automatically, and by the theme (see the pagespeed sticky in the forum for more on my tips for image optimization if curious).
You have some issues you can fix like a bad favicon link, load CC logo locally, turn off the aweber tracking pixel, turn off contact form 7 if not using it, etc.
I betcha running the regenerate thumbnails plugin will fix the issue you were mainly having, though 🙂
-
This reply was modified 11 years by
simchris.
Hi guys, i have installed theme on my existing web, i have followed all steps needed to regenerate thumbnails but when i click on the action button – nothing is happening.. no progress bar, no error just nothing.. Do you have any doubts what it could be?
Hi,
Please follow this guide and regenerate your thumbnails: https://forum.tagdiv.com/how-to-fix-strange-thumbnails/
This also could be due to the image cropping function and the way images are cropped when thumbs are created, you can find more info about it in this tread: https://forum.tagdiv.com/topic/thumbnails-and-images-url-problem-comments-problem/
Hope this helps!
Thanks
Hi Guys
Just to confirm – Christopher – I checked the log and there were no recent errors.
Lucian – there are no cache plugins so there was nothing to do there nor cdn plugins. It’s not a custom pretty permalink – it’s just the standard “day and name” option so we are hardly going offroad with this.
I did make sure attributes were 666 on .htaccess, and I cleared the file, and it was auto regenerated by WP to be the same as it was before.
The problem is not that the links don’t change – the menu links change depending on the setting in WP e.g. clicking the menu category gives the following link:
Permalink “Default” setting:
http://www.xtremerigs.net/?cat=4
– result = shows page correctly
Permalink “Day and Name” setting:
http://www.xtremerigs.net/category/build-logs/
– result = gives 404 error
Other things from those links – adding to the .htaccess in the public_html dir:
– I tried AllowOverride – but that seemed to stop the site from working – maybe I did this wrong
– I tried FollowSymLinks – no change
Any ideas?
Thanks!
I have troubles with the big slider. It shows one big image and 3 small below it no matter of the image sizes ( just had all thumbs regenerated ) . Tried disabling all plugins and then re-enabling them one by one but its not that either . Anyone has an idea of how to fix that ?
[IMG]http://i.imgur.com/aTMV9kH.jpg?1[/IMG]
somthing wronf with my thumbs on site
look at kotello.ru
i use Regenerate Thumbnails but thums is wrong…
help me please
unfortunatly this is not working for me. when applying those settings from the ubermenu knowledgebase I got the following written above the top menu of newspaper on my startpage:
ubermenu-target-title { margin-right: .6em; display: inline-block; } .ubermenu .ubermenu-item-layout-icon_right > .ubermenu-icon { float:right; } .ubermenu-sub-indicators .ubermenu-has-submenu-drop > .ubermenu-target.ubermenu-item-layout-icon_top:after, .ubermenu-sub-indicators .ubermenu-has-submenu-drop > .ubermenu-target.ubermenu-item-layout-icon_bottom:after{ top: auto; bottom:8px; right:auto; margin-left:-4px; } .ubermenu .ubermenu-target.ubermenu-item-layout-icon_top, .ubermenu .ubermenu-target.ubermenu-item-layout-icon_bottom{ text-align:center; padding:20px; } .ubermenu .ubermenu-target.ubermenu-item-layout-icon_top, .ubermenu .ubermenu-target.ubermenu-item-layout-icon_top > .ubermenu-target-text, .ubermenu .ubermenu-target.ubermenu-item-layout-icon_bottom > .ubermenu-target-text, .ubermenu .ubermenu-target.ubermenu-item-layout-icon_bottom > .ubermenu-icon{ text-align:center; display:block; width:100%; } .ubermenu .ubermenu-item-layout-icon_top > .ubermenu-icon { padding-bottom:5px; } .ubermenu .ubermenu-item-layout-icon_bottom > .ubermenu-icon { padding-top:5px; } /* Status: Regenerated */
Hi,
This usually happens when the image you have uploaded and set as a featured image is smaller than 745px width and 483px height. If you image is larger than the big slider’s big thumb wrap then you need to follow this guide and regenerate thumbnails: https://forum.tagdiv.com/how-to-fix-strange-thumbnails/
If is smaller and you don’t want to change it you can use css to stretch it to fit the container like this:
* http://screencast.com/t/ojYAYnplnxV
* http://screencast.com/t/NBUI8ve5YCDX
Please let me know if this helps!
Thanks
Hi,
Thanks Christopher!
@skotina
You can change the uploads folder by editing the wp-config.php file and add this line define('UPLOADS', 'wp-content/myimages'); like this: http://screencast.com/t/LYPM7Uqova6q
This will create a new folder for your uploads: http://screencast.com/t/eE8bWdB13bL
Note that you will also have to add again the images for existing post and regenerate thumbnails: https://forum.tagdiv.com/how-to-fix-strange-thumbnails/
If you just worry for the amount of thumbs that are created when uploading an image then you should consider as Christopher pointed to remove from functions.php file the thumb sizes you don’t use and reduce the number of thumbs being created when uploading an image: http://screencast.com/t/uP620qI8C
Hope this helps!
Thanks