Admin Use: Difference between revisions

From Railway Knowledge Base for New Zealand
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:




{{#formlink:form=Photograph|link type=button|Link text="ADD a Photograph"|target=Files:Photograph{{#expr:{{PAGESINCATEGORY:Photograph|Files|R}}+5000001}}.png}}
{{#formlink:form=Photograph|link type=button|Link text="ADD a Photograph"|target=Files:Photo{{#expr:{{PAGESINCATEGORY:Photograph|Files|R}}+5000001}}.png}}


{{PAGESINCATEGORY:Photograph|Files}}
Link Button to add a new Photograph page
 
Note: The photo should have been previously uploaded with a compliant file name
 
The file name for the next photograph is Photo5000002.png
 
You need to be in control of both steps of the process as you will not be able to see the photo when you need to enter the Template details unless you have it available on another device. All photo's uploaded need to be in the .png format as 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 even if all you use it for is cropping, adjusting contrast or changing file format.

Revision as of 01:25, 25 September 2024

Special link for Next YARN issue

Library_01 Library_02 Library_03 Library_04 Library_05 Library_06


Link Button to add a new Photograph page

Note: The photo should have been previously uploaded with a compliant file name

The file name for the next photograph is Photo5000002.png

You need to be in control of both steps of the process as you will not be able to see the photo when you need to enter the Template details unless you have it available on another device. All photo's uploaded need to be in the .png format as 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 even if all you use it for is cropping, adjusting contrast or changing file format.