Snippets and Images

This forum is for all Flare issues not related to any of the other categories.
Post Reply
Robotman
Sr. Propeller Head
Posts: 186
Joined: Sat Mar 04, 2006 3:05 am
Location: Melbourne, Australia
Contact:

Snippets and Images

Post by Robotman »

Hi,
(this is probably easy and I'm probably tired but...)

Ok, I have created snippets that include graphics.

If the snippet is included in Level 1 it works and the images are displayed correctly. But if I insert the snippet into a Level 2 or 3 topic it displays the 'missing file' grey box. Now, I know why this happens and the two solutions I can come up with are:
1. Convert snippet to text and fix up the image links.
2. Create a copy of the snippet and call it Level 2 Snippet.flsnp

Both are fine solutions - but I'm assuming (or hoping ;) ) that there's a better of way of managing something like this. (a solution that, say, has the images sourced from where the snippets are located in the system rather than where the topic is located).

Thanks,
\m/ Gary \m/
Flare 2024
Screaming Symphony
Andrew
Propellus Maximus
Posts: 1237
Joined: Fri Feb 10, 2006 5:37 am

Re: Snippets and Images

Post by Andrew »

If a relative reference of any kind in a snippet is not being automatically converted to a relative reference applicable to the target topic, then that sounds like a bug to me. I'd submit that as a bug report (assuming there isn't some solution we are missing).
Flare v6.1 | Capture 4.0.0
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Snippets and Images

Post by LTinker68 »

I just tried it and it worked for me. Same snippet in the root and in a sub-folder and the image came through in both locations. How did you insert the image into the snippet topic? I used the image icon on the XML Editor toolbar.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
QBF
MadCap User
Posts: 40
Joined: Wed Aug 15, 2007 1:22 pm
Location: Minnesota

Re: Snippets and Images

Post by QBF »

I have 6-8 Snippets that include images that are in hundreds of topics without any problem. I'd be interested in knowing what caused your problem as I would like to avoid this issue.
Robotman
Sr. Propeller Head
Posts: 186
Joined: Sat Mar 04, 2006 3:05 am
Location: Melbourne, Australia
Contact:

Re: Snippets and Images

Post by Robotman »

Will try to get you an update before the weekend. Will check some the code for the snippet.

Thanks for the responses.
\m/ Gary \m/
Flare 2024
Screaming Symphony
Robotman
Sr. Propeller Head
Posts: 186
Joined: Sat Mar 04, 2006 3:05 am
Location: Melbourne, Australia
Contact:

Re: Snippets and Images

Post by Robotman »

Ok, problem solved.

I had created snippets by opening a topic in notepad, copying the code, and pasting it into a snippet file (which obviously kept the original image file locations).

Resolved by opening all the snippets and resetting any 'missing link' images.

*hides*

:)

Thanks all.
\m/ Gary \m/
Flare 2024
Screaming Symphony
Post Reply