Jump to content

Custom CSS - display small icon only?


This topic is 5457 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi,

I'm trying to work SuperContainer into a FM list view, and I'd like it to snow a small (15 x 15 px, maybe?) icon if there is a file uploaded for that record, and nothing if there is not.

Can anyone help with this?

Thanks!

Link to comment
Share on other sites

I don't believe you need to customize the CSS:

This URL will display just the image ( and you can specify a different height ) or a file icon if it's not an image file.

"http://fmdemo.360works.com/SuperContainer/Files/360Demo/2?style=listview+noapplet+notitle&height=64"

In the case when you need to show a specific image if a file has been uploaded, I think using a combination of the SuperContainer Companion plugin and a calculated container field would work. You would primarily use the SCGetInfo function.

Please let me know if you need more information.

Link to comment
Share on other sites

I don't believe you need to customize the CSS:

This URL will display just the image ( and you can specify a different height ) or a file icon if it's not an image file.

"http://fmdemo.360works.com/SuperContainer/Files/360Demo/2?style=listview+noapplet+notitle&height=64"

In the case when you need to show a specific image if a file has been uploaded, I think using a combination of the SuperContainer Companion plugin and a calculated container field would work. You would primarily use the SCGetInfo function.

Please let me know if you need more information.

If I use this URL:

"http://myIPaddress/SuperContainer/Files/Jobs/1786?style=listview+noapplet+left+notitle&height=64&width=64"

It shows the icon just fine, but there is a buffer to the left that I'd like to get rid of, so the icon is as far up and to the left as possible. Here's how it is now:

margin.jpg

Can this be done?

Edited by Guest
Link to comment
Share on other sites

This topic is 5457 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.