Image Style to add Screentips

This forum is for all Flare related Tips and Tricks.
Have a tip or trick you use while working in Flare? Share it here.

Image Style to add Screentips

Postby rojarani on Wed Dec 04, 2019 5:44 pm

Hi All,

I have some 100s of images in my online help and therefore adding a screentip to each of them is a humongous task. Is there a way I can create an image style to address this? Please help.

Thanks,
Rani
rojarani
Jr. Propeller Head
 
Posts: 8
Joined: Thu Jun 21, 2018 4:04 pm

Re: Image Style to add Screentips

Postby Dave Lee on Thu Dec 05, 2019 1:08 am

Depends what you mean by a "screentip", but you can't apply either alt or title attributes by using a style - they're attributes, not CSS/styles.

If you're applying a generic alt or title tag to all images, why not just use a find and replace?
Dave Lee
Master Propellus Maximus
 
Posts: 5770
Joined: Mon Mar 05, 2007 8:33 am
Location: UK

Re: Image Style to add Screentips

Postby rojarani on Thu Dec 05, 2019 4:55 pm

Dave Lee wrote:Depends what you mean by a "screentip", but you can't apply either alt or title attributes by using a style - they're attributes, not CSS/styles.

If you're applying a generic alt or title tag to all images, why not just use a find and replace?


Dave, I am referring to adding a screen tip text to each and every image in my help, and considering that there are many of them, adding manually is difficult. So checking if there is any smarter way to achieve this? Here is a screen-shot (image properties). To be specific am trying to add "click to zoom" as my screen tip to the images

AddingImage.png
You do not have the required permissions to view the files attached to this post.
rojarani
Jr. Propeller Head
 
Posts: 8
Joined: Thu Jun 21, 2018 4:04 pm

Re: Image Style to add Screentips

Postby Dave Lee on Fri Dec 06, 2019 3:13 am

Ok, what Flare calls a "screen tip" is a title tag on the image.

So you might be able to use a find and replace - for example:

To add the title for all images:
search for: <img
replace with: <img title="Click to zoom"

To add a title for images with a class of "thumbnail":
search for: class="thumbnail"
replace with: class="thumbnail" title="Click to zoom"

Just remember to back up your project first!
Dave Lee
Master Propellus Maximus
 
Posts: 5770
Joined: Mon Mar 05, 2007 8:33 am
Location: UK


Return to Tips and Tricks

Who is online

Users browsing this forum: No registered users and 1 guest