wamp服务器wordpress媒体库不显示图像

我通过Wamp Server在localhost上运行wordpress woocommerce网站。 媒体库曾经工作正常但是现在,每次上传新图片时,缩略图都没有显示,但是当我打开文件位置的网址时,图片显示效果很好。</ p>

我尝试停用所有插件但问题仍然相同。 </ p>

我还尝试了其他解决方案,例如重新上载我的.htaccess但它无效。</ p>

请帮帮我。 </ p>
</ div>

展开原文

原文

Im running wordpress woocommerce website on localhost via Wamp Server. The media library once worked fine but right now, every time I upload a new picture, the thumbnail doesn't show but when I open the url of the file location, the picture shows well.

I tried deactivating all the plugins but the issue is still the same.

I also tried other solutions like reuploading my .htaccess but its not working.

Please help me out.

dongsi7067
dongsi7067 我如何与您分享我的文件?
一年多之前 回复
duanbishai5271
duanbishai5271 我尝试上传12.4KB仍然无法正常工作
一年多之前 回复
duanfan5012
duanfan5012 toolong
一年多之前 回复
duanhegn231318
duanhegn231318 #BEGINWordPress<IfModulemod_rewrite.c>RewriteEngineOnRewriteBase/furniture/RewriteRule^index\.php$-[L]RewriteCond%{REQUEST_FILENAME}!-fRewriteCond%{REQUEST_FILENAME}!-dRewriteRule。/furniture/index.php[L]</IfModule>#ENDWordPressphp_valueupload_max_filesize64Mphp_valuepost_max_size128Mphp_valuememory_limit256Mphp_valuemax_execution_time300php_valuemax_input_time300
一年多之前 回复
drl47263
drl47263 你更新网址和永久链接是什么意思?该网站使用wamp服务器在本地运行:(
一年多之前 回复
dqrkcjxbi35024762
dqrkcjxbi35024762 它昨天运作良好,但今天不再了。我在这里添加了照片,供您查看drive.google.com/open?id=1ZCVlQv3Q22MLCKmMGvCpT210m0xt8pob
一年多之前 回复
douliedu335997
douliedu335997 toolong
一年多之前 回复
dongrang2140
dongrang2140 toolong
一年多之前 回复
dsxcv5652
dsxcv5652 我发现图像的永久链接和文件URL是不同的。永久链接是localhost:8080/furniture/logobcss,文件网址是localhost:8080/furniture/wp-content/uploads/2019/01/...
一年多之前 回复
dongxuying7583
dongxuying7583 当我在媒体库页面中检查时,这就是我在控制台中得到的结果--->当选项卡处于后台时,活动资源加载计数达到了每帧限制。网络请求将被延迟,直到上一次加载完成,或者选项卡被带到前台。有关详细信息,请参阅chromestatus.com/feature/55271601481973761.4.1wp-tinymce.php?ver=4800-20180716:2
一年多之前 回复
duangu1868
duangu1868 控制台日志上的任何错误?
一年多之前 回复

2个回答



单击Inspect Element并检查图像的路径是否正确。 如果图像的路径有问题,那么修复将图像插入文件夹C:\ wamp \ www。</ p>

这样你的Wampserver就会找到图像。</ p >
</ div>

展开原文

原文

Click on Inspect Element and check if the path of your images are correct or not. If there something wrong with the path of the images, then fix with inserting the images into the folder C:\wamp\www.

This way your Wampserver will find the images.

dongnianwo8289
dongnianwo8289 谢谢您的回答。 我尝试打开网址localhost:8080 / furniture / wp-content / uploads / 2019/01 / typing.png它显示完美。 我注意到当我在媒体库中打开图片时,它就像这样文件名:文件类型:image / png上载日期:2019年1月25日文件大小:
一年多之前 回复

Step 1 Login to Wordpress Backend

Step 2 Go to > Settings > General Settings

Step 3 Supply WordPress Address (URL) & Site Address (URL) to your local website URL i.e. http://localhost:8080/furniture and Save changes

Step 4 Go to > Settings > Permalink Settings scroll down to Product permalinks and select Shop base and Save changes

Hard refresh and Test your product page it should have to work normally.

If above solution is not working for you then you can disable all plugin and use default theme might be incompatible plugin or incorrect file permissions are the primary causes here as I have seen you're not able to see Grid View properly.

dsfjnxjlbqv9812
dsfjnxjlbqv9812 我尝试停用所有插件并重置为默认主题但问题仍然存在
一年多之前 回复
duanci1858
duanci1858 一旦您选择了商店基础并保存更改,这是正常的,单选按钮将移动到自定义基础。 尝试禁用插件,主题可能会出现冲突或权限问题
一年多之前 回复
dqd3690
dqd3690 我试过,但我注意到永久链接设置每次我保存更改它将始终返回到自定义基地:(
一年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问