Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GSgallery: Need help from developers - Testing new version
#15
daguy Wrote:anyone know how to adjust the thumbnail size and the 'box display size' for new gallery 2.5???

I think I've posted this before, but either way. You can go to line 559 of squareit-gallery.php
Code:
$gal .= '<a href="'.$SITEURL.'data/uploads/'.  $image .'" title="'. $sqr_captions[$key]  .'" '.$reltype.$styleclass.'><img alt="'.$sqr_captions[$key].'" src="'.$SITEURL.'admin/inc/thumb.php?src='.  $image .'&dest=../../'.GSG_RELFOLDERPATH.'thumbs/thumbmed.'.  $image .'&x=125&y=125&f=1" class="sqr_img" /></a>';

and modify
x=125&y=125
to the new thumb size.

After this you need to delete all the images in the thumbs folder inside the gallery plugin.

Then you need to change some of the CSS
Code:
.sqr_image_gallery li{
    float: left;
    padding:3px;
    border:1px solid #C7C7C7;
    min-height: 125px;
    margin:7px 14px 7px 0px;
    background-color:#FFF;
    list-style-type:none !important;
}

.sqr-thumb-cont{
    width:100%;
    height:125px;
    background-color:#FFF;
    text-align: center;
}

Change min-height in .sqr_image_gallery li and height in .sqr-thumb-cont

to the new size.

I've been wanting to do this as a setting in the plugin, but I just haven't had the time to get to it.
- Julian

My GetSimple Plugins: Simple Image Gallery | TweetMeme reTweet Button
Reply


Messages In This Thread
GSGallery 2.5.3 No Thumbnail - by maclaren - 2013-02-27, 20:23:55
GSgallery: Need help from developers - Testing new version - by juliancc - 2010-08-11, 22:19:03



Users browsing this thread: 7 Guest(s)