Support » Fixing WordPress » How to re-index the images.

  • Hello,

    I’m using a portfolio theme, which adds several images for a project.
    For example I have 3 projects P1 P2 P3 each one with 3 images P1i1 P1i2 P1i3 P2i1 P2i2 P2i3 P3i1 P3i2 Pei3
    P1 – Project1 / P1i1 – Project 1 image 1
    The images usually appear in the order of the upload, but … let’s say I delete image2 from Project2 … we will have P2i1 and P2i3 only.
    Now when I upload P3i1 P3i2 P3i3 … instead to appear in this order it starts something like P3i3 P3i1 P3i2 and I don’t know why.
    I suppose if the images have id’s like 1/2/3/4/5/6/7/8/9 … deleting and image will place the next one in a missing hole or something … 1/2/3/x/5/6/7/8/9 …
    How can I see each image index and eventually to change that, or before to upload other images after I delete an image from a previous project to rebuild somehow the index to not have missing id’s in between.


Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Any ideea how to fix this ?

    … is this using the [gallery] functionality of WordPress ?

    If so you can open up the media library gallery section for that post edited post and just drag the media up and down and set it to use that order.

    .. if they’re just inserted into the post, then just cut and paste them around the way you want.

    I use this theme and there is a special menu for adding images as menu in fact and then to add them to the post.

    Ah well they’re the ones that will be able to tell you how to do the ‘sort order’ you are requesting. .. I still believe it’s the same way as I described though if they’re attached images to the post.

    I see, but … how do I open media library gallery for a specific post ?

    the image button thats right above the post editor textarea box .. it opens up and in wp 3.5 if you have a gallery set there’s an option for it on the left

    Thanks for your answers. I have some issues now with the server but I will be back with an answer if I solved it or not. 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to re-index the images.’ is closed to new replies.