Just a quick question...I'm using the upload and image modules. I see attachment lists in node view display non-image files as a list and shows thumbnails of image attachments with link to actual image node. Is it the image module that overrides theme_upload_attachments($files) located in upload.module? I created a phptemplate_upload_attachments($files) function in my template.php to override, but I see no change in the attachment list display.

Thanks,

Mike

Comments

sin’s picture

I done such thumbnails with image_attach or upload_image module. Look if one of them enabled.

iandit’s picture

Thanks Sin,

upload_image module was the one. I guess it overrides the default theme_upload_attachments function and renders its own attachment list.

Mike

updated: Quote from upload_image module

// We use CSS to hide the attachement table created by upload.module,
// we'll re-create the table but only list non-image files.