- Affected version
- XF 2.2 RC2
I'm using the xrock addon , db attachments store , to store my full images in the external data folder (to allow to be cached by CDN), and all it's ok.
The problem is that if I set $config['externalDataUrl'] = https://cdn.mydomain.com/forum/data/ (<<< a CNAME) images attachments (thumbnails) are opened in a new browser tab, and not in lightbox.
If I delete the "cdn" subdomain path (CNAME), attachmets images open in lightbox.
And...In XFMG the same attachments are opened correctly in lightbox.
FYI : the path of my external images is : https://mydomaincom/forum/data/attachment-files/
Of course is not a problem of XF setting in the admin CP , becouse without the CDN path , lightbox is working with the same images attachments.
The problem is that if I set $config['externalDataUrl'] = https://cdn.mydomain.com/forum/data/ (<<< a CNAME) images attachments (thumbnails) are opened in a new browser tab, and not in lightbox.
If I delete the "cdn" subdomain path (CNAME), attachmets images open in lightbox.
And...In XFMG the same attachments are opened correctly in lightbox.
FYI : the path of my external images is : https://mydomaincom/forum/data/attachment-files/
Of course is not a problem of XF setting in the admin CP , becouse without the CDN path , lightbox is working with the same images attachments.
Last edited: