I’m constructing a new cms with the option to create reviews and articles (blog items).
Now if the user wants to write a review he/ she will want to add a lot of images in the text. Now my question to you is , what would be the best option to include those images (with keeping in mind that a CDN can be used later).
I was thinking of the following methods:
- Break an article in multiple blocks, each block can then include a picture and text.
- Just add the picture in the text via WYSIWYG editor (easiest option but not so versatile)
- Upload images separately and include them via tags in article text. Like
Title
{img_1}
Content
How do you guys (and girls) do these things?
Thanks for your time
I think a combination of options 2 and 3 might provide a good balance. You could allow the users to upload the images they will use in their article/review. Then use an enhanced text editor (like the one that Stack Overflow uses for questions & answers) to write the article and embed the pictures.
In the Stack Overflow editor you have to enter a URL for the image you would like to embed. You could simplify this since the user has uploaded the picture and you know where it is. A small piece of UI could allow them to select the image they want to embed. You could then take the selection, determine the image url and inject it into the editor.