Single image: Show a certain image of several images in a imagefield
hamsterbacke82 - November 15, 2009 - 12:07
| Project: | Media RSS |
| Version: | 6.x-2.9 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Thanks for this great plugin - it works great.
I set it up and chose "Fulltext plus single image".
I then noticed that it shows the last uploaded image as the foreach loop overwrites the results before. This is not so great as my first image is the most important.
To show the first image only I added a simple if ($count == 0) { on line 246 and so on.
I think the feature to be able to choose the first image or the last or any other would not be so hard to implement, however I dont know if there are any other issues involved with this.
thanks
