Regpack allows for HTML code in our emails, product descriptions, and ANY free text field on any form.
This means you can include an image, gif, or video in these places to further customize your registration process.
This is a really fun way to jazz up your form flow and your offerings, as well as communication to your users.
Adding an image is simple to do via HTML and doesn’t require a degree in computer science, we promise!
There are a few steps to adding an image via html into any email, product description or free text field in Regpack:
- Get the link to the image you want to use
- Copy this code: <img src=”URL”>. You’ll put the link of the image where it says URL.
- Re-size if necessary (see below for more on that)
- Place the code by clicking “Source” at the bottom of any text box in Regpack and you’re set!
How to get the URL of your image
This depends on what image you are using – if it’s from the internet or your computer. From the internet, you just need to grab the image URL.
From any web page, simply right click the image and click “Copy Link Address”. This is the URL for the image!
Be sure you have permission from the image owner to use the image on your website!
If you have an image you would like to use, you’ll need to upload it in order to create a URL. This is done easily through your website platform.
You can also ask us to host it for you – just email support at email@example.com!
The most common is WordPress – so we’ll show you how to do that.
First head over to “Media” and upload the image you’d like to use.
Once uploaded, you can find the URL of the image here:
HTML code for adding an image
The most basic code for adding an image is this: <img src=”URL”>
Simply add your image url in between the ” “, where it says URL and you’re done!
An example of the above image looks like this:
Now simply copy that HTML code and add it to the “Source” of any email or free text field in Regpack!
Where to add an image in Emails:
You can find the “Source” here on an email:
Click it, and you’ll see an HTML version of your email template. Simply copy / paste your image HTML where you want it to appear in the email.
Where to add an image in Products:
You can find the “Source” option in Product Settings as well. Head over to “Products” and then “Edit” on the product of your choosing.
Under description, you can add text, but also click “Source” and add any HTML you’d like.
Where to add an image in a free text field:
Same for any free text field on a form. Head to “Forms” and “Edit Form Fields” on any existing form with a Free Text field.
Add a free text field by choosing it from the side panel, or an edit an existing free text field by clicking on it.
Resizing Images – Advanced HTML
This takes a bit more work for the HTML code, so it’s best if you have an image that is the size you want. We aren’t able to help with HTML resizing requests in Support.
If not, you can add “width” and “height” to the HTML code for your image to resize as you’d like.
Be sure to resize it proportionally. A square is simple because the height and width will always be equal, but if you have say, a rectangle, that is 100 * 150; you’ll need to calculate the aspect ratio. We love using this handy calculator that makes it doing the math easier.
Simply input the image’s current width and height, and then your desired width or height of the new size. It will calculate the 2nd value for you. Then simply plug those numbers into the code, a sample of which is below:
<img height=”500” src=”https://www.regpacks.com/wp-content/uploads/2020/05/online-payments-software-_-testimonial.jpeg” width=”750” />
The bold text is constant – and the non bold text is what you will add for each image. You’ll need the link of the image, and the height and width you’d like it to be.
Wondering how to find the width and height of an image?
The easiest way to check is using Paint – but if your image is uploaded to Media on your website platform, it will tell you in the media description. If you scroll up to the image where we showed you how to find the image URL, you’ll see in the top right the dimensions of the image are listed.
If using paint, simply add your image into paint, and click “Resize” and then “Pixel”. Be sure to keep the “Maintain Aspect Ratio” checkbox ticked, and now you have your current image size! This will even calculate your aspect ratio for you. Just plug in the height or vertical pixel you’d like, and it will recalculate the other value for you. Then plug those numbers into your HTML code, shown above, and you’re all set!
Once your code is ready and your image is the right size – enjoy your beautiful pictures, gifs, or videos!