Hi,

When importing images as nodes, the Auto Alias check box is left unmarked, and thus I can't use automatically aliasing through pathauto to generate aliases for these images nodes. Is this by design? Am I missing something?

I don't think it would be necessary to expose this in admin or import_form , but it would be great if this module created nodes consistently with normal node creation default behavior...auto alias check box marked.

I took a quick look at the code, but nothing jumped out at me. Also, I'm investigating resources on how to create custom node/edit form hoping this will shed some light on how to include pahauto's auto alias checkbox field here.

Any help would be appreciated.
jwant

Comments

jasonawant’s picture

Update:

Perhaps adding something to function _imagefield_import_create_node on line 781 in imagefield_import.module would do it, but what?

Something like below?

if (module_exists('pathauto')) {
$node->pathauto_perform_alias : TRUE;
}

jwant

wulff’s picture

I have tested locally with the latest version of the module, and the "automatic alias" checkbox is ticked on the imported nodes.

Which import settings are you using?

wulff’s picture

Assigned: Unassigned » wulff
Status: Active » Postponed (maintainer needs more info)
jasonawant’s picture

Category: Bug report » Support request
Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (fixed)

support no longer needed