Download & Extend

Setting thumbnail size

Project:Galleria
Version:7.x-1.0-beta2
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

ok i created a image style 200x200 pixel. I set that now in galleria options as thumbnail

http://screensnapr.com/v/Y5LOzI.png

but still the thumbs appear very small.
http://screensnapr.com/v/DFobms.png

what did i miss here? any ideas? thank ou.

Comments

#1

The thumbnail size is hardcoded in the Galleria theme (in your case, the 'classic' theme).
So you have to edit the /sites/all/libraries/galleria/themes/classic/galleria.classic.css and adjust a lot of height values. The following list is untested and might be incomplete:

  • line 20, in class .galleria-stage:
    bottom: 220px;
  • line 26, in class .galleria-thumbnails-container:
    height: 210px;
  • lines 38-39, in class .galleria-thumbnails .galleria-image:
    height: 200px;
    width: 200px;

The size you can configure for the image styles is just the size of the image files Drupal sends to the browser.

#2

Status:active» fixed

ah ok. ill take a look at the .tpl . thank you for that hint.

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#4

"The thumbnail size is hardcoded in the Galleria theme (in your case, the 'classic' theme)."

What about normal images ? do I have to set it in css file as well ? I created a image style for normal image and changed it on galleria UI and nothing changed Default setting still remain

#5

Status:closed (fixed)» active

Nope, the normal image size depends on how big your Galleria is (so how your 'width' and 'height' options are set in the corresponding option set) and on the 'imageCrop' option.
The image style just resizes the image files before they get sent to the browser.

#6

Status:active» fixed

Closed as there seem to be no more questions.

#7

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#8

I'm having trouble setting the thumbnail size in the theme "twelve". I have set up the Image style to scale width to 100 and chosen it in the gallery view but it's refusing to work.

This is my page so far:
http://www.tailoredportraits.co.nz/web/portfolio2

Many thanks, Ana

nobody click here