Automatic image and link to the latest issue

Art. no. 216099709

No alt text available

Automatic image and link to latest issue

If you want to promote the latest issue of your e-magazine on your own website or in a newsletter, you can use our features to automatically link to the latest issue and display the cover of the latest issue.


You can do this by inserting an HTML code on your website or in an email. 
You can easily customise the code by adding your own information.


This is the html code to create an image of the latest issue with a clickable link that takes the visitor directly to it.

<a href="https://{domain}/p/{title-slug}/latest/{title-id}"><img src="https://mediacdn.prenly.com/api/image/{domain}/{title-id}/latest-issue" /></a>

You need to replace the variables in the code - title-id, title-slug and domain - with the ones that apply to your e-magazine.

Example. If you want to use the code to display and link to the latest edition of Jyllands-Posten, use the following variables.

{domain} =. "eavis.jyllands-posten.dk"
{title-slug} = "jyllands-posten"
{title-id} =. "2671"

Which means that the full code is written like this:

<a href="https://eavis.jyllands-posten.dk/p/jyllands-posten/latest/2671"><img src="https://mediacdn.prenly.com/api/image/eavis.jyllands-posten.dk/2671/latest-issue" /></a>

The link and image will always point to the last published issue in a title. This means that you never have to change the link, but when a new edition is published, the block will automatically be updated.


The domain, title-id and tile-slug can be found in the usual URL of any replica page in your e-paper. 

Prenly - Book a demo
Want to see how your magazine or publication might look in Prenly? Book a demo

© Textalk

We use DeepL and ChatGPT for translations. Occasional imprecisions may occur.