I've looked around in the forums but couldn't find anything relating to this...

When I reference different images (i.e. [ image:17 ]) in a book page (not sure if it is like this in a story page as well), they reorder themselves numerically.

For example, if I want to put [ image:2 ] before [ image:1 ], I write it like that in the code, but when I view the page, it comes out just the opposite, [ image:1 ] moves into the spot that [ image:2 ] was supposed to take. That means that if I have 15 images on a page, you can imagine the confusion...

Anyway, two questions...is this a "bug", or is there some logical reason that it does this? and I'm using Drupal 4.20 (with a modified Interlaced theme, which hasn't been updated for 4.3, which is part of why I'm still on 4.2...), would moving to 4.3 fix this?

To get an example of what I'm saying, try going to http://calicodig.com/node/view/5 (login with user: james // pass: james). The images are annotated to show you what should be in what order.

any help appreciated...thanks.

Comments

d3’s picture

not that anyone's replied, but this seems to be an issue that exists throughout drupal - not only in the book pages, but in any node that one puts multiple pictures in, i.e. book pages, stories, etc.

Once again, to clarify, the issue is that drupal (v 4.20 - i'm not quite ready to migrate just yet) rearranges your images into numerical order by node id, which ruins whatever ideas you had about setting up a particular image with a particular paragraph, etc. It doesn't change the code itself, rather it modifies it as it's being output to the screen - if you go back to the "administer" section, the code is still as it should be. surely I can't be the only one who wants to put multiple images into their stories?

ignore the info about logging in above, i think that this is pretty self-explanatory.

any insight would be much appreciated, as i'm not sure if this is a 'bug' or a 'feature', heheh...

beautiful program otherwise, though.

d3’s picture

okay, well, not sure if anyone's catching this, but here's another example:

In my code for a story or book page, I have the following order of images:

--here's what's entered in:
74 71 76 65 66 45 46 75 42 73 44 52 53 72 49 62 63 78 51
--but what shows up on the page:
42 62 44 45 46 49 51 52 53 63 65 66 71 72 73 74 75 76 78

As you can see, except for the strange 62 that seems totally and randomly out of place, the images are set into numerical order.

so, once again, here's the question: is there any way to make it so that the images aren't ordered numerically? I just want them to show up as entered, and I could really use some help on this...

i'm using drupal 4.2. all images are in the same taxonomy.

d3’s picture

fixed, see this node.