Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CAB Template text if no image
#1
I'm trying to reproduce the old behavior of the CAB which was Image if available, and Text if no image (for the settings I was using anyway).

For music this works great: I just have a template with the image in front of the text. Because my music images are always square, if present they always cover the text nicely.

For video it is not working as well because my dvd cover art is in a wide variety of shapes and aspect ratios. This results in the text peeking out from behind the art (for some titles) and it looks stupid. Is there anyway I can hide the text if the image is present?

--Bob
Reply
#2
Not really. I'd have to add another special case widget to the layout template, maybe a static text named 'NoImage' that will only be displayed if there is no image. But that'll have to be post-4.5, so remind me again afterwards and I can look at that.
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Text to Speech changes in 5.0.9 and forward Dean Roddey 0 3,892 01-12-2017, 06:18 PM
Last Post: Dean Roddey
  Scaling and Text Alignment pjgregory 1 3,484 03-09-2014, 10:20 AM
Last Post: Dean Roddey
  RunTmplAction in OnLoad event of template? SamVimes2 5 5,058 09-08-2010, 05:00 AM
Last Post: froop
  Did hierarchical template storage break template pack making? SamVimes2 1 2,618 04-10-2010, 11:06 AM
Last Post: Dean Roddey
  RIVA Web Image Widget support thoughts/questions for post-3.1 SamVimes2 3 4,550 02-01-2010, 06:33 AM
Last Post: wuench
  Rename Image - bug with displayed rename fairview1100 4 3,867 01-04-2010, 05:02 PM
Last Post: jrlewis
  Trouble with template XLAT scott 1 3,026 11-26-2007, 11:34 AM
Last Post: Dean Roddey
  Multiple template editing request. penngray 11 7,423 07-31-2007, 07:28 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)