fluidnature
Perplexed by a DHTML, JavaScript or CSS problem?
I live for solving the tough ones. Leave a comment and I'll help you figure it out...

2/4/2005

De-flowered: my first web part!

Filed under: — D @ 6:27 pm

Can I just say first that I HATE the Image Web Part that ships with SharePoint!? I couldn’t find anything better out there (probably didn’t look long enough) so I just bit the bullet and built my first web part: it lets you choose an image from your Image Library instead of having to manually copy or type the address of the image to display!

So, the result is much simpler to use: just open the toolpane to configure the web part, select a thumbnail from the list of images and then hit apply. Much easier! (And additionally, you can set a hyperlink, margins, resize it, etc.)

Please download the webpart and let me know if it works for you. Of course, its not perfect yet (the image border property doesn’t quite work yet) but hey, its my first time!

UPDATE 3/21/2005

If you use this version, be sure you do the following:

  1. Upload some images to your Image Library first! If you don’t have any uploaded, nothing appears in the list and you can’t tell that you are missing something. I am updating the code to provide you a link to upload Images first, if there are no Images in your list yet.
  2. Make sure when you are in the Toolpart that you change the Image URL property (in the Image Properties group.) It’s kind of hidden below the Image Library, and defaults as a link to my website. Some users have deployed images without realizing the images still linked back to fluidnature. I am removing the default url when I finish the next tweak…

END UPDATE 3/21/2005

Choose one of these methods to install the fluidImage Web Part:

Powered by WordPress