Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Galleria layout scales big image up

  • Heiko Lutz
  • Heiko Lutz's Avatar Topic Author
  • Offline
  • New Member
More
12 years 7 months ago #50232 by Heiko Lutz
Galleria layout scales big image up was created by Heiko Lutz
Hey you guys,

inserted my gallery in an article on my home page using the follwing line of code:

{gallery}TopNews/Mounts:56:40:0:0:jquery_colorbox:Galleria{/gallery}

The original size of the big image is 340X200, the plugin however scales it up to 541 X 318px. This is why the images look kinda weird (see example below)

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

  • Heiko Lutz
  • Heiko Lutz's Avatar Topic Author
  • Offline
  • New Member
More
12 years 7 months ago #50233 by Heiko Lutz
Replied by Heiko Lutz on topic Re: Galleria layout scales big image up
Anybody an idea how i can fix this? At first I thought it was a K2 setting but the rockettheme template i m using is using Joomla's main entry feature. So I checked Joomla's settings but couldnt find anything

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

  • Heiko Lutz
  • Heiko Lutz's Avatar Topic Author
  • Offline
  • New Member
More
12 years 7 months ago #50234 by Heiko Lutz
Replied by Heiko Lutz on topic Re: Galleria layout scales big image up
I still do not know how to fix this. Help will be greatly appreciated

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

More
12 years 7 months ago #50235 by Katia
Replied by Katia on topic Re: Galleria layout scales big image up
Could you provide me with a link to your gallery page?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Heiko Lutz
  • Heiko Lutz's Avatar Topic Author
  • Offline
  • New Member
More
12 years 7 months ago #50236 by Heiko Lutz
Replied by Heiko Lutz on topic Re: Galleria layout scales big image up
I sent you a PM Katia

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

  • Heiko Lutz
  • Heiko Lutz's Avatar Topic Author
  • Offline
  • New Member
More
12 years 7 months ago #50237 by Heiko Lutz
Replied by Heiko Lutz on topic Re: Galleria layout scales big image up
Any idea?

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

More
12 years 7 months ago #50238 by Katia
Replied by Katia on topic Re: Galleria layout scales big image up
Check your pms please.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Jan-Daniel Georgens
  • Jan-Daniel Georgens's Avatar
  • Offline
  • New Member
More
12 years 7 months ago #50239 by Jan-Daniel Georgens
Replied by Jan-Daniel Georgens on topic Re: Galleria layout scales big image up
I have the same problem :(

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

More
12 years 7 months ago #50240 by Katia
Replied by Katia on topic Re: Galleria layout scales big image up
Τhis is because Galleria template has this styling for target link image:

a.sigProGalleriaTargetLink img {
    display: block;
    height: auto;
    width: 100%;
}

which means that the photo take the dimensions of the container.

This is how it works in our demo site too: demo.joomlaworks.net/simple-image-gallery-pro

What you could do is creating overrides  (check SIG PRO documentation about it) for this css file:
plugins/content/jw_sigpro/jw_sigpro/tmpl/Galleria/css/template.css

And modify this:

div.sigProGalleriaContainer {
    background: none repeat scroll 0 0 #333333;
    clear: both;
    margin: 8px 0;
    padding: 16px;
 
}

to this:

div.sigProGalleriaContainer {
    background: none repeat scroll 0 0 #333333;
    clear: both;
    margin: 8px 0;
    padding: 16px;
    width: 70%;
}

I used for example width 70%-you may use the percentage you want.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum