Admin Use

From Railway Knowledge Base for New Zealand
Revision as of 22:15, 25 September 2024 by Robert (talk | contribs)
Jump to navigation Jump to search

Special link for Next YARN issue

Library_01 Library_02 Library_03 Library_04 Library_05 Library_06


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Link Buttons to add a template to a Photograph page

If Photo file already uploaded


If the photo file still needs to be uploaded


Note: Select the TOP button if the photo file still needs to be uploaded, or the BOTTOM button if the photo file has already been uploaded with a compliant file name.

The difference is the number that is generated. if the photo file is already uploaded the generated number has to reflect number of files in the Category, otherwise it needs to represent one mor than the number of files in the Category the file format is Photo5NNNNNN.png, where NNNNNN is the generated number.

You need to be in control of both steps of the process (upload files, and add template) and best to be able to see the photo when you populate the Template. All photo's uploaded need to be in the .png format because the file extension is hard coded into the pagename generating code. I have found the graphics editor Paint.net (opensource) to be an excellent piece of software if you need to change a format, even if all you use it for is cropping, adjusting contrast or changing file formats.

Data can always be edited if something goes wrong but that will always be best done by editing the template data, rather than recreating the image file with a new/corrected name. Until Photo data gets linked to pages, the page name for a photo is immaterial.