I created a repository instance. Is it possible to see preview thumbnails of the jpg files in the file picker? Folder permissions set to 755
sure, don't forget to send 'thumbnail' and maybe 'realthumbnail' in your get_listing() function. See documentation http://docs.moodle.org/dev/Repository_plugins#get_listing.28.24path.3D.22.22.2C_.24page.3D.22.22.29 or examples in existing external repositories (dropbox, wikimedia, flickr, etc.)
Hi Marina,
That means that the code has to be modified?
@Marina,
The link you have given is vast. Could you simplify the way to achieve this please? Consider me a newbie
Regards
Moodle 2.5.1+
Ok, then I probably misunderstood you. All repositories included in moodle standard package already display thumbnails. I thought you were talking about the repository you developed yourself. If not, you need to talk to the developer. You said "I created a repository instance" but you did not specify instance of WHICH repository type.
If you are not the developer there is no way to add thumbnails without modifying the code, sorry.
@ Marina,
This is standard File System repository (please see ClipArt in the File Picker) and standard Moodle installation. So why it's not showing the thumbnails then?
I apologise again, I came to this discussion by the link from my mailbox and for some reason thought first it was in developers forum.
It is simply not implemented in filesystem repository. There is a tracker issue MDL-23044 for it
Thanks Marina, I added to watch list and voted for the tracker issue you have noted.
Regards