I wonder why on earth this field isn't required? Because of that I have now 'bout 500 untitled pictures… Best solution would be if the title field would fetch file title (but that's probably only dream).

Comments

v8powerage’s picture

StatusFileSize
new411 bytes

I made a patch for this, against 6.x-1.x-dev.

v8powerage’s picture

I found out that my simple patch is not perfect, because of that the title field is required in nodes where no image is attached you still have to type image title.

joachim’s picture

> Best solution would be if the title field would fetch file title

That's what it currently does.

v8powerage’s picture

So it was done since 4.7 then… I didn't realized that, because the title field isn't filled with the file name via ajax, only after submitting the node.

Anyway I still have loads of untitled images left from before the update :/.

joachim’s picture

I really don't understand what you mean.
You upgraded from 4.7 to 6? Did you create images while on 4.7 or later?

joachim’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)
sun’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

The title field is not controlled by Image module, or at least, can be customized via Drupal's content type settings.

joachim’s picture

@sun: The OP means the title field when you upload a new image to attach, as far as I can tell.

sun’s picture

Status: Closed (won't fix) » Postponed (maintainer needs more info)
v8powerage’s picture

I was reffering to the 4.7 branch of the module, after update to 6 this feature is present (however there's no ajax fill of the field when editing node, the title appears however once node is saved so it's ok).

joachim’s picture

Title: Make "title" filed required! » tell the user what happens when no image title is given
Category: bug » feature
Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new926 bytes

Let's tell the user why the title field is not compulsory.

Here's a small patch to add a bit of description text.

joachim’s picture

Status: Needs review » Fixed

No reviews; patch is trivial -- committed.

#625666 by joachim: Added node about what happens when no image title is given.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.