I have get some images issue. Images are not displayed even images are at the proper location. Also When I tried to open images in browser, it says not found. Wordpress version 4.8.3 with visual composer. Tried to upload images using wp - media. Images uploaded but does not work (displayed)
Steps followed to resolve is issue:
Give 777 permission to uploads directory and all subdirectory
folders.
Inform host regarding the issue. but not able to solve the issue.
Check images by calling third site url. in that case images displayed.
Related
I recently set up a WAMP server using phpMyAdmin and am having issues displaying images pulled from my website hosted via Pantheon. I've got everything running fine, but the images will not display.
I've exported my website's database via Pantheon and imported with phpMyadmin and the theme loads correctly, but not any images. It's running on WordPress as well. I've tried to find specific examples of this happening, but I'm not sure what the deal is. Any information would be appreciated.
If i get it right you exported you wp site and imported it at a local machine ?
Have you checked / changed the site url in wp ?
If in wp the site url dont match the real url the links to the files can get broken ..
Look at our site code in browser and there you should find the image link to see what wp realy try to load.
Solved. Had to extract the contents of the .tar file into the "uploads" directory, twice. There was no explanation to do this in any of the documentation I could find, I didn't understand how .tar files work.
I have a website that I just transferred from one server to another. I did this by copying all the files via FTP from the old server to my computer and then to the new server. I changed the URL in Settings to the new url and I downloaded a copy of the database. I then uploaded the database to the new server and changed all the database info in the wp-config file. Afterwards I used Velvet Blues Update URLs to make sure all the URLs have been changed in the database.
After doing all the the website is working fine. I could update my plugins and my WordPress core files that needed updated.
The problem is now I can't upload a plugin from my computer or any media files like images. When uploading an image, I get this message:
“image.jpg” has failed to upload.
Unable to create directory uploads/2017/03. Is its parent directory writable by the server?
I checked and this directory is already on the server. In FTP I changed the folder permissions to all be set to 775.
I then tried to change the folder structure for media files to not be broken into month/date folders and I get this message:
“image.jpg” has failed to upload.
Unable to create directory uploads. Is its parent directory writable by the server?
I know this directory exists and is set to 775. To double check I also change the wp-content directory to the same permissions.
What am I doing wrong here? Why can't I upload images and plugins via the WordPress backend?
I actually think I figured this out. I went into Settings -> Media and noticed there was a box that says Store Uploads to This Folder and had a folder for the old website. I deleted the information that was in that box and updated the settings and now it works!
I had this exact issue today. After much troubleshooting, I solved this images not uploading issue -- specifically, when I clicked the upload button, no dialog window appeared. As a new WordPress installation, the dashboard was displaying asking if this was going to be a business or personal site. When I clicked I DON'T NEED ANY HELP, then I saw the normal dashboard with WooCommerce module displayed and I was able to upload media files and images from my hard drive.
I'm posting in case this answer can help someone else having this very weird problem. Also, it is possible that a plugin like OpinMonster might be what generated that "business or personal" message.
I have moved a website from the preview environment to production.
All images display correctly on the front facing elements, however if I login to the admin area and look in media library I see no thumbnails.
I have tried several plugins to rebuild those thumbnails but they do not work.
It appears to be an issue with the database, maybe it is pointing to a physical file location.
Could anybody suggest any ways to resolve this?
I have an issue with my Wordpress installation. I dont know when it happened so maybe someone can help me to find the problem.
Suddenly all my media thumbs are missing. recreation gives me an error. when uploading new files, thumbnails and links are created properly. Permalinks to the imagefiles are broken but i can use the images placed on my website (direct link/gallery). Permalink of broken files is set to WP root.
According to your question it looks that you are making a copy of your website in to new server.
If so then please make sure 2 things.
You have copied your uploads folder.
You have replaced all older link by new link in DB.
I installed a copy of another wordpress installation of a client in a subdomain. All seems to work fine but images don't. I'm using videos as background and they are working perfect. If I take a look inside the media menu the images are not visible (you can only see an X for every image), but if you manually take the link of every image all the links works fine and images are accesible.
I suspect that issue is related with any of the functions that process images. Maybe some kind of error related with the subdomain which obviously have a dot in the domain name.
¿Any idea?
Thanks in advance!
I assume that you uploaded the images of the client's WordPress installation via FTP.
As far as I know WordPress Media Library cannot “see” images that are not uploaded through the Media Library uploader. The Media Library uploader (aside from uploading your media) creates necessary references within WordPress which you don't have when uploading media via ftp.
This is a common WordPress flaw. There are plugins which might solve your problem by creating the necessary references after such a ftp upload, e.g. Add From Server.