Auto height/width and responsive template

More
12 years 9 months ago #4036 by Sindbad
C'est fait ! :)

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #4569 by meg
I need to jump in here because I can't seem to resolve the issue.

I have the situation where the height defaults to the min-height when set to auto / auto. I have Adjust Images set to yes.

When I use Dustin's formula I of auto for width and a percentage for height, I get a full sized image at desktop size but it doesn't scale down.

I haven't changed any css in the slideshow styles.

Here's url: geneva.directrouter.com/~clarkdal

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #4573 by ced1870
Hi
does the demo on joomlack.fr work like you want ? I have set up a percent height and width auto.
Ced

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #4575 by meg
Yes it does... any idea why the auto width and percent height isn't working for me? I haven't put anything anywhere in pixels, I double-checked that.

the percentage for width that I set is 18.9, and it looks fine until I try scaling it.

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #4578 by ced1870
try with 19% (avoid the comma)
and change the option adjust image to see how it reacts
Ced

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago - 12 years 8 months ago #4618 by dustin5
Meg,

A little earlier in the thread I mentioned the javascript files must be altered as well.

You must remove the min-height value from the camera.js and camera.min.js files:
Code:
minHeight: '200px',
should read:
Code:
minHeight: '',

Give that a try and see if it helps.

Dusty
Last edit: 12 years 8 months ago by dustin5. Reason: clarity

Please Log in or Create an account to join the conversation.

Time to create page: 0.213 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 928 guests and 3 members online