WP-SimpleViewer » How-to and Troubleshooting

Custom thumbs

(4 posts)

Tags:


  1. segan
    Member

    I'm using wp-sv and I've upgraded to pro. I've set a custom size for the thumbnails (60x90) and was wondering if there was a way to make my own thumbs? Currently it crops them in the middle, which works for some but others I would like to crop them from the top. Is there a way to do this or a folder where I can upload the thumbs or are they just generated in the program?

    Posted 4 months ago #
  2. The thumbs are created in the program, always with the same size. But after you have created them you can exchange them via FTP with the ones created on your pc.

    If you want to change the code where the thumbnails are created search for this line:
    if (create_resized_image($filename_original, $filename_thumbnail, true, 65, ...
    and change it to:
    if (create_resized_image($filename_original, $filename_thumbnail, true, 90, ...

    Maybe this works fine for you?

    Posted 4 months ago #
  3. misterfriend
    Member

    Thanks for that. I'm a bit new at this and was wondering in what file I would be looking for this code?
    Cheers

    Posted 4 months ago #
  4. The code is in the wp-simpleviewer-admin.php file.

    Posted 4 months ago #

RSS feed for this topic

Reply

You must log in to post.