WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
[resolved] Featured image cropping (8 posts)

  1. basicmonkey
    Member
    Posted 6 months ago #

    I love Nextgen, 1.9.13 works a treat. Would like to move on to 2.x but suffering an issue with feature image crops. I aim for a narrow crop of each featured image which works great with 1.9.13 but shows full image with 2.x.

    Code from my blog page below:

    1.9.13 (Shows cropped image):

    <img src="http://snip.snip/wp-content/gallery/cache/1767_crop_740x350_img_2524.jpg" alt="IMG_2524.jpg" title="" class="wp-post-image ngg-image-1767 image" />

    2.0.40 (Shows full image):

    <img src="http://snip.snip/wp-content/gallery/2013-04-snip/dynamic/img_2524-nggid041767-ngg0dyn-740x350-00f0w010c010r110f110r010t010.jpg" alt="IMG_2524.jpg" title="" class="wp-post-image ngg-image-1767 image" />

    Ideas much appreciated, thank you.

    http://wordpress.org/plugins/nextgen-gallery/

  2. basicmonkey
    Member
    Posted 6 months ago #

    Any ideas incredibly welcome. I fancy the premium version but only if I can get the basic version working first!

  3. photocrati
    Member
    Plugin Author

    Posted 6 months ago #

    @basicmonkey - Links to actual instances where you are seeing this would be helpful as the links you have provided (to screenshots?) are not resolvable.

    Thanks!

    - Cais.

  4. basicmonkey
    Member
    Posted 6 months ago #

    Hi Cais,

    Thanks for getting back to me.

    Those aren't links but are the img tags generated when using the different versions of NextGen. The first img tag is generated for featured images using 1.9.13, this works and shows the cropped image of 740x350. The second img tag is generated when upgrading to 2.0.40, these images show at their full size, uncropped.

    I see a 740x350 in the URL but it doesn't seem to crop.

    The URLS are snipped to avoid spurious trackbacks and spam.

    Any suggestions greatly appreciated. I can do some screen grabs if this helps.

    Cheers,

    James

  5. photocrati
    Member
    Plugin Author

    Posted 6 months ago #

    @basicmonkey - I asked for real links to see the site itself ... screen captures and links that do not resolve do not always provide enough information to help with troubleshooting.

    Other forum posters may also be able to offer help if they are able to see the issue "live" as well.

    You are welcome to submit a Bug Report on this matter if you are concerned over "spurious trackbacks and spam", feel free to use this form here: http://www.nextgen-gallery.com/report-bug/

    Thanks!

    - Cais.

  6. basicmonkey
    Member
    Posted 6 months ago #

    Hi Cais,

    I wasn't trying to be obstructive, quite the opposite. I thought a before and after tag was the most valuable resource. I have upgraded to 2.0.40 again to allow you to see current status.

    http://basicmonkey.net/blog/ is a link to the blog page, showing some cropped images (these are static featured images) and some full height (nextgen sourced).

    If you could kindly have a look and advise I would greatly appreciate it. I'll resort back to 1.9.13 after you've looked just to keep things tidy!

    Best wishes,

    James

  7. photocrati
    Member
    Plugin Author

    Posted 6 months ago #

    @basicmonkey - I believe I understand what you are looking for and I can also understand how the file naming convention could be misleading as from a name only perspective I could understand the expectation those numbers would be the size ... whereas in this case the width and height are actually boundary settings.

    It appears the 740x350 images from the Media library are being created via the theme, or another plugin; how are you setting the NextGEN Gallery Featured Image/sizes?

    - Cais.

  8. basicmonkey
    Member
    Posted 5 months ago #

    Hi Cais,

    There was a hack I made some time ago to make the cropping work which it appears doesn't work with NextGen 2.0.

    I've managed to negate it using CSS now and it works a treat. Using an adaption of this method:

    http://dabblet.com/gist/4711695

    Thanks for the support!

    James

Reply

You must log in to post.

About this Plugin

About this Topic