WordPress.org

Forums

Eazyest Gallery
Gallery thumbnail size is hardcoded (4 posts)

  1. klihelp
    Member
    Plugin Author

    Posted 3 years ago #

    Hello, the gallery -thumbnail- size is hardcoded.
    Usually the -thumbnail- size is very small (150x150), and using that size all over the admin.

    Is it possible to make an option in the admin to choose the thumbnail size. ( I would choose medium or post-thumbnail size)

    The current code in the class-eazyest-frontend.php:
    $gallery = do_shortcode( "[gallery $post_ids columns='$columns' itemtag='$itemtag' icontag='$icontag' captiontag='$captiontag' size='thumbnail']" );

    Using Wp-3.6-beta1 with plugin RC.14

    http://wordpress.org/extend/plugins/eazyest-gallery/

  2. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 3 years ago #

    Good point I'll add a filter there in 0.2.0.

  3. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 3 years ago #

    in trunk.
    filter is: 'eazyest_gallery_thumbnail_size'
    default: 'thumbnail'

  4. klihelp
    Member
    Plugin Author

    Posted 3 years ago #

    This is good for the gallery thumbnails.

    Similarly this you folder thumbnails (the folder icons) could have a filter for the thumbnail size, because it's hard-coded for the default thumbnail size.

    Using WP 3.5.2 / WP 3.6.RC1 with plugin v0.1.3.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Eazyest Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic