I had no problem to show one (cover) image, but can’t understand, how to show multiple images, for example three first. Tried this code inside main loop:
$project->images() fetches all images from a page. $project->gallery() doesn’t make sense. If you want to fetch images from a files field called gallery you have two possibilities:
Ah, ok, I wrote not full code in last comment, just was making accent on field title gallery, instead of images. Now I understand, thanks.
Like I wrote in post, tried this method $images = $project->gallery()->toFiles();, but could not get images this way. Will try one more time and see. But in this certain case $project->images() is also ok, as there are no other image fields.
In that case, a files section would probably make more sense, because the files field allows you to select images. So if the user selects only part of the uploaded images and you output all images, that sort of defeats the purpose of the files field.
yes, because your change will only affect newly uploaded files. However, if you change the template, you will not longer see files with the image template in your section in the Panel.
When you upload a file with a template set, this information is stored in the meta data file for each file.