Menu

Thubnails

Help
2020-03-30
2020-03-30
  • David Ledger

    David Ledger - 2020-03-30

    There are references to an inbuilt or plugin module to create thumbnails.

    Does this exist? If so, how do we use it? If not, what is the
    recommended way to create thumbnails?

    Thanks,
    David

     
  • Gerry Kroll

    Gerry Kroll - 2020-03-30

    That "thumbnail" option is on the "to do" list.

    Thumbnails are created automatically when you upload a main image. At this time, you can also upload a thumbnail that you have created outside PhpGedView.

    You can create thumbnails using the resize option in your favourite photo editing software. I use IrfanView. The thumbnail should not exceed 150 px high or wide. When resizing, do not specify both dimensions. Set either the desired height or the desired width, but not both. That way, your photo editing software will preserve the original image's aspect ratio.

    After creating your thumbnail, upload it into the /media/thumbs directory and give it the same name as the original image. If you're using subdirectories, preserve the directory structure in the /media/thumbs directory.

    For example, if the main image is called "family.jpg" and is in the "/media/foo" directory, its name is "/media/foo/family.jpg". The corresponding thumbnail would be "/media/thumbs/foo/family.jpg" .

     

Log in to post a comment.