WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Edit Thumbnail Link (13 posts)

  1. jockoe
    Member
    Posted 4 years ago #

    On the "Manage Gallery" screen are the thumbnails for each picture in that particular gallery. Each picture gives you 5 options... "View | Meta | Edit thumb | Rotate | Delete". (Only 4 options are listed for me.) I am missing, "Edit Thumbnail" when I login using IE7. (It is listed if I use Goodle Chrome or FireFox) Has anybody had this issue or know how to fix it?

  2. Paulio51
    Member
    Posted 4 years ago #

    Interesting.

    I don't have IE7 installed as a stand alone but when I test on IE Tester -> IE7 it shows View | Meta | Rotate | Recover | Delete

    I am using WordPress 3.0 and Nextgen 1.5.5

    Maybe

    Paul

  3. jockoe
    Member
    Posted 4 years ago #

    I also am using WordPress 3.0 and Nextgen 1.5.5 On IE7 it only shows... View | Meta | Edit thumb | Rotate | Delete

    But with Google Chrome and FireFox it shows...
    View | Meta | Edit thumb | Rotate | Delete (as it is supposed to)

    EDIT - This is weird. In IE7 my screen shows... View | Meta | Rotate | Delete, but when I use "copy & paste" it is pasted like this... View | Meta | Edit thumb | Rotate | Delete

  4. Paulio51
    Member
    Posted 4 years ago #

    Finally fired up Firefox and I see what you mean. I thought Rotate was what you were talking about.

    You've got me interested. I will poke around with the code tonight and see what I can come up with. I don't know if I will find anything but it's worth a shot.

    Paul

  5. jockoe
    Member
    Posted 4 years ago #

    Please let me know what you find out.

  6. Alex Rabe
    Member
    Posted 4 years ago #

    it's intentional hidden for IE browser , due to the fact that doesn't work

  7. Paulio51
    Member
    Posted 4 years ago #

    Wow, I can't believe that I found it. I am really just a newbie with php code. Not that I'm trying to toot my own horn here, I just can't believe that it only took me 30 minutes to find and fix it. It should have taken me hours and hours plus countless Google searches.

    Anyways, for those that are interested, it turns out that the Edit Thumb text was wrapped in a <span> with a class="custom_thumb" which it turns out was also defined in the main wp-admin/admin.php file and it was set to hidden. For whatever reason FireFox ignored that but IE didn't.

    The fix was to change the span class to something other than custom_thumb. So open up wp-conten/plugins/nestgen-gallery/admin/manage-images.php and round about line 401 you will find this line;
    $actions['custom_thumb'] = '<a class="thickbox" href="' . NGGALLERY_URLPATH . 'admin/edit-thumbnail.php?id=' . $pid . '" title="' . __('Customize thumbnail','nggallery') . '">' . __('Edit thumb', 'nggallery') . '</a>';
    Change the 'custom_thumb' to something else (I chose cust_thumb), save and upload and test.

    Let me know if there are any problems.

    Paul

  8. Paulio51
    Member
    Posted 4 years ago #

    Sorry Alex I didn't see your post but I am confused. It works for me on IE8.

    Just tested it.

    Paul

    **Edit**Ah, I see it throws script errors in IE7

  9. Paulio51
    Member
    Posted 4 years ago #

    Actually I see that the thumb does get updated if I keep clicking yes to continue with the script.

    I wonder if that means that it could be fixed. Or is it a quirkiness of IE Tester.

    Paul

  10. Paulio51
    Member
    Posted 4 years ago #

    Ah yes, the true scope of this problem is slowly becoming apparent. And I thought I was getting good ;)

    I can get the thumbnail resized but then I have to close down the browser and re-open to be able to do it again.

    I had forgotten why I had switched to Firefox a while back (Windows 7 had me thinking it was OK again)

    Enough for tonight.

    Paul

  11. Paulio51
    Member
    Posted 4 years ago #

    Just a little update as it has been awhile.

    I have it so that there aren't any script errors being thrown but I can't seem to get the image to load a second time when you click on the Edit Thumb button again.

    The only fix for this that I have found is to exit out of the browser or, from a recent post on an older thread, remove the functions.php file from the template folder.

    hmm

  12. Alex Rabe
    Member
    Posted 4 years ago #

    I have the same issue here with IE and didn't found yet a workaround

  13. Paulio51
    Member
    Posted 4 years ago #

    Alex

    I was going to see if I can get jQuery imagearea to work with the nextgen plugin as I saw a post by someone saying that when they switched from Jcrop, problems went away in a modal window.

    I did see, however, that you were thinking of using sortableUI. Would an expanding div be better in the long run to do thumb/image editing in?

    Paul

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.