Images and PDFs
In this section, learn how to:
- Upload images to Aspen's web builder
- Upload PDFs to Aspen's web builder
When uploading files into Aspen, Aspen is looking at the file name. Even though you can add a title to the file name in Aspen, if you upload a file named "image.png" with a title and picture of 'book' and then you upload a file named "image.png" with a title and picture of 'library', then Aspen is going to overwrite the image of the book and show the image of the library because the file name is the same. When uploading images and files, use unqiue file name strings.
Aspen allows image uploads in two different ways:
- Via text editor in web builder pages, placards, system messages, etc.
- Direct upload via the Images section of the web builder module
Uploading a New Image
-
From Aspen Administration, navigate to Web Builder → Images.
-
Click Add New.
-
Enter a title for your image.
-
Click Select an image to upload a Full Size Image. Don't worry about uploading any other sizes; Aspen will automatically generate the other images sizes once a full size image is uploaded.
-
Save your changes at the bottom of the screen.
-
You'll now see that Aspen has generated the other image sizes based on your full size image. Aspen uses these different images according to different screen sizes -- the size of web builder cells also plays a part in this, when applicable -- so that the layout can resize responsively.
Viewing an Image
- From Aspen Administration, navigate to Web Builder → Images.
- On this page, you'll be able to view images uploaded either from within the text editors or directly from the Images section. When uploading an image via the text editor, Aspen will use the file name for the image's title. Images uploaded directly will use the image title you've specified (if applicable).
- Sort images using the Sort By dropdown menu.
- Filter images by clicking Filters → Add Filter. Select a filter ("Title" is likely the most useful here), then click Add Filter. Enter in your desired filter criteria, then click Apply Filters to see the filtered results.
Deleting an Image
- From Aspen Administration, navigate to Web Builder → Images.
- Click to edit the image you wish to delete.
- Click Delete.
Uploading a New PDF
-
From Aspen Administration, navigate to Web Builder → PDFs.
-
Click Add New.
-
Enter a title for your PDF.
-
Click Select a file to upload a PDF from your device.
-
Save your changes.
Linking to a PDF
-
Find your desired PDF in Web Builder → PDFs, then click to edit.
-
Click View PDF will take you to a PDF viewer. Copying the URL at the top of the screen will provide a direct link to this viewing page. If linking to this PDF from an external website, copy the full URL at the top of the page. If linking to this PDF from another page within Aspen Discovery, we recommend copying everything after the main catalog URL; this way, even if your main catalog URL changes, the link will still function. In the example below, you could copy: /Files/11/ViewPDF
Note: The Full Path and the Thumbnail Full Path are not the URLs you will need for linking to the PDF or to the thumbnail generated for this PDF. They are paths where the files are stored on the server.
Embedding PDFs in Custom Pages
-
Edit the cell within the custom page where you would like to embed the PDF.
-
For the Source Type, select PDF. Two new dropdown menus will appear.
-
Under Source ID, your existing PDFs will display here by title. Select your desired PDF.
-
Under Display the PDF, select either Embedded in Cell to embed a PDF viewer within the cell, or select Thumbnail Link to embed a single thumbnail image linked to another page with the full PDF viewer.