Admin Use: Difference between revisions
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
=== '''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 | If the Photo file still needs to be 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 | If the photo file has already been uploaded | ||
Line 26: | Line 28: | ||
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. | 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 difference between the two options 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, but the page name is prefixed with "File:" because all the Pages for uploaded files are in the 'File' Category. | ||
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. | 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. | 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. |
Revision as of 02:10, 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 the Photo file still needs to be uploaded
If the photo file has already been 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 between the two options 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, but the page name is prefixed with "File:" because all the Pages for uploaded files are in the 'File' Category.
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.