close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Galleries image size

Thread began 1/13/2014 10:23 pm by Roz431315 | Last modified 1/15/2014 4:01 pm by Roz431315 | 456 views | 9 replies

Jason ByrnesWebAssist

The simple answer is: if you want the images to be the same size, it is best to resize them before upload

The more advanced answer (though not supported) is: The image sizes are controlled by the gallery script.

in the ribbon light box, gallery, the following line in the gallery/ribon_lightbox.php page sets the size of the thumbnails and the large images:

$gallery = get_gallery(get_mediarss_url('gallery=' . $pg_id . '&thumb=62c&full=782p'));

thumb is set to 62c and full is set to 782p

these sizes corespoond to what is set in the admin/common/properties.php file in the resize proportional and resize cropped globals:

$GLOBALS['resize_proportional'] = array(
array('w' => 1024, 'h' => 768, 'watermark' => true),
array('w' => 782, 'h' => 481, 'watermark' => true),
array('w' => 163, 'h' => 92)
$GLOBALS['resize_cropped'] = array(
array('w' => 62, 'h' => 62),
array('w' => 132, 'h' => 140),
array('w' => 102, 'h' => 102),
array('w' => 42, 'h' => 42),
array('w' => 782, 'h' => 481, 'watermark' => true),
array('w' => 995, 'h' => 260, 'watermark' => true)

768p is set to a width of 1024 and height 768. it is a proportional setting so the images will be resized proportionally, if you wanted them to be the same size all the time, you would want to use a cropped setting, but this would mean the images would be cropped from center on resize. to have more control, you should resize before upload.

No power store does not have support for other gallery types, but they can be hand coded.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...