I discoverd a bug with imagefield when previewing image files.
If post settings is set to "preview required" and then for example i set a CCK field to 5 images, on preview images are usually sort in reverse order if there is not enough imagees (2 of 5 uploaded) when there is 3 of 5 uploaded then first is first then second and third are empty(def image shown) and then 2 and 3 are shown as 4 and 5. When saved images are shown correctly but this preview part seems pretty messed up.

Comments

Marko B’s picture

p.s.
seems that this happens only when using default image, when there is no def. image order is ok.

Marko B’s picture

Nobody? Think this is real bug, somebody should check it.

quicksketch’s picture

This might be a CCK issue. ImageField (and FileField) do not even know if there is a single image or multiple ones. The entire handling of multiple values is provided by CCK.

quicksketch’s picture

Status: Active » Closed (fixed)

ImageField is not responsible for the order of items in the preview, as such I'm closing this issue.