XF 2.0 Path image

oloman

Active member
Hello,
Before upgrading I was using a CDN. Now, on XF2 I don't want to use it anymore but I can't find the field to change the PATH IMAGE:

Style Properties -> General -> Settings.

Do you know where it is on XF 2?

Best regards
 
We've discussed this via ticket, but basically it was just the externalDataUrl src/config.php setting which was pointing at your CDN so this is sorted now.

To answer the other question directly, we don't have a base image path anymore, though this doesn't apply to avatars. You will however have to ensure any references to any images in your templates are an absolute path e.g. /styles/default/xenforo/images/blah.png.
 
We've discussed this via ticket, but basically it was just the externalDataUrl src/config.php setting which was pointing at your CDN so this is sorted now.

To answer the other question directly, we don't have a base image path anymore, though this doesn't apply to avatars. You will however have to ensure any references to any images in your templates are an absolute path e.g. /styles/default/xenforo/images/blah.png.
Hi, Chris
I included all image in my addon directory
src/addons/ForumStatusIcon/_files/images
and now I want to load that image in controller method, but I am not sure how to determine the path of the image.

I tried like following.
<img src = "src/addons/ForumStatusIcon/_files/images/announce_read_locked.gif" /> but it gives me error.

Can you help me with this?
 
Top Bottom