Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file How can we make an external URL value the Head in a LNE Pro Blog menu item?

More
2 years 9 months ago #5604 by rusasadmins
We have LNE Pro and are wondering how we can use a custom field (e.g. Media, URL) for an image URL and use it as the Head on the Layout tab. Is this possible? What do we have to do to make it work?

Ordinarily we would use a Media type custom field and select the image file. In this case the image is a URL from an external site.

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #5605 by syw
Hello,

using an image from an external site is generally a bad idea if you want LNEP to create thumbnails. It requires the server to allow PHP allow_url_fopen, which can be a security concern, if you do not control both ends.

LNEP allows you to:
- use any custom field of 'media' type as an image,
- use any custom field of 'URL' type as a link.

All options become available once you have those custom fields created.

Custom fields of media type can be a link to an image in Joomla 3.
If using the PHP allow_url_fopen is possible on your server, no problem, LNEP can handle it. If not, just use the original image, without creating thumbnails.

Olivier.
The following user(s) said Thank You: rusasadmins

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #5606 by rusasadmins
Thank you Olivier for your advice. We will take a different approach and find a way to import the images into our website file structure.

~ Steve

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #5607 by syw
You are welcome, Steve!

Olivier.

Please Log in or Create an account to join the conversation.