---
title: Actionable Image by URL that is in a field
description: "Package: Get Pictures From Url RecordType to use: Get Url Pictures ### Use Case 1: Get Files from SFDC via URL In this case the File is stored in SFDC and the link to the file is in a field…"
url: "https://pdfbutler.com/academy/pdf-butler-academy/pdf-butler-packs/actionable-image-by-url-that-is-in-a-field/"
updated: "2026-05-13"
category: PDF BUTLER PACKS
---

# Actionable Image by URL that is in a field

Package: Get Pictures From Url

RecordType to use: Get Url Pictures

### Use Case 1: Get Files from SFDC via URL

In this case the File is stored in SFDC and the link to the file is in a field in the record.

URL Option 1: https://<YOUR DOMAIN>.my.salesforce.com/services/data/v64.0/sobjects/ContentVersion/<CONTENT VERSION ID>/VersionData

=> This will take the full image in the File. This means that if the image is 3MB, this will be loaded in the document completely.

 

URL Option 2: https://<YOUR DOMAIN>.my.salesforce.com/services/data/v64.0/connect/files/<CONTENT DOCUMENT ID>/rendition?type=<THUMBNAIL SIZE>

=> This will use the Thumbnail created by Salesforce for the image. The size of the image will be much smaller as this the image is optimized. There are 3 Thumbnail sizes (Quality and size get bigger):

- THUMB120BY90
- THUMB240BY180
- THUMB720BY480

=> class: PDFButler_Actionable_GetPicturesUrl
 => fields to be filled
 - Get Url Pics Master DataSource
 - Get Url Field API Name

 

### Use Case 2: Get the image via a URL directly in Salesforce

Limited amount of images and image(s) not too big.

class: PB_Actionable_GetPicsFromUrlV2
 => gets the image via the URL and adds the base64 to a DataSource
 => retrieves URLs outside of SFDC
 => retrieves also URLs to static resources or User profile photos. For these use-cases, this might be the only solution
 => No API permission is required on the User's profile or permissionset
 => the total size of all images has to remain under approx 4MB

fields to be filled:
 - Get Url Pics Master DataSource
 - Get Url Field API Name
 - Get Url Parent Query Field Name
 - Get Url Pics DataSource

 

### Use Case 3: Get the image via a URL in PDF Butler

!! When the image is not in SFDC and is publicly available. Large amount of images

=> no Actionable is required. Use this: [https://pdfbutler.com/academy/pdf-butler-academy/pdf-butler-by-datasource/late-binding-dynamic-pictures/](https://pdfbutler.com/academy/pdf-butler-academy/pdf-butler-by-datasource/late-binding-dynamic-pictures/)

 

FYI:

class: PDFButler_Actionable_GetPicturesFromUrl
 => deprecated. Use PB_Actionable_GetPicsFromUrlV2 instead
