I'd strongly recommend the first. Some other ideas... On this site:
http://www.tramper.co.nz/index.cfm/action/story/StoryID/78/TrackID/105/ , I
did this, but set the site to automatically insert an image every x
characters down the page (in between paragraphs). That's a bit tricky.
Easier might be to have your own little tag like {506} that you embed in
your article. A regular expression could search for them and insert the
appropriate images.

But I guess something to consider beforehand is what about all the other
markup? Are you going to need italics, lists, headings...?

> -----Original Message-----
> From: James [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 26 February 2002 2:08 pm
> To: CF-Talk
> Subject: Magazines, Article and Diagrams.
>
>
> Hi guys,
>
> I am setting up a site for a magazine.
>
> Each article needs to go on-line, most articles have
> got diagrams or images contained in them.
>
> I am a bit stuck on trying to figure out the best way to
> structure this.
>
> The 2 options I have come up with are:
>
> 1. Have a table called IMAGES which would store the reference to the
> diagram, image or table and relate that to the article
> number. From there
> I can loop through the query and output the related images at
> the bottom
> of the article.
>
> 2. Have a static page that I manually create for each article
> and then using
> cfinclude pull the content into the page by way of a
> reference ID that I store
> in the db.
>
> would like to hear any opinions if anyone has done anything
> like this before.
>
> cheers
> James.
> 
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to