Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Images by relative path (Read 2061 times)
MisteryGuy_07
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 11
Joined: Jan 21st, 2019
Images by relative path
Jan 21st, 2019 at 11:25pm
Print Post  
Is it possible or is there any way to have the layout load images by using relative paths? I'm trying to load an image by using ../../Path/File.png but I haven't had any luck with that. Suggestions, please?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Images by relative path
Reply #1 - Jan 22nd, 2019 at 6:35am
Print Post  
I have replaced the paths in Styles/CustomLayout.xml example with relative ones like <Image>..\KeyImages\27.png</Image>, moved the KeyImages folder one level up and that works in my test.

Regards,
Slavcho
  
Back to top
 
IP Logged
 
MisteryGuy_07
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 11
Joined: Jan 21st, 2019
Re: Images by relative path
Reply #2 - Jan 22nd, 2019 at 5:14pm
Print Post  
Excellent. I think I missed the custom style part.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint