WordPress.org

Ready to get started?Download WordPress

Forums

How To Auto-Number Each IMG in a Post? (2 posts)

  1. dakotatimmons
    Member
    Posted 2 years ago #

    Hello,

    I am running a entertainment site in which galleries of images are the main content... We need to figure out how to number each photo kind of like thechive.com does on each gallery they post. What is cool about them is they have intensedebate compatible with their system so when someone types #4, the fourth image will show up in their comment. I was thinking about writing a code with PHP that will find each img in the post, auto-increment a number and echo it before the images, but if someone knows of a better way to go about it please let me know.. Any ideas?

    THANKS! :)

  2. paul.contreras
    Member
    Posted 1 year ago #

    Not sure if you are still looking for this but it is proprietary code and is not free and you probably wont find it easily avaialable.
    Please post the your site so I can see what you're using.

    If you are still interested send me an email at contact@badsentinel.com.

    You can see it live here.
    http://badsentinel.com/2012/10/26/life-hacks-are-for-everyone-43-photos/

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic