ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Image Sizer for background images?

November 01, 2011 10:34am

Subscribe [4]
  • #1 / Nov 01, 2011 10:34am

    JamesBrighton

    146 posts

    My site uses the Image Sizer module to resize images. I need to change the mark up so instead of being content images they are added as inline styles as a background image to a div. Can I use this module to still resize images, but for use as background images?

    Thanks

    Moved to Community Help forum by Moderator

  • #2 / Nov 01, 2011 2:37pm

    Sue Crocker

    26054 posts

    Hi, James.

    Since this question is regarding a third party offering, moving to the Community Help forum for additional community support.

  • #3 / Nov 01, 2011 3:14pm

    Tony Geer

    253 posts

    Why don’t you try it using a really simple example and see how it works?

  • #4 / Nov 01, 2011 4:24pm

    John St-Amand

    865 posts

    James - yes, you certainly can. I do it all the time.  I normally put all the various different properties of the DIV’s styling in the style sheet and only do the background image property in-line, using ImageSizer to set the sized image url.

  • #5 / Nov 02, 2011 5:52am

    JamesBrighton

    146 posts

    How do I set the image size? I couldn’t figure it out for background images. Thanks

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases