Admin Use: Difference between revisions
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
'''Link Buttons to add a template to a Photograph page''' | '''Link Buttons to add a template to a Photograph page''' | ||
If Photo file already uploaded {{#formlink:form=Photograph|link type=button|Link text="ADD a Photograph"|target=File:Photo{{#expr:{{PAGESINCATEGORY:Photograph|File|R}}+5000001}}.png}} | If Photo file already uploaded {{#formlink:form=Photograph|link type=button|Link text="ADD a Photograph"|target=File:Photo{{#expr:{{PAGESINCATEGORY:Photograph|File|R}}+5000001}}.png}} | ||
Revision as of 21:47, 25 September 2024
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 file name for the next photograph is Photo5000002.png, broken down this "Photo" followed by a number being 5,000,000 plus the consecutive photo number, followed by ".png"
You need to be in control of both steps of the process (upload file, and add template) 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 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 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 best be done by editing the template data, rather than recreating the image file with a new/corrected name.