Solved

slideshow images are distorted

Posted on 2015-01-03
9
89 Views
Last Modified: 2015-01-08
See the slideshow on this page?

http://leafyhead.com/pages/Home.cfm

Notice the images in the slideshow are quite distorted -- increased in size so that they overfill the allotted parameters of the slideshow.

Why is that happening? I've been staring at this for hours. Thank you for any advice.

Eric
0
Comment
Question by:Eric Bourland
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 1

Assisted Solution

by:Deniz Dursun
Deniz Dursun earned 375 total points
ID: 40529847
Hello;

I think adaptiveHeight parameter of slideshow can solve your problem. If you can edit kickstart.js, you can change adaptiveHeight parameter false to true.

If you can't edit kickstart.js, please try to put this code any row after than body tag (Home.cfm) for reload slider with new settings:

<script type="text/javascript">
$(document).ready(function(){
	var slider=$('.slideshow').bxSlider();
	e.preventDefault();
	slider.reloadSlider({
		mode: 'horizontal',
		video: true,
		useCSS: true,
		pager: true,
		speed: 500,
		startSlide: 0,
		infiniteLoop: true,
		captions: true,
		adaptiveHeight: true,
		touchEnabled: true,
		pause: 4000,
		autoControls: false,
		controls: false,
		autoStart: true,
		auto: true
	});
});
</script>

Open in new window

0
 
LVL 3

Author Comment

by:Eric Bourland
ID: 40529850
Deniz,

Thank you for your kind and helpful reply.

I will try the script that you suggest.

However, I am not sure where to place this script. I have tried the script inside the <HEAD></HEAD> tag, and after the </BODY> tag. Neither place seemed to have any effect.

What do you suggest?

Thank you for your help. =)

Eric
0
 
LVL 1

Accepted Solution

by:
Deniz Dursun earned 375 total points
ID: 40529853
You are welcome. I hope this code can solve your problem.

You can put that code after than <body> tag or before than </body> tag.

Kind Regards
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Author Comment

by:Eric Bourland
ID: 40529859
Got it!

Hmm ... I tried after the <BODY> tag: http://leafyhead.com/pages/Home.cfm

Looks like the images are still distorted.

Any idea what I could be missing? =)

Thank you again, Deniz.

best from Eric
0
 
LVL 1

Assisted Solution

by:Deniz Dursun
Deniz Dursun earned 375 total points
ID: 40529870
I downloaded your codes and i tried. My code working but first slideshow still running with parameters from kickstart.js.
Kickstart.js catching slideshow class. So, if you change your slideshow class to slideshow2, it will work.

This is your solution:
1.)  Change your slideshow class to slideshow2 (<ul class="slideshow2">)

2.) Put this code after <body> tag:
<script type="text/javascript">
$(document).ready(function(){
	var slider=$('.slideshow2').bxSlider({
		mode: 'horizontal',
		video: true,
		useCSS: true,
		pager: true,
		speed: 500,
		startSlide: 0,
		infiniteLoop: true,
		captions: true,
		adaptiveHeight: true,
		touchEnabled: true,
		pause: 4000,
		autoControls: false,
		controls: false,
		autoStart: true,
		auto: true
	});
});
</script>

Open in new window

0
 
LVL 10

Assisted Solution

by:aboo_s
aboo_s earned 125 total points
ID: 40529873
By distorted do you mean they are stretched by width and height?
if that is the case ,then you should just delete the width and height option you added to your images code:
<li><img src="https://lh5.go...d1.jpg" alt="" width="550" height="350" /></li>

Open in new window

should become:
<li><img src="https://lh5.go...d1.jpg" alt="" /></li>

Open in new window

0
 
LVL 3

Author Comment

by:Eric Bourland
ID: 40529895
Dear aboo_s,

Thanks for your note.

>>>>then you should just delete the width and height option you added to your images code:
Indeed, I tried that already.

These are the correct dimensions for the images: width="550" height="350"

The images are very big ... or, at least, they are magnified.

I think something is going on with the javascript and / or the CSS. The BX Slider has gone a little crazy.

Thank you for the idea, though.

Eric
0
 
LVL 3

Author Comment

by:Eric Bourland
ID: 40537820
Friends, I really appreciate your helpful notes. I have simplified code as much as I can; the weird behavior in the slideshow persists. I am going to use another slideshow script -- maybe I can find an all-CSS slideshow.

Thank you again for your thoughtful replies.

best from Eric
0
 
LVL 3

Author Closing Comment

by:Eric Bourland
ID: 40538777
Thank you again, friends, for your help.

Eric
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question