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
out-of-box images
-
- Propellus Maximus
- Posts: 1028
- Joined: Thu Apr 12, 2007 7:28 am
- Location: Wilmington, DE
- Contact:
Re: out-of-box images
For me, those default images take up only 184 KB of space. Why do you need to get rid of them?
Laura A. Castle
http://www.lauracastle.com
http://www.lauracastle.com
Re: out-of-box images
We prefer not to ship non-company images and reduce the number of files to the essentials.....
Jenny
-
- Senior Propellus Maximus
- Posts: 4293
- Joined: Thu Feb 02, 2006 9:29 am
- Location: The Electric City
Re: out-of-box images
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.
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.
New Book: Creating user-friendly Online Help
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
Re: out-of-box images
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.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
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.
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Re: out-of-box images
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
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
-
- Propellus Maximus
- Posts: 840
- Joined: Mon May 01, 2006 10:11 am
- Location: Inside California
Re: out-of-box images
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
Certified Madcap Trainer
Re: out-of-box images
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?
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
Re: out-of-box images
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.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.
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
-
- Senior Propellus Maximus
- Posts: 4293
- Joined: Thu Feb 02, 2006 9:29 am
- Location: The Electric City
Re: out-of-box images
New Book: Creating user-friendly Online Help
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U