Forum for discussing general topics related to Couch.
15 posts Page 2 of 2
I am now using this plugin: https://lokeshdhakar.com/projects/lightbox2/

It works but the thumbnail images are still not all the same size, they are being resized to the following when I looked at the source code of the php file

Code: Select all
<a href="http://www.plymouthjudoclub.org/cms/uploads/image/photos/pjc-large-06.jpg" data-lightbox="image-1">
                <img src="http://www.plymouthjudoclub.org/cms/uploads/image/photos/pjc-large-06-400x241.jpg" class="img-responsive">
            </a>
                     <a href="http://www.plymouthjudoclub.org/cms/uploads/image/photos/pjc-large-05.jpg" data-lightbox="image-1">
                <img src="http://www.plymouthjudoclub.org/cms/uploads/image/photos/pjc-large-05-400x174.jpg" class="img-responsive">
            </a>
                     <a href="http://www.plymouthjudoclub.org/cms/uploads/image/photos/pjc-large-04.jpg" data-lightbox="image-1">
                <img src="http://www.plymouthjudoclub.org/cms/uploads/image/photos/pjc-large-04-400x320.jpg" class="img-responsive">
            </a>
                     <a href="http://www.plymouthjudoclub.org/cms/uploads/image/photos/pjc-large-03.jpg" data-lightbox="image-1">
                <img src="http://www.plymouthjudoclub.org/cms/uploads/image/photos/pjc-large-03-400x225.jpg" class="img-responsive">
            </a>
                     <a href="http://www.plymouthjudoclub.org/cms/uploads/image/photos/pjc-large-02.jpg" data-lightbox="image-1">
                <img src="http://www.plymouthjudoclub.org/cms/uploads/image/photos/pjc-large-02-400x266.jpg" class="img-responsive">
            </a>
                     <a href="http://www.plymouthjudoclub.org/cms/uploads/image/photos/pjc-large-01.jpg" data-lightbox="image-1">
                <img src="http://www.plymouthjudoclub.org/cms/uploads/image/photos/pjc-large-01-300x400.jpg" class="img-responsive">
            </a>
If you want the thumbs to be exact size all the time - use parameter crop='1' instead of enforce_max:

Code: Select all
   <cms:editable
      name="gg_thumb"
      assoc_field="gg_image"
      label="Image Thumbnail"
      desc="Thumbnail of image above"
      crop='1'
      width='320'
      height='300'
      type="thumbnail"
   />
Thank you so much, it's working perfect now

That must of been it and replace the enforce_max line with crop='1', something so simple

Thank you so much, really appreciate all the replies and help
You are welcome :) Are you by chance on any of those bone chilling pics?
No I'm not luckily, it's for a client who asked me to do the site for him. Is scary some of them pics with the moves they are doing
15 posts Page 2 of 2