Blog images are acting strange - wordpress

I have Mangento Wordpress integration in my webshop and the blog images aren't being loaded, i tried changing the permissions of folders but it didn't work. Tried a lot of research on this problem but turns out no is having it. Even when i upload the pictures using media uploader it shows up like this (the picture doesn't show) and when click insert, it insert a broken image icon.

Have you uploaded images in correct path as per your website coding, The most issues related to images is that images doesn't exists in their path location that is mentioned in code. You should check the error logs for the same.

Related

Wordpress Is Changing My Image File Names and Adding Numbers (150x150 for example)

I am using Wordpress and the Elementor theme. When I upload images via the Image Box tool, the image shows for a few days, then at some point down the road, the image file names changes on the server and the image is then broken on the site.
On the server, I can see the original image, and then some sort of image size numbers are added to the file name such as 150x150 or 1026x768).
I understand that Wordpress sometimes resizes and adds images, but I have gone into images and entered "0" in setting to prevent it from doing this. I have also gone into functions.php to remove any re-sizing issues, but there was no code related to resizing there.
That's not Wordpress doing it, it's your theme..
Well it turned out to be a server load issue. The shared server couldn't handle the requests we were making daily, which affected our image uploads. If anyone else has this issue, upgrade to a dedicated server.

How to regenerate missing WordPress thumbnails?

This is the problem on my site.
Suddenly 5000 thumbnails disappeared from my server. The files are not there.
Most of them are from 1 of 2 sizes: either 0x550 or 550x0.
I've tried regenerating them with the available plugins (AJAX Thumbnail rebuild, etc). Almost 3000 were created with the right size.
That leaves me with 2k images missing.
Here's the thing.
If I edit a post that contains the embeded image, and click the "edit" button on the image itself -which obviously doesn't show but an error square takes it place-, when the lightbox shows up, the image is then re-created at the right size.
So, since all the plugins failed the only option now is to recreate each image by editing it on the post itself.
I already have the URLS of the missing images thanks to a 404 error checking plugin.
So basically I can take the URLs and extract the original image name and width/height from there. But how can I manually create the thumbnail file using that information?
Thanks for your help!

og:image Works Unpredictably on WordPress Theme

When attempting to share a page on FB, many images seem to only appear AFTER running the page that contains the image through the debugger first. Additionally, the debugger seems to throw different errors for the same page in some cases, even though I've made absolutely no changes to the page. Sometimes it tells me the image url cannot be found, and after clicking on "Scraped URL:" or "Graph API: the image url is found and the image then appears in the debugger?! However, nothing seems to happen consistently and it is very difficult to replicate these issues.
I tried unsuccessfully to post the code here, however, I'm using a modified version of a script provided by Chad Von Lind (http://vonlind.com/?p=539).
Sample pages (that did not display an image until after they were submitted to the debugger):
http://greatmomentsinparenting.com/photos/warning-parents-keep-out/
http://greatmomentsinparenting.com/photos/12-hours-in-a-car/
I don't understand why the images appear sometimes, and not at other times. Is it a caching issue? Does it take time for the image to show up in the cache for a newly published page? Can I force FB to cache the image on the first try? Or is it because I'm using a dynamic image url? And by the way, the image sizes are 203x203 pixels.
Thanks!
It's media temple. I have been working with them for weeks to fix it.
Facebook 503 502 Same html different servers different results

Batch resized images on server, now image sizes are wrong in Wordpress

I ran a Mogrify script on my server and resized about 1000 images. That went fine.
However when I started editing pages in Wordpress I noticed the images all looked very odd. Thumbnails for example weren't sized correctly and looked like they had been resized incorrectly.
I checked some images in the media library and saw that their metadata showed the old resolution, before I had resized it.
Is there any way I can have Wordpress go through and update its media library with the correct image sizes?
Problem is WordPress has its own way of dealing with image sizes. And it's not only the metadata and other database info, the various versions that WP generates has the size suffixed to the file name.
You will probably need to use add_image_size in your theme's functions.php and/or adjust the Media Settings in the administrative panel.
After that, run the plugin Regenerate Thumbnails. And regarding its name, I'll quote the plugin author:
Anything that is not the fullsize image is a thumbnail. Some
thumbnails are just bigger than others. My plugin re-makes all of
them.
PS: please note that WordPress questions are better fit here: http://wordpress.stackexchange.com

WordPress Media Library Issue

I've uploaded my images using the WordPress Media Library. Permissions are set on the Uploads directory. Images are showing up in the proper uploads directory and re-sized correctly. Database is updated correctly and has proper path to images.
When in the media library, I see the thumbnails to the images, but when I click on a thumbnail to view the image, it doesn't display the image at all. Nothing shows up.
I've also tried using these images in an image slider and when i browse the media library, it finds them. I select the image to use in my slider and the thumbnail of the selected image gets displayed fine, but when I view my slider from the web page the image doesn't get displayed there either. Just an empty slider.
I have no plugins activated at all.
I'm using the Bizniz theme purchased off Themeforest.
I've updated WordPress to 3.3.2
Running off my local machine using Apache.
When i copy the image path from the database and paste it into the browser, the image gets displayed fine.
Everything is working except for the images. Any help is really appreciated!
UPDATE:
Ok, i tried switching my theme back to Twenty Eleven and then clicked my media library thumbnails and the images are displaying correctly. So it looks like it has something to do with the Bizniz theme i'm using. Is it possibly a jquery conflict or something? Anyone have any ideas?
Thanks again!
John
Ok, i've found a "temporary" solution to the problem. It seems the issue is with the version of TimThumb (which was v2.8.10 installed with the Bizniz theme).
I ended up using an older version (1.14) in place of this new version and it seems to have resolved the issue.
Although this has resolved the issue, i'm saying "temporary" as i'm not sure what features i might be missing between the two versions and am hoping the new version gets updated to correct this issue.

Resources