Fieldtype

Developer
Supported

Expresso

ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5

Back to this add-on's main page
View Other Add-ons From PutYourLightsOn

     

You must be logged in to post.

Fully qualified image URLs?

Feature (Resolved)

xynergy_inc
xynergy_inc

Hi Ben,
Is there a setting (or could we get one?) to have Expresso output fully qualified image URLs based on the ‘URL location’ of the upload directory?

The background to this is we’re looking for a way to shift all static content to a subdomain (eg, static.domain.com) to serve them from a cookieless domain.  Even if we change the upload directories, Expresso still appears to output URL’s relatively.

I trust that makes sense, but please let me know if not.

Thanks,
Justin

PutYourLightsOn
# 1
Developer
PutYourLightsOn

Hi Justin, yes this is intended behaviour and was introduced in version 4.2.5 after several requests to change the absolute URL’s to relative ones in order to make migrating between environments easier. We’ll look into making this optional and get back to you next week.

xynergy_inc
# 2
xynergy_inc

Thanks Ben, I understand - the default behavior makes total sense if you’re serving images from the site URL, it just means you can’t serve them from elsewhere if you wanted to.  The option would be appreciated.  Thanks for considering it!

PutYourLightsOn
# 3
Developer
PutYourLightsOn

This has been added as a global setting in Expresso 5.1.0.

xynergy_inc
# 4
xynergy_inc

Thanks Ben!  Appreciate it!