Solved

slideshow images are distorted

Posted on 2015-01-03
9
76 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
  • 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
 
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ust html in ms/access WebBrowswer 11 41
Image decoding from Camera 3 44
Change month dropdown 5 15
HTML CSS 7 17
This article discusses four methods for overlaying images in a container on a web page
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now