I think I might be seeing more probblems than there really are, time
for a reality check. I'd like to use Django for a small newsblog, but I
know for sure that I'll need to put a number of pictures into each
newsentry. I can create a model for news/blog-items, add an imagefield
to such a newsitem, problem solved, but that's only for a fixed number
of images.

I could also create a separate image model, maken an M2M relation to
the newsitems and upload and manage the images separately. But 'off
course' I don't want a list at the end of each newsitem with the image
listed, I want them inline in the newsitem and aligned
left/middle/right. Sooo...... There's probably a parser solution to
this, extend markdown or whatever markup engine you favour and add
[image1:left] or other tags you want into the main text and insert the
attached images when the text is outputted to the user.

But wait a minute: I can't be the first Django-Newbie who is figuring
out how to solve this. However: I haven't found (or haven't search good
enough) for solutions other users have come up with. And all the
Django-'ish' blogs I've seen so far have either one or no images at all
in their texts. So the question is: how do you solve the 'multiple
images inline in newsitems' feature using Django?

You just upload the images to a directory and reference them using
plain good old <img src> html? Please say it ain't so... ;-)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to