我有一些图片,想要将它们的标题添加到最大化(即使窗口被放大也能看到完整标题),其中有可以更改的个人资料图片以及帖子图片,我只想为帖子图片添加标题而非个人资料图片,但是我不知道该如何管理。谢谢,以下是我的配置:
this is the path of posts, /post/name-of-the-picture.jpg
this is the path of users, /user/name-of-the-picture.jpg
我只想为帖子路径添加标题
location ~* \.(css|js|png|gif)$ {
expires max;
add_header Pragma public;
add_header Cache-Control "public";
}
location
块! - Mr.Coffee