Support » Plugin: Magic Gallery » [Plugin: Magic Gallery] Can't remove a problem image from 'Manage Images'

  • Resolved robinwyatt

    (@robinwyatt)


    Hi,

    Firstly, thanks for a great plugin! I searched for hours before finding one that fit my needs. However, I have a problem. I just completed work on a large photo essay-style slideshow, which has kept me up till 5am. There are 66 slides. When I went to review them, I realised I’d not reduced the size of the 9th one in the sequence. Thus, it’s huge relative to the rest and the user must fish around trying to find the ‘next’ tab. I thought I could just delete this slide and go to bed, but then realised that only the latter 50 slides appear under ‘Manage Images’. There is no way to see the first 16 slides, not even a ‘Page 2’ link. What can I do?

    Thanks!

    Robin

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author gerbenvandijk

    (@gerbenvandijk)

    Hi Robin,

    Thanks for your kind remarks!

    I checked for you, and I seem to have put a limit of 50 images in a debugging phase that I forgot to delete.

    Change line 343 from:

    $showimages = $wpdb->get_results( 'SELECT id, albumid, title, url FROM ' . $wpdb->prefix . 'images ORDER BY id DESC limit 0,50' );

    To:

    $showimages = $wpdb->get_results( 'SELECT id, albumid, title, url FROM ' . $wpdb->prefix . 'images ORDER BY id DESC' );

    Sorry for the inconvenience, and don’t hesitate to ask for help if you stumble into other problems. Also, when you have a nice idea email me at info@gport.nl so I’ll add it as a feature request.

    Regards,

    Gerben van Dijk

    robinwyatt

    (@robinwyatt)

    Thanks so much for this (and sorry for the late reply, I was without my computer for a while). At first it caused a fatal error and deactivated the plugin, but then I did it again and it was accepted. I’ve now got only 50 photos in total so I can’t yet see whether it works, but I assume it does. 🙂

    robinwyatt

    (@robinwyatt)

    Just to confirm… yes, it works! Thanks. Will this be done in the next update?

    Plugin Author gerbenvandijk

    (@gerbenvandijk)

    Hi there,

    Yes, it will be fixed in the next update, already removed it from my working copy 🙂

    robinwyatt

    (@robinwyatt)

    Great, thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Magic Gallery] Can't remove a problem image from 'Manage Images'’ is closed to new replies.