| Craig F | Mon Feb 08 2010, 02:56PM | |
![]() | I am working on a a plug in where The <image tag would work great with one exception. I only want files that start thumb_ to be shown. Is it possible with the way the project is currently written? I was initially looking at doing this with file list, but with a new development <image would work better I believe. The big reason for doing this is I don't want the users selecting the full sized images listed in the same subdirectory. e107 forum post | |
| bugrain | Mon Feb 08 2010, 04:03PM | |
![]() ![]() | answered at e107.org cheers bugrain | |
| Craig F | Mon Feb 08 2010, 04:19PM | |
![]() | bugrain, - I thought my search abilities were pretty good, but I can't find a referance to this and I searched prior to making a post because I hate bothering Developers when they have already posted the answer somewhere. I may have also misstated what I am looking for, let me give a better example so I know we are thinking about the same thing. My directory album1 has the following files. teak.jpg resize_teak.jpg thumb_teak.jpg 405 _cove.gif resize_405_cove.gif thumb_405_cove.gif 40513charleston.gif thumb_40513charleston.gif resize_40513charleston.gif When I select the sub directory and click choose I want to see only the files starting with thumb_ | |
| bugrain | Tue Feb 09 2010, 07:26AM | |
![]() ![]() | IN the thread you linked to - isn't that the same thing? cheers bugrain | |
| Craig F | Tue Feb 09 2010, 01:03PM | |
![]() | bugrain, In my first request I was looking to get the scripts in the list examples to work together. changing the dir would change the list in the file list. ![]() After you mentioned that it was not a quick fix and you were tied up and I found out an additonal piece of information on the application I changed my direction to look at the image list. Utilizing the tag in this script ![]() I was hoping to have the expanding window to open with files containing a certain string of information. in my case files with the begining characters thumb_ Thanks in advance for your assistance. | |
| bugrain | Tue Feb 09 2010, 04:30PM | |
![]() ![]() | OK, well that's still a change in the code somewhere to restrict the file list to specific files. If you only ever need to look in one directory, then probably the "filelist" approach may be better, though you'll still need to do some code changes to my code for this too. cheers bugrain | |
| Craig F | Tue Feb 09 2010, 04:49PM | |
![]() | Thanks for thinking this over, I do appreciate it. BTW your contributions to e107 have been great and the direction that e107 is going is just incredible. Craig | |