• Hi guys,

    My client wants it so when he posts galleries, the file names will be automatically shown underneath each image.

    I’ve been able to use captions to get the desired effect, however this means going through the images and copying the file name into the caption.

    I think I can work out how to extract the file name using PHP, but I’m not sure how I’d actually inject that into the gallery output so it appears where the caption goes beneath each image.

    Anyone have any pointers? It’d help me a LOT!

  • The topic ‘Use file name as image caption’ is closed to new replies.