1.图片如何伪本地,应用中心的说明看过了,没有用
2.
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)$ 七牛url/forum/7niu/$1
3.使用上面一段代码后,确实可以在列表显示,但图片显示不出来
4.显示出来的是这样的:
5.还试过了nginx服务器增
加rewrite规则
rewrite data/attachment/forum/7niu/^(.*)$ http://xxxxxx/forum/7niu/$1 break;
可没有用,和上面的效果一样。
URL rewriting + PHP code correction, write URL rewriting rules
Use PHP code to process images
If you’re not serious, you can also add your own website’s watermark to the picture
At LZ’s request, the following demo:
Original image
Insert URL and watermark
Learning has no field, just learn it to the end
I am using dz3.2gbk
Maybe due to space reasons, I should use web.config
Forgive me for being stupid, I have studied the above method for a long time but have not studied how to use it
Where is [Write URL Rewriting Rules] Write?
【PHP code processing pictures】Where to copy this code?
It seems that the Qiniu Cloud address can be called. How can I call it? There is no tutorial...
rewrite data/attachment/forum/7niu/^(.*)$ http://xxxxxx/forum/7niu/$1 break;
This way of writing should be wrong.