TWMC / Website

Website Development, Issues & Bugs
2 stars 0 forks source link

How to change the "front picture" #13

Open lfoppiano opened 4 years ago

lfoppiano commented 4 years ago

I'm uploading some photos of the last trip and I cannot change the front picture (the picture showed on the top of the trip description. I tried to change the order but wasn't taken into account.

I wanted to have this picture, instead: https://cdn.twmc.club/thumbs/activities/2020/twmc-2020-ski-and-board-trip-to-the-bandai-area-of-fukushima-prefecture/dsc_9218-800x532.jpg

nishad commented 4 years ago

There are a couple of quick and dirty ways to deal with some of these undocumented features. In general, images are sorted alphabetically by file name. The hero for the individual activity page is the first image from the sorted list. If you don't want to rename all files, add any character in front of the required hero image file name to make it first in the alphabetical list. Please see the edit I made to that filename for fixing this issue. I just added an _ as a prefix for the hero image.

lfoppiano commented 4 years ago

This workaround sounds good to me ;-)