Re-process all Images in WordPress - wordpress

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.

Related

Featured images not appearing

So I’ve been struggling with this problem for a few weeks now. I’ve deactivated and reactivated every plug-in AND tested my theme to see if that was the cause (and it was not) but for some reason most of my featured images are not showing up and it’s terribly annoying since it messes with the way my posts appear on my blog.
I’m considering leaving WordPress if this does not get resolved soon.
The featured images on my blog will not appear. They can be uploaded and edited. I’ve rebuilt their thumbnails. They are just fine until I attach them to a post and then they won’t show.
The problem is when I set a featured image. I can click on an image I uploaded, but it won’t actually attach to the post. After I select a featured image, it says “Click the image to edit or update” or “Remove Image” but there isn’t a picture there and when I update or publish the page, still no picture. This isn’t the case across the board and I have no idea why about six pictures have worked and the others haven’t. I’ve resized them to be the same size, same picture quality, even similar names. I’ve tried it all. I don’t know what’s wrong.
How do I fix this?
If there is no code or image is hard to understand what is happening. Could be a lot of things
The theme you have does not call those images or have to be called in a different manner. Check the theme manual or get another. (hardest way an not recommend to do it) revise the theme code to check if it does it.
Check that you are in the correct page, featured images are for posts check that you are not in a page url. Click on the url on top of the post to go directly to the post page. Also publish it before going to the post url.
Surelly there may be other thing to take in consideration, but these are the most common. Without more information of the problem is really hard to get a proper answer.

woocommerce using full size images, resized, for thumbnails

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.

Images within a post display fine but clicking on images return 404 not found error

To start with, I am not an expert of any kind. Codes drive me insane. I run a site called: http://nascentarray.com.
I moved the site from one host to another and after the migration, I found that many images were broken. So, I changed the permalink structure:
From: nascentarray.com/post-name/
To: nascentarray.com/year/month/date/post-name/
Everything looked fine until I started getting 404 errors on images interested into the posts directly.
To me more specific, I use two methods to insert images:
I use the Jetpack module of WP to create a gallery in mosaic layout that gives a carousel of images when someone clicks on the gallery.
For some posts, using Jetpack gallery module makes no sense and so, I simple insert individual images between texts using the simple media uploader.
Problem: The problem is with the posts where I do not use the Jetpack gallery module. When I click on a post, the post opens fine and shows all images in it. However, the moment I start clicking on individual images, they start giving 404 error.
Example: http://nascentarray.com/2013/02/08/tallest-buildings-of-2013/
Clicking on any image in the post will return a 404 error.
How to solve this problem? Anyone, please help me. This is so disturbing and I don't have enough technical expertise to deal with this on my own and so I can came here with a hope to find some help from experts.
The posts where you don't use jetpack image gallery module doesn't embed a gallery. Instead, you embed images in your posts individually. When you embed, there's option with image link whether you want to link image with post, attachment page, custom link or source file.
Your images are not linked to source file - instead those are linked to POST ATTACHMENT link.
Once you changed the permalinks structure of your post, the links associated with your image files were not updated and those remained as per previous permalink structure those don't exist now and thus it gives 404 error.
It's solution can be to revert your permalinks structure to previous one (short and immediate solution) and other solution can be writing a short script and update all links of images in batch with their source file or anything else.
Another solution is to use Yoast SEO plugin to generate redirect URL's for old backlinks.
See the guide in this blog post regarding this solution.
I hope this helps and you understand the issue now.
Your permalink structure is incorrect. You need to change it back to nascentarray.com/year/month/date/post-name/
If it's already that way, then you need to double check your folders in uploads. Because if you look at your one page here http://nascentarray.com/2013/06/17/stock-wallet-the-only-wallet-you-will-ever-need/
That image is linked with ../year/month/date/post_name/image_name/
i.e. http://i0.wp.com/nascentarray.com/wp-content/uploads/2013/06/stock_wallet_2.jpg?resize=389%2C176
Obviously your plugin for viewing galleries adds the extra stuff in the URL's.
Where as the link you gave above has just ../post_name/image_name/ Which isn't working with your plugin or linking of the image file.

Wordpress, excerpts and Image Links

Quickinfo:
I am using wordpress 3.5.1 with the latest version of the "FancyBox
for WordPress" -Plugin.
I use the more-Tag for all articles, making
only excerpts of them beeing shown on the start-page.
Facts:
In wordpress image-thumbnails included in the article are enclosed
in a link pointing to the image-url by default.
The Fancybox-Plugin makes such Links open the image in a jQuery Fancybox.
My Problem:
Sometimes I show images in the excerpts, too.
At this time theres happening an usability-flaw:
When clicking on the Image a fancybox will open, but people expect to get redirected to the full article instead.
Is anyone aware of a solution how to overcome this issue, maybee by using an other plugin, changing the structure of my articles or editing some php-files?
I don't know about the plugin you are using but I've always used colorbox. There's a plugin for it designed for wordpress and it allows you to specify which images you want to open in a jquery window.

Resize uploaded images in wordpress

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.

Resources