out-of-box images

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets

out-of-box images

Postby JennyQ on Tue Sep 16, 2008 1:49 pm

I'd like to strip out the stock icons to minimize the size of the image folder in the target. We have our own set and we don't need to have more than necessary in the output.

I did the following:
-Deleted them from C:\Program Files\MadCap Software\MadCap Flare V4\Flare.app\Resources\WebHelp\Default.flwht\Images
-Cleared my browser cache
-Deleted the old Output folder

When I generate a new WebHelp target, the deleted images appear in the browser window even though they are not in the new...\WebHelp\Skin\Images folder

I hoped to get a list of error messages on missing icon files when I built the target. Then I could figure out what the smallest set of required images might be. These phantom images are puzzling. How do I get rid of them? Is there an easier way to do this?

Thanks,
JennyQ
Jenny
JennyQ
Propeller Head
 
Posts: 10
Joined: Fri Mar 30, 2007 2:15 pm

Re: out-of-box images

Postby lacastle on Tue Sep 16, 2008 2:00 pm

For me, those default images take up only 184 KB of space. Why do you need to get rid of them?
User avatar
lacastle
Propellus Maximus
 
Posts: 1028
Joined: Thu Apr 12, 2007 7:28 am
Location: Wilmington, DE

Re: out-of-box images

Postby JennyQ on Tue Sep 16, 2008 2:09 pm

We prefer not to ship non-company images and reduce the number of files to the essentials.....
Jenny
JennyQ
Propeller Head
 
Posts: 10
Joined: Fri Mar 30, 2007 2:15 pm

Re: out-of-box images

Postby RamonS on Tue Sep 16, 2008 2:49 pm

The number of files with WebHelp is huge to begin with, so I wonder why a dozen or so image files make a difference and if eradicating them is worth the effort. There isn't any royalty obligation or such, so I, too, wonder what the issue is with having those files in there.
It depends on which skin you use. Based on the folder mentioned it seems as that those are the images for the default skin. There will also be no error message or such, the best you can hope for is a red X in a box where the image file is supposed to be.
Also, when you delete it in the application resources you will need to reinstall Flare in order to get them back. I recommend investigating where in the output the images are located and remove those as a post-processing step via batch file.
RamonS
Senior Propellus Maximus
 
Posts: 4291
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: out-of-box images

Postby LTinker68 on Tue Sep 16, 2008 3:53 pm

JennyQ wrote:When I generate a new WebHelp target, the deleted images appear in the browser window even though they are not in the new...\WebHelp\Skin\Images folder

I have a feeling some of the calls to the default images are made in the software itself and/or in JavaScript files so Flare includes them every time you do the build. Other than deleting them via post-build processing like RamonS mentions, I don't think there is a way to automatically have them removed.

You should submit a feature request at http://www.madcapsoftware.com/bugs/submit.aspx. I, too, would like unnecessary images or ones that I've replaced removed from the output. Granted, they're not large file-size wise, but I'm fairly anal about keeping files and such organized and I'd rather those images not be included. Especially those images related to features I haven't enabled and don't even have a license for, like the review/comment images related to the MadCap Feedback feature.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
LTinker68
Master Propellus Maximus
 
Posts: 7245
Joined: Thu Feb 16, 2006 9:38 pm

Re: out-of-box images

Postby JennyQ on Wed Sep 17, 2008 9:21 am

Thanks, Lisa.

That was really the question. Not whether I should remove them, but how they get there when you have eliminated them from what we perceive to be the image source. For test purposes, I have one image in the source folder and one in the output folder, yet I get the entire set of images in the browser view. Flare is cacheing those images somewhere and not clearing the cache when you clean the project. I think that is a bug, not a feature.

Like you, I don't want to distribute unnecessary files to customers if we can avoid it.

Jenny
Jenny
JennyQ
Propeller Head
 
Posts: 10
Joined: Fri Mar 30, 2007 2:15 pm

Re: out-of-box images

Postby Richard Ferrell on Wed Sep 17, 2008 9:52 am

The images are actually Include in your skins .FLSKN file, so if you have a skin that uses those icons and that skin is in your project, those images will be copied out to your output file, So the best way is to not have any extra or unused skins in your project.
Richard Ferrell

Certified Madcap Trainer
Image
Richard Ferrell
Propellus Maximus
 
Posts: 838
Joined: Mon May 01, 2006 10:11 am
Location: Inside California

Re: out-of-box images

Postby JennyQ on Wed Sep 17, 2008 10:12 am

Aha! So, Richard, that is why I see obsolete images in the browser, even though I deleted them from the original source.

If I make a change to the skin and save it, will it go back to that original source in the programs directory to sweep the available images in the \Images folder?
Jenny
JennyQ
Propeller Head
 
Posts: 10
Joined: Fri Mar 30, 2007 2:15 pm

Re: out-of-box images

Postby LTinker68 on Wed Sep 17, 2008 11:05 am

Richard Ferrell wrote:The images are actually Include in your skins .FLSKN file, so if you have a skin that uses those icons and that skin is in your project, those images will be copied out to your output file, So the best way is to not have any extra or unused skins in your project.

So if you don't use a feature (like Feedback) or don't use some of the toolbar icons, then you'd have to go into those options in the skin and set the image field to "none"? Guess that makes sense. Just annoying to have to do. Especially since I already specified which toolbar icons I wanted to include, so it would be nice if it would exclude images for the toolbar icons I haven't selected.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
LTinker68
Master Propellus Maximus
 
Posts: 7245
Joined: Thu Feb 16, 2006 9:38 pm

Re: out-of-box images

Postby RamonS on Wed Sep 17, 2008 11:09 am

RamonS
Senior Propellus Maximus
 
Posts: 4291
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City


Return to Web-based Outputs

Who is online

Users browsing this forum: No registered users and 7 guests