hi,

just tried the dev version in a drupal-6.2.

I activated the module. There seems to be no configuration necessary (nothing in admin menu about "upload_image"). Then I created a new story and attached 2 images and a pdf, all three have "List" checked.

After saving I get

- two new image nodes that show a text that they belong to another node (my story)
- a new story that lists only the PDF attachment

The images appear nowhere in the story page.

As I understood the module description I would expect the images to appear as thumbnails somewhere on that story page. Is this wrong?

(Also I tried to create a view to show me a list of attached images but I fail miserably at doing this)

Jens

CommentFileSizeAuthor
#3 upload_image.patch1.25 KBansorg

Comments

ansorg’s picture

Title: uploaded, attached images dissappear from the paent node » attached images not shown in the parent node
Category: support » bug

changing thtie and category to "bug"

I just did the same steps in a Drupal 5.x setup ad there I get the images shown on the node.

I set up a new Drupal 6 site and tried the upload_image again: no images (thumbnails) shown on the node and images also not listed in the attachment box - they completely disappear from the node (but are available as individual image nodes).

comparing a "dev render" of the node between D5 and D6 i see an "upload_images" array in D5 but not in D6

ansorg’s picture

hm, seems like the theme_upload_... functions do not get called. How do they usually get hooked up?

ansorg’s picture

Component: Miscellaneous » Code
Status: Active » Needs review
StatusFileSize
new1.25 KB

ok, got it. the theme hook functions are inconsistent, three lines of code need to be changed

I try to create a patch - it's my very first drupal patch ever ;)

If its totally BS what i have done please tell me the right way

Jens

quibus’s picture

I tested this patch. For me it works and show the thumbnails on the bottom of the post. Nice work! Can someone commit this patch to the code?

quibus’s picture

Status: Needs review » Reviewed & tested by the community
killes@www.drop.org’s picture

Status: Reviewed & tested by the community » Fixed

applied

Status: Fixed » Closed (fixed)

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