Responsive - Graphic Link To File/PDF

Hello…

Not sure if this is an issue or perhaps I am applying the actions improperly. When I build a responsive page I typically place my graphics inside of an inline div container by double clicking into the containing div and inserting a graphic item.

The end goal is to have a clickable icon that either downloads a file if I am using the “Graphic link to file” or in the case of the Graphic link to PDF" opens a pdf. Once the page is published there is no anchor tag, just the graphic. If the graphic is a non inflow item then all functionality is as expected.

Would like to use the actions as they are dead simple and allows for a simple way to upload the file as well. Am I missing a step or is this an issue?

Kind Regards,
Dave


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Once the page is published there is no anchor tag, just the graphic.

Not experiencing that here.

Click inside html item (flashing cursor) Insert>Graphic Item. Import image (pass-through with %width and flexible height).

Apply Graphic Link to Pdf action, set parameters - Bingo

Code:

<a href="Resources/_path-to-file.pdf"><img id="image_id" class="f-x2" src="Resources/_myimage.jpg" alt="myimage"></a>

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Hmmm… Tried that exactly as I had been setting image max width 100%, not image width. I was under the impression that this was where I was suppose to set the images width property. Also this is how it is in the freeway templets for the new version.

  1. Should I be defining the image width% in the max width field or the width field?

  2. Also I see in the Freeway templet that they have the image float left inside of its containing div not the default Baseline. Which should it be and could this have something to do with my issue?

  3. Any further thoughts regarding what may be going on as far as the action not publishing an anchor tag? If it is helpful here is how I have the containing image div setup (left aligned and has width/height properties set to 60px as well as max width and height set to 60px)

Kind Regards,
Dave


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Why don’t you link the pdf directly, without the action…? Just asking, I never find the sense of this action…


freewaytalk mailing list
email@hidden
Update your subscriptions at:

OK… Just figured out why the action was not publishing the anchor tag. It would appear that this action does not play nicely with the “Remove Paragraph Tags” action. I apply that action a lot to get rid of those pesky p tags being thrown everywhere.

  • Any thoughts regarding how to get rid of the unwanted p tag as I would like to use the Link To File/PDF actions

  • Would also value your input regarding my previous questions about proper settings for the image container div and the image?

Kind Regards, Dave

P.S. Good question about linking manually. Can do and all would work well, just have a lot of pages with upwards of 100 icons which all have to link to separate resources. So this is a case where the action will provide speed and efficiency.


freewaytalk mailing list
email@hidden
Update your subscriptions at:

NICE… Dug up an action that Max had provided me with as part of his WebYep tool “REMOVE P Tag” this one seems to get rid of the unwanted p tag and plays nicely with the “Link To File/PDF” actions.

Hope this helps someone else looking to do the same thing.

Dave


freewaytalk mailing list
email@hidden
Update your subscriptions at: