WordPress.org

Ready to get started?Download WordPress

Forums

How to re-index the images. (8 posts)

  1. simi_id
    Member
    Posted 1 year ago #

    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.

    Thanks.

  2. simi_id
    Member
    Posted 1 year ago #

    Hello,

    Any ideea how to fix this ?

  3. Frumph
    Member
    Posted 1 year ago #

    ... 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.

  4. simi_id
    Member
    Posted 1 year ago #

    I use this theme http://wpshower.com/themes/portfolium/ and there is a special menu for adding images as menu in fact and then to add them to the post.

  5. Frumph
    Member
    Posted 1 year ago #

    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.

  6. simi_id
    Member
    Posted 1 year ago #

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

  7. Frumph
    Member
    Posted 1 year ago #

    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

  8. simi_id
    Member
    Posted 1 year ago #

    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. :)

Topic Closed

This topic has been closed to new replies.

About this Topic