I have an image that I want to use. I want to upload the image to Sugar instead of hosting it somewhere else. How can I upload it to Sugar so it is available to the PDF manager?
I have an image that I want to use. I want to upload the image to Sugar instead of hosting it somewhere else. How can I upload it to Sugar so it is available to the PDF manager?
Hi John,
I think this documentation will help you out.
Thanks, Haiyin. My description wasn't very clear.
I want to replace the embedded Sugar image at the top of the PDF template. If you add an image to the header file, the image is distorted. I just want to replace the image that is already there.
{SugarClub Administrator Edit: We're sorry, but this image is no longer available}
While editing the template, if you click on the Sugar image the Insert/Edit Image option will highlight itself on the editing toolbar. Click that button and it will open up the image options where you can replace the Image URL with whatever you like.
It should work the same if you also delete the default Sugar image and insert your own in its place.
Similar steps are shown on the guide here, but instead of changing the size you can change the URL:
The problem I'm having is that I want the image to be uploaded to the Sugar file structure. The image needs to be stored in Sugar. You can't just copy and paste an image into the PDF layout.
The default image is stored in ./themes/default/images/pdf_logo.jpg. I want to know how/if I can upload an image to that folder in Sugar.
{SugarClub Administrator Edit: We're sorry, but this image is no longer available}
Ah, are you on one of the commercial On-Demand versions? Seems like you could package up a Manifest with your logo file and upload it that way. Take a look here for copying files to Sugar using the Module Loader and creating manifest files:
Ah, are you on one of the commercial On-Demand versions? Seems like you could package up a Manifest with your logo file and upload it that way. Take a look here for copying files to Sugar using the Module Loader and creating manifest files: