I have a problem in my Wordpress site. When I upload file or image by Add New in "media library" and open the url that the Wordpress gets and open it in a new tab it gets this page :
enter image description here
and can't open the file!
and I cant use its url in pages..
But in the case of image it save in server more than one version of the image like 'img.jpg' >> 'img-90x90.jpg' and 'img-90x65.jpg' etc., The url of this image is working well without any problem !
And if I uploaded image to the server manually by FTP Account it works well.
I works on WordPress 4.7.1
Thanks a lot for help in advance :)
Related
So for some reason my images are just showing a broken image icon when I open my website from the adminpanel in WP. But when I open the index.php file the images are showing just as I want them to. Same with my javascript.
I have linked the image directory correctly since they are showing up when I only open the index.php file. They are also in the media library in wordpress.
Maybe a simpler explanation is:
localhost/website/wordpress = no images, only broken image icons.
localhost/website/wordpress/wp-content/themes/mywebsite/index.php = the images are showing.
EDIT: I found out you could copy the link that wordpress gives you for every image, and that made it work.
Is that the only way of doing it or is there another way?
Check is your .htaccess file for rules applied to images or image folder. Rename it to be sure
Remove image related wordpress plugins like "Adaptive Images"
It may due to file accessibility permission issue. Just give permission to your image folder. check your .htaccess file (on root).
Install a file browsing plugin or directly go to the hosted site and edit the .htaccess file. Add the folder name on the file
When I am uploading images in WordPress media. It shows error.
error showing: An error occurred in the upload. Please try again later.
And also any of the images is not showing.
Here I click to attched image to the page but there is no image
Not any of the images are showing here only wp loader is rotating.
This issue comes when I make a second copy of wordpress site on the same server. I have given Site URL and Home URL correctly and also given permission to the all the folder. Yet this issue not resolved. but other wordpress site is working fine on this server.
There are many reasons to do not upload images in your WordPress media library.
That might be the issue of permission of your directory or as you said you have given permission already then you should check you upload path.
There are also some other steps to check and solve your issue.
Please follow this link. It will guide you step by step process and hopefully work for you.
I developed a wordress site at: http://acenetsolution.com/activelearningwp/
I have manually moved the site to: http://activelearningpartnersltd.com/ on a different server.
But now, i can't see any images on the site and content is missing. However, pages are working fine.
I can see all the images are uploaded on server but they are not displaying.
When i upload a new image in wordpress the URL for the image comes as: http://activelearningpartnersltd.com/home/activey2/public_html/activelearningpartnersltd.com/wp-content/uploads/2016/04/logo-1.png
It should be like: http://activelearningpartnersltd.com/wp-content/uploads/2016/04/logo-1.png
My widgets are also not displaying in wp-admin.
Anything i did wrong?
Use This process
download your server database file.
now open your database file in notepad++ editor
now find "http://acenetsolution.com/activelearningwp/" and replace url = "http://activelearningpartnersltd.com/" replace all
now upload this database on server
when i click to upload a featured image for any post or page it gives me this error:
An error occurred in the upload. Please try again later.
and also images display in the media section when i click on the featured image link . i have tried many thing changed permissions of the uploads folder made them writable by setting permissions to
0777
and activated and deactivated all the plugins but still its giving me this error . Any help will be much appreciated.
when i click on the set featured image the images in Media Library also don't show up instead it shows like this :
i have pictures in my media library but they don't show up there..
or it has something to do with the uploads path ?
Problem Solved:
there was some malware in my wordPress i have downloaded a new copy of wordpress and then installed my theme in it and it works fine now ...
Checkout Your all active plugins. Deactive all plugins in your theme.And then try to upload image then media is working. After media working then one by one active your plugins. Then check out your plugin which give error to upload file.
I have recently installed Magento and am using it for the first time. I am trying to uplaod an image to a folder as the new logo in the heading. When I upload the image using FTP the file uploads successfully but I can’t see it in the folder listing in a browser or on the website or if I visit the url for the image. I get a 404 page instead. Everything is getting cached I believe. I have turned off caching in the back end and cleaned out var/cache folder. This is a new one to me as I wouldn’t ahve thoughts ftp uploading an image would or could be cached? I can’t even change the header image on my website.
Im using the hellowired them as a starting point.
Cheers
Check the permissions on the Images and the directory it is in.
Can you verify that it is in the folder that you have uploaded it too?
Can you view it on server browsing the directories?
Finally check that you have type it correctly as Linux box's are CAPS sensitive, this could be why you can't see it also.
Looks like my host migrated my accounts to another server and I was actually updating the old hosting. Thanks for your help.