Which image modules for online magazine ?

public
jcisio - Mon, 2008-04-14 22:11

Hello,

I'm hesitating to choose image module for my online newspaper. It's rather large one, which tens posts everyday (and I'm sure there'll be about 100 posts from members everyday soon). Each post contains 1-2 images. There should be a few galleries embedded in certain posts.

I have now two solutions to start with:

Any one can point out something please ? Or should I use both ?

If you are using CCK, you

femrich's picture
femrich - Tue, 2008-04-15 05:34

If you are using CCK, you can use imagefield and image cache. There's a good article at Lullabot on this: http://www.lullabot.com/articles/image_and_image_exact_sizes_vs_imagefie...


Captions

HallSL@drupal.org's picture
HallSL@drupal.org - Tue, 2008-04-15 06:19

I'm building an online newspaper and have the same questions. Additionally, we have a need for captions and photo credits. I've tried a number of options. Right now I'm using tinyMce with image assist, so I've got captions, but not much control of them, as it builds the captions from the "title" and description. I can't find a graceful way to add a photo credit and style it differently. Suggestions?


Again, the combination of

femrich's picture
femrich - Thu, 2008-04-17 07:44

Again, the combination of CCK, imagefield, and image cache (along with some other CCK fields) should work for this. Basically this would allow you to create a content type with special fields for photo, photo caption, photo credit, and so on. Your designer would style the content type to control presentation, making it unnecessary for story submitters to do any styling...


Multiple images?

HallSL@drupal.org's picture
HallSL@drupal.org - Thu, 2008-04-17 08:05

One of the specifications that has already been mentioned is the need for more than one image per story. Before I focused on the need for captions and photo credits, I told the client that multiple images per story would not be a problem. If we go the CCK, imagefield, image cache route, we're limited to the number of imagefields (with sets of associated caption/photocredit, etc fields) we define in the beginning, right?

Also, they would like the ability to build galleries of photos from these articles. They're used to doing it manually from the photos of a given issue. Image assist includes the images in galleries, which is a big help. CCK/imagefield/image cache isn't going to do that is it? Is there a way to tag images added that way?


we're limited to the number

Garrett Albright - Thu, 2008-04-17 15:10

we're limited to the number of imagefields (with sets of associated caption/photocredit, etc fields) we define in the beginning, right?

No. Simply check the image field's "Multiple" check box, and, like other fields, it'll then accept as many values in the field as your database will fit.

However, the concern about being able to easily use images multiple times is still an issue; CCK/imagefield/imagecache doesn't have any good answers for that problem.

Captions?

HallSL@drupal.org's picture
HallSL@drupal.org - Thu, 2008-04-17 17:39

I thought we were handling captions and photo credits each with separate text fields in the cck set up. How could we have captions and photo credits for each picture if they were all transferred with one imagefield? Am I missing something about how imagefield works?


Well, two possible answers

Garrett Albright - Thu, 2008-04-17 18:57

Well, two possible answers for that, though neither of them are pretty…

One, enable the custom title and alt fields for the CCK imagefield, then use those fields to store the captions and photo credits. You'll have to tweak your template so that it gets the contents for the caption and credits areas of the template from the alt and title values associated with the images. Also, if you want either the caption or the credits to be over 255 characters, you're out of luck. This is basically what one client of ours does (a newspaper); the 255-character limit frustrates them sometimes, but otherwise it works well enough.

Two, create new text fields in CCK for the captions and photo credits, and have those also set to multiple values. Tell your editors to make sure that the first photo always corresponds to the first caption field and the first credit field, the second photo corresponds to the second caption and credit fields, etc. The fields won't be next to the images, so it'll be a bit confusing.

…Or you could not go the CCK/imagefield route and try another solution, or even a custom module.

regarding solution two

femrich's picture
femrich - Thu, 2008-04-24 08:05

regarding solution two above, CCK allows you to group fields together, so that a photo, caption, and credit could all be treated as a unit. Organizing the fields in that way should minimize the confusion a bit...


Depending of customer needs

romand@drupal.org's picture
romand@drupal.org - Tue, 2008-04-15 07:05

Depending of customer needs and editors level I'm using three alternatives:

  1. imagefield and image cache
  2. IMCE
  3. node_images (+ thickbox example - http://ukrtime.com/)

I think CCK with imagefield

jcisio - Thu, 2008-04-17 07:56

I think CCK with imagefield solution has some drawback. You can't share the same images (logos for ex) between posts. And the editor is not very WYSIWYG. I think I will use FCKeditor + filemanager (of fckeditor) to insert/upload images, then a filter to format them when display. Authors just upload images, click on the align left/right/center, fill the title then filter does the rest.

Is it ok ?

--
www.thongtincongnghe.com
Trang tin điện tử về CNTT, Viễn thông, Điện tử...

Asset module

janwari@drupal.org - Thu, 2008-04-17 19:39

We too are creating a news site in Drupal and came across the similar issue for giving the flexibility to the editor to be able to insert more than one image with caption for each story. Initially we implemented what Garrett Albright had suggested which was, we created a CCK imagefield and set its "Data settings" to multiple. Initially this seem to be a nice solution to the problem of multiple images per story.
But then we were coming across stories which used the same image and because there wasnt any "Browse Uploaded Images" folder option with imagefield we had to find another solution for adding multiple image capability.
In stepped Asset Module(http://drupal.org/project/asset) to the rescue. We created an Asset field and set its "Data settings" to Multiple. In this way the editor was able to add multiple image and if he wanted to use a image that had already been uploaded for another story all he had to go is open the Asset Wizard window and select that image.

Hope this helps. If you need any more details I would be happy to help out.

MultiMedia Module

konfuzed - Thu, 2008-04-17 20:56

You may want to look at the MMedia module (http://drupal.org/project/mmedia).

I was using a heavily modified early developer snapshot on http://www.gtri.gatech.edu/ where you'll see our case studies have none-a lot of images, related media such as pdfs and audio/video (well a few there, updating the module before we add more).

You'll see that the latest versions have had a LOT of basic information for searching, overview lists and precursor to gallery layouts added. The main dev has been very responsive and several of us have been concentrating on getting it really fleshed out, because as many have stated the multiple images per story as well as crossing media types with taxonomy is really one of the big weak points in Drupal right now.

Basically the main dev has abstracted multimedia file handling from the displays, allows you to sort and tag and treat them as a node-type object for taxonomy tagging, and adding your own metadata as well for expanded information on each type, entry etc.

You might save yourself some time with it.


Atlanta, GA USA

I'm going with CCK and

hadders's picture
hadders - Thu, 2008-04-24 12:22

I'm going with CCK and imagefield at the moment.

The main drawbacks are that I can't get my head round:
1. How to have caption and image aligned nicely.
2. How to get the image to link to the article in the teaser.

I had a try of the Asset module, which was pretty good, but not quite what I needed. My problem is that writers (students) were adding oversized images to articles (using TinyMCE) and breaking the layout. Using CCK with imagecache simplifies things giving less options and no chance of breaking things!


2. How to get the image to

yhager@drupal.org's picture
yhager@drupal.org - Mon, 2008-06-09 05:33

2. How to get the image to link to the article in the teaser.

You can do that with the latest 5.x-2.x version of imagefield.module


Just wanted to chime in here

Garrett Albright - Thu, 2008-04-24 15:11

Just wanted to chime in here to say that I'm building a personal-ish site with D6 and I'm trying the Img package as mentioned in the first post, and I'm really liking the way it works. By default it'll just display all of your attached pictures at the beginning of the post, but a little tweaking of the options and you're able to easily insert images anywhere into a post, with captions and even Thickbox support if you want it. It can even work for comments too. It doesn't have a Drupal 5 version, but if you're going to be building a site in D6 and don't need asset handling features, it's definitely an option you should consider.

About IMCE with url schema

jcisio - Sun, 2008-06-08 16:30

Anyone knows how to rename url schema in IMCE ? For example, when IMCE is called, the default folder is /sites/all/files/images/yy/mm/dd where yy/mm/dd is the current date.

--
www.thongtincongnghe.com
Trang tin điện tử về CNTT, Viễn thông, Điện tử...