Finding images and corresponding topics

This forum is for all Flare issues not related to any of the other categories.
Post Reply
Jess77
Sr. Propeller Head
Posts: 154
Joined: Thu May 01, 2014 3:19 pm
Location: Florida
Contact:

Finding images and corresponding topics

Post by Jess77 »

I'm stumped. I'm trying to extract a list from Flare that tells me how many times an image has been inserted.
I've tried manipulating the File List and the Analysis tools to no avail.

I want to see a list that displays as following:

Image File | Topic Where the File Appears

The link viewer will show this in a side pane for one graphic at a time. I want to see it in a table.
The purpose of this list is to tell me which images appear in the most topics. When I know this, I can use the alt text wizard functionality to apply alt text to all instances of the image at once. That makes finding images that appear more than once important. Those are the images to apply alt text to in bulk.

Anybody have any ideas?
Jessica N.
Certified MadCap Advanced Developer for Flare
Nita Beck
Senior Propellus Maximus
Posts: 3669
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: Finding images and corresponding topics

Post by Nita Beck »

Yes. Use the Find and Replace in Files window to do a find for the filename of the image "in source code" in the whole project. Use the Find All button. That'll give you a list of all the files that contain that string. You can then export the list of hits to a .csv file. HTH (Sorry so brief... it's Friday and quittin' time.)
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Jess77
Sr. Propeller Head
Posts: 154
Joined: Thu May 01, 2014 3:19 pm
Location: Florida
Contact:

Re: Finding images and corresponding topics

Post by Jess77 »

That was my first thought. I tried it and got a list. Unfortunately, that list only showed the beginning of the image tag and not the name of the image file. If it showed the whole name of the image, I could sort by that and see how many instances of the same image occurred.

When I search by the following as a regular expression in topics: <img src="*"

The results appear as follows: ...<img src="Resources/...

I need to see the name of the image.
Jessica N.
Certified MadCap Advanced Developer for Flare
Nita Beck
Senior Propellus Maximus
Posts: 3669
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: Finding images and corresponding topics

Post by Nita Beck »

Maybe create a report that reports on used images. That'll yield a report listing each image file and the places where it is used (topics, snippet).
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Jess77
Sr. Propeller Head
Posts: 154
Joined: Thu May 01, 2014 3:19 pm
Location: Florida
Contact:

Re: Finding images and corresponding topics

Post by Jess77 »

Wow. I had never seen the Report tool!

This came the closest. I can get a report of all used images and their topics ... BUT
  • It comes out in a list not a table. I need the table for the sorting. (This is weird and totally subpar on Madcap's part.)
    I can't add the images without tags options without losing what I need.
Thank you for the suggestion!

They need to add a topic or location column to the File List and Accessibility Suggestion report that would tell us where the images without tags are located.
Jessica N.
Certified MadCap Advanced Developer for Flare
Nita Beck
Senior Propellus Maximus
Posts: 3669
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: Finding images and corresponding topics

Post by Nita Beck »

In the past, I've been able to copy the content from a "flat" report out of Flare into a Word doc where I did some cleanup and then formatted as a table, then I copied that into an Excel spreadsheet so I could then sort as needed.
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Jess77
Sr. Propeller Head
Posts: 154
Joined: Thu May 01, 2014 3:19 pm
Location: Florida
Contact:

Re: Finding images and corresponding topics

Post by Jess77 »

That is exactly what I'm working on. :-)

Also, as a side note, I find that the Accessibility Suggestion analysis will show the location of the image. However, I had to go to a smaller project to see that in action.

I find that the ADA analysis cannot handle the 1000s of images and topics in a larger project very well. It either crashes Flare and - most disturbingly - misses many images. In fact, the last time I ran the ADA analysis, it was only including snippet files. I have no idea why; I don't even know how to tell it to do that on purpose.
Jessica N.
Certified MadCap Advanced Developer for Flare
Post Reply