Jump to content


Photo
- - - - -

Auto sizing & centering images in Quickslider


  • Please log in to reply
3 replies to this topic

#1 languagedept

languagedept

    Member

  • Members
  • 15 posts
  • LocationNew York
  • Country: Country Flag

Posted 19 June 2012 - 07:52 PM

Quickslider is great, but I'd like the images to auto scale or, at very least, center (horizontally and vertically) within the slider window. Is there a plug-in, or custom code to allow this?

#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 19 June 2012 - 08:05 PM

Wouldn't the best solution be to use a graphics editor to center your image, in both directions? I don't know of any plugins to do what you're suggesting. If the slider is going to auto scale, which it should, the image itself should still have its focal point centered. If not, the image would become distorted when stretched or shrunk. Are you using an image that is cropped by a size limit?

#3 languagedept

languagedept

    Member

  • Members
  • 15 posts
  • LocationNew York
  • Country: Country Flag

Posted 19 June 2012 - 09:11 PM

That is what we're doing now, but in some cases, the image is just a product on a white background. See the quick slider on http://velojoy.com/2...ide-bicycles-2/ Here, I centered in the jpeg, but the images are still off center when posted.

#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 19 June 2012 - 10:03 PM

I see what you mean now. I'd suggest you submit that as a bug because it's somehow adding increased padding or margin on the right side. Include this topic URL and the URL to your site to demonstrate. http://www.pagelines.com/tracking/