ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Access Files based on substring of file name

November 21, 2012 2:29pm

Subscribe [1]
  • #1 / Nov 21, 2012 2:29pm

    Lyle Anderson

    1 posts

    I have a directory full of files downloaded from a multiple listing service with file names formatted as IMG-3471747_1.jpg,IMG-3471747_2.jpg,IMG-3471747_3.jpg, etc. where the middle portion (3471747 in this case) is the multiple listing ID.  I want to select all the files that have the multiple listing ID in the file name and pass that list to a javascript gallery.  I’ve tried doing it through PHP, but keep running in to rendering errors.

    Does anyone know of any plugins or workarounds that may help?  This is a deal breaker for the site, so I may have to go back to a pure php solution.

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases