Jump to content

Tiling FPRepeatableComponent Horizontally


Recommended Posts

OK. Thanks for confirming I wasn't missing something obvious.

 

I'm trying to output a variable number of image thumbnails as a grid, working from left to right and then down. A set of templates tiling horizontally, wrapping when the frame filled up would have been really easy, but it looks like I'll be using a <table> approach instead.

 

Thanks for the quick feeback!

Link to comment
Share on other sites

I'm trying to output a variable number of image thumbnails as a grid, working from left to right and then down.

If they're just images, then you don't need repeatable components; you can just use inline graphics, which are actually easier. Those set horizontally along the text baseline (as their name "inline" suggests). You can control the width and height of the inline graphics with attributes of the <graphic> tag. Please refer to the section "Graphic Tag Inside Story Tag" in the FusionPro Tags Reference Guide.

A set of templates tiling horizontally, wrapping when the frame filled up would have been really easy, but it looks like I'll be using a <table> approach instead

A table will work too, but you still need to use inline graphics. You can just use tabs (<t> tags) to set horizontal spacing instead of a table.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...