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

  1. dakotatimmons
    Posted 3 years ago #


    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
    Posted 2 years 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.


Topic Closed

This topic has been closed to new replies.

About this Topic