Difference between revisions of "Gallery3:Modules:image fit" - Gallery Codex
Personal tools

Difference between revisions of "Gallery3:Modules:image fit"

From Gallery Codex

m (Text replacement - "gallery.menalto.com" to "galleryproject.org")
m (Text replacement - "codex.gallery2.org" to "codex.galleryproject.org")
 
Line 1: Line 1:
 
{{ModuleInfo
 
{{ModuleInfo
 
|author=floridave
 
|author=floridave
|link=http://codex.gallery2.org/images/7/7b/Image_fit.zip
+
|link=http://codex.galleryproject.org/images/7/7b/Image_fit.zip
 
|description=Via codex
 
|description=Via codex
 
|version=1}}
 
|version=1}}
Line 12: Line 12:
  
 
== Installation ==
 
== Installation ==
This module may be downloaded from the codex [http://codex.gallery2.org/images/7/7b/Image_fit.zip here].
+
This module may be downloaded from the codex [http://codex.galleryproject.org/images/7/7b/Image_fit.zip here].
  
 
To install, extract the "image_fit" folder from the zip file into your Gallery 3 modules folder. <br>
 
To install, extract the "image_fit" folder from the zip file into your Gallery 3 modules folder. <br>

Latest revision as of 15:25, 1 July 2013

Image Fit

Adds necessary JavaScript to dynamically re-size the image on the photo page to fit.

Description

Using the wide wind theme or any other non fixed width theme user might have browsers that don't support the width/height of the image on the photo page. Using code from http://www.ollicle.com/projects/jquery/imagefit/eg/ this module scales images to fit their parent container. The resized image is dynamically resized to fit the parent container of the theme in use.

Installation

This module may be downloaded from the codex here.

To install, extract the "image_fit" folder from the zip file into your Gallery 3 modules folder.
Afterwards log into your Gallery web site as an administrator and activate the module in the Admin -> Modules menu.
No configuration is required.

Notes

Discussion: http://galleryproject.org/node/108009

Similar modules: Gallery3:Modules:fittoscreen

advertisements