I am installing a wordpress theme innovation science 2 (from Digital Cavalary) for my gaming portal.
I'll understand the whole theme functions but I have a problem with thumbnails on posts and pages.
Thumbnail images on my site are not generated properly, loading icon is spinning and the image is not loading.
Whenever I click on spinning thumbnails, image will be opened but thumbnails not showing. I guess there is no problem with images, its about images resizing or thumbnails generating.
Can you provide some code from the theme? Especially the index.php and the functions.php. It feels like there is a method that extracts the image from each post and uses that image to generate the thumbnail. For some reason it is failing to identify the image to extract and resize.
Related
I reviewed the answer here but the plugin page for the solution says it is behind by 3 major WP versions.
Decided to move blog from Blogger to Wordpress because Blogger was downsampling my graphs/plots which made them unacceptably blurry.
Got everything into Wordpress, BUT it appears Blogger exported the blog with links to the downsampled images. The media library in Wordpress has two files for every image - one for the original resolution and one for the blurry image Blogger created:
The first file is the Blogger-created version and that is what the post links to. I have hundreds of graphs like this.
Can anyone suggest a way to solve this short of manually editing links? Is there a way to force Blogger to export the posts as I created them, with links to the original files I uploaded? That would be ideal.
Part 2: I probably have 110 (or 161) posts where the images are still being served up from Blogger! Via custom links - mouse-over the image in the example here. I was probably trying to solve a problem with the resolutions but do not recall now what exactly; but these posts are easier to fix since I can regenerate the html with the new links which are sequential - district_1.png, district_2.png, etc. Question for this part: is there a posts directory in WP where I can simply overwrite the files? In Blogger there wasn't (that I could find/access) and I had to copy-paste the code into the post editor window.
I tried many tricks, googled many websites, used many wordpress plugins but failed & fedup. I am running a coupons/ deals website, my problem is i want to display the product image completely without any crop even if it is small in size.
The original image is https://postimg.org/image/ue5aamx8t/
but cropped image showing in my website is http://couponfun.in/product/kanvas-katha-tote-%E2%82%B983/
please help.
Just do this thing,
The category images are the same size as shop_image (or Catalog) thumbnail. WooCommerce handles its product thumbnails in its settings:
WooCommerce->Settings>Products>Display
You can change its height, width, and toggle the hard crop on/off.
Note : After changing the image sizes you will need to regenerate thumbnails. (Link in same page you can see.)
I have an up to date install of wordpress and woocommerce using a pretty simple, customized theme.
I recently noticed that woocommerce is not calling thumbnail images for catalog pages, the cart, anywhere.. i hadn't noticed earlier because everything looks OK. For example: the cart displays 32x32px thumbnails, but is merely re-sizing the original image (1000x10000px) down to 32x32 instead of calling a smaller file such as the 150x150px thumbnails. it seems to be doing this anywhere a smaller image is used and my main catalog page is almost 40mb which is ridiculous- it should only weigh 1.5 or 2mb...
if you're feeling frisky, the 40mb catalog page is at superfly5000.com/collections/ (NSFW!!!)
Both woocommerce and wordpress image settings are set to 150x150 and 300x300. WC single product images and WP large size images are set to 0x0 so it will call the original image.
I have regenerated thumbnails and am about to convert all my PNG's to JPG's to save some weight but I really don't want to lose transparencies..
Any ideas??
You have to enable the hard-crop option for thumbnails, more info.
resolved: cool thanks,Vikas, the hard crop wasn't the issue but the snippet at the bottom of the page (https://docs.woothemes.com/document/adding-product-images-and-galleries/#section-4)- manually calling image sizes from the functions.php and regenerating thumbnails apparently did the trick. for some reason WC wasn't using it's own image sizes settings- i don't know why.
I have this news portal i built, and the client want a different size of the featured image.
I all ready made my first desired size and they have posted around 200+ posts all ready with that image size. Now, if i change the size it only changes on the new posts / or re upload of the current featured images(which is too much to do by hand).
My Question is, is there a way to resize the uploaded images?
I've never used it, but I think the Regenerate Thumbnails plugin does that.
I've got a blog that has the highest-resolution version of all its images embedded in the posts, rather than a thumbnail linking off to an image attachment page.
Can you tell me how I can re-process all embedded images so they're output as reduced size thumbnails that link off to their own attachment page (which is WordPress default settings)?
Am I right in thinking I can involve the Regenerate Thumbnails plugin in this?
That was just about what I would suggest, it works wonders, but it will take longer depending on the amount of photos.
Another thing you can do is run the images through an optimizer before posting to speed up load times.
I don't know about this plugin but there is a plugin called auto post thunbnail for wordpress. I have used it and it works great. You just press the generate button and wait till it generates thumbnails for all of your posts, if they have an image in them.