thanhvudev / n-13news

Automatically exported from code.google.com/p/n-13news
0 stars 0 forks source link

Enhancement - Associate one or more images the the article #128

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Sorry if I missed this information in the forums or somewhere else...

I was wondering if it would be possible to associate an image to an article 
programatically, similar to the way we associate categories to articles.

This would help the news editor free him/herself from having to import the 
image through the WYSIWYG editor and having to make changes to the position, 
size of the image, etc.

And each image would eventually contain metadata for photographer/author, 
source, image description, etc.

GREAT STUFF, by the way!!!

Original issue reported on code.google.com by timygonz...@gmail.com on 24 Sep 2010 at 6:14

GoogleCodeExporter commented 8 years ago
There is no straight forward way to assign images to an article the same way 
you do categories. What you could do is assign an article to a certain 
category, have the article show what category it's assigned to then style that 
so that it displays an image.

Have a look at this thread which shows the basic of idea of how to do it

http://network-13.com/thread/2330

Original comment by chriswat...@gmail.com on 25 Sep 2010 at 1:14