Admin Use: Difference between revisions
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
'''Link Buttons to add a template to a Photograph page''' | === '''Link Buttons to add a template to a Photograph page''' === | ||
{{#formlink:form=Photograph|link type=button|Link text="ADD a Photograph"|target=File:Photo{{#expr:{{PAGESINCATEGORY:Photograph|File|R}}+5000001}}.png}} | {{#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 | If Photo file already uploaded | ||
{{#formlink:form=Photograph|link type=button|Link text="ADD a Photograph"|target=File:Photo{{#expr:{{PAGESINCATEGORY:Photograph|File|R}}+5000000}}.png}} | {{#formlink:form=Photograph|link type=button|Link text="ADD a Photograph"|target=File:Photo{{#expr:{{PAGESINCATEGORY:Photograph|File|R}}+5000000}}.png}} | ||
If the photo file still needs to be uploaded | If the photo file still needs to be uploaded | ||
Revision as of 01:02, 26 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 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.