博客文章有多个图像 [英] Blog post with more than one images

查看:78
本文介绍了博客文章有多个图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个博客网站。我的问题是关于博客帖子和图片,如何处理这些图片以及博客内容。



例如我的博客文章中有4行,然后是image1然后再多几行,然后是image2。现在这些行将保存在数据库的一个表(博客内容)中。但是图像怎么样?根据数据库限制和速度,我们无法在数据库中保存这些图像。



在数据库(sql server)中处理这类事情的最佳方法是什么。

I want to create one blog website.My question here is relating to blog post with images,how to handle this images along with blog content.

for example I have 4 lines in my blog post and then image1 then again few more lines and then image2. Now these lines will be saved in Database in one of the table(Blog Content). But what about the images. As per the database limitation and the speed we can not save these many images inside the database.

What is the best way to handle this kind of things in database(sql server).

推荐答案

将图像存储在 FileSystem 中。这是最简单方便的方式。
Store the images in FileSystem. That is the most easiest and convenient way.


这篇关于博客文章有多个图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆