WordPress.org

Ready to get started?Download WordPress

Forums

Exhibit 1.1b Photo Gallery Plugin (63 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    Damn! The source screwed up :) Here's the code again ...
    <script type="text/javascript">
    <div id='error'>
    Database error: [You have an error in your SQL syntax near 'last_insert_id' at line 1]

    SELECT LAST_INSERT_ID() as last_insert_id
    </div>addExhibitImage(some-images//t/testimage.jpg',,false);
    </script>

  2. neil
    Member
    Posted 9 years ago #

    Not to open another can of worms, but is there any way to preserve some sort of order when adding files? I add them in a certain order and they get renumbered by Exhibit (I'm guessing something to do with the ID in MySQL). How does this work?

  3. ringmaster
    Member
    Posted 9 years ago #

    @Anon:
    Open exhibit10f.php in the exhibitimg directory and delete "as last_insert_id" wherever you see it. Save it and try again.
    @gire:
    Hmm. I'll need to patch this one. An update should be available soon that adresses this.

  4. thebugbox
    Member
    Posted 9 years ago #

    Love the plug-in! http://www.65ss.com
    I do notice on any new installs (a bunch of friends want me to set it up), under the images folder, I have to create one folder manually, and chmod it 644 before Exhibit will let me add folders. No big deal.
    2nd, I cannot get watermarks to work. The exhibit10.cfg is in the exhibitimg folder, is that the proper place? I think so. I've uloaded a custom .png file (named the same as the example one), then set the config to say =ex_watermark.png
    No dice. No biggie, but still would be cool.
    3rd. Sometimes I add 5 or 6 images, then I decide I want to reorder them. If possible, in the future could you add a little up and down arrow ro re-order without having to delete, then re-add. If no, another 'No Biggie'. I simply love the plugin. I especially enjoy that the new verison did not require me to edit anything. Just activate the plug in, then click to create the database.. I also upgraded from the 1.0c, and it was flawless.

  5. Anonymous
    Unregistered
    Posted 9 years ago #

    Here's a small bug: the admin page gives a javascript error if the caption of any of the selected images has a single-quote in it.

  6. Anonymous
    Unregistered
    Posted 9 years ago #

    @ringmaster:
    Thanks for the last_insert_id tip. It works fine now! BTW, is there anyway I can disable the dynamic loading of thumbnail when the mouse is hovered over the image icons. I find it a bit annoying :)
    Keep up the good work!

  7. Anonymous
    Unregistered
    Posted 9 years ago #

    [Suggestion] It would be great to have a checkboxed list to select multiple images rather than (or besides) adding one image at a time to the post. The same may apply to the delete function.

  8. Anonymous
    Unregistered
    Posted 9 years ago #

    [Suggestion] If you can please add the "exhibit:preview_class=" tag to the list of post config tags (i.e. the post config dropdown).

  9. Anonymous
    Unregistered
    Posted 9 years ago #

    Another suggestion: It would be great to have the possibility to browse to the next picture from the pop-up. This way you do not need to close it and go back to the blog to open the next picture. Exhibit is really GREAT!!!

  10. Anonymous
    Unregistered
    Posted 9 years ago #

    Yet another suggestion :)) photo e-cards!!!

  11. ringmaster
    Member
    Posted 9 years ago #

    If you can please add the "exhibit:preview_class=" tag to the list of post config tags (i.e. the post config dropdown).

    All of the options that appear in the post config dropdown are listed at the bottom of your exhibit10.cfg file. You can add anything you want there, including the preview_class entry. Just add a line like this to the end (actually anywhere) of the config file:
    My Preview Class:preview_class=classname

    is there anyway I can disable the dynamic loading of thumbnail when the mouse is hovered over the image icons.

    There isn't a config option for this, but...
    In the file exhibit10f.php, there is a blank line around line 165 in the javascript function hangnail(). Instead of a blank line, put:
    return;
    That should prevent the thumbnails from popping up on mouseover. But man, that's one of my favorite features. ;)
    @thebugbox:
    I wish I knew what your watermark issue might be. If I had better access to your server, I might be able to say, but without some hands-on debugging, it's pretty difficult. If you really want to get into it, email me: ringmaster [at] midnightcircus [dot] com
    Apart from the above, I've read your suggestions, and I'll see what I can do for the next version.

  12. Anonymous
    Unregistered
    Posted 9 years ago #

    A single quote or double quote in the image caption throws JavaScript errors when the page is displayed.

  13. Anonymous
    Unregistered
    Posted 9 years ago #

    @ringmaster:
    That should prevent the thumbnails from popping up on mouseover. But man, that's one of my favorite features. ;)
    I would have loved it too, if the dynamic images would scroll down when the image frame is scrolled. What sense would it make to display the image thumbnail (hover) when the image list has 50 thumbnails and due to scrolling the thumbnail preview sticks to the top and is not shown at all times. Just my personal opinion.

  14. Anonymous
    Unregistered
    Posted 9 years ago #

    Is there a way to make an icon next to the images in the directory structure, like the "add to post", "rotate", and "delete" icons, that you can click, and it will insert an image tag for the full size image or thumb into your post?
    I know that you can do this by clicking the thumbs next to the list of images that you have added to your post. The problem is, I may not want to have a list of thumbs at the bottom of my post, which happens by default.
    The way that I have been accomplishing this is by adding an image to the post, saving and continuing, clicking the thumb next to the image, thus creating an image tag in the post that links to the thumb, removing the "/t" in the directory path, so that the image tag links to the full size image, checking the "remove" box next to the image in the list, then saving and continuing. That way I have the img tag, and there won't be a list of thumbs at the bottom.
    This accomplishes what I want to do, but it's more of a workaround. I'm fine if I have to stick with this method. I just thought I would bring it up as a possible way to improve the functionality of your plugin. This would expand the plugin, so that it worked not only as a gallery, but also as a simple image manager.
    Thanks, man. :)

  15. symantix
    Member
    Posted 9 years ago #

    oops. That was me directly above.

  16. ringmaster
    Member
    Posted 9 years ago #

    @symantix:
    Dude, I thought I had shaken off you and your crazy feature requests. :)
    I'll see what I can do.
    @other Anon:
    Please log in!
    I don't follow you exactly. From what you say, I think that your display isn't working how my display works.
    When I mouse-over the buttons in the file picker, the thumbnail appears in the top-right corner of the picker window, regardless of where I am scrolled to or what image I pick. When I mouse-off, the thumbnail goes away. Is this not the behavior on your system?
    Actually, thinking about it, this may be a browser issue. In FireFox, it moves with the scrolling. In IE, I thought I might have disabled the feature entirely because it wasn't working exactly how I wanted it. I remember humorously considering leaving it in there to annoy IE users into switching to FireFox, but I don't remember doing that for real.
    Of course, right now I'm very lazy and don't feel like waiting the 35 minutes it takes for IE to open on this system.
    Yes, yes... Fix Javascript errors... Stinking quotes...

  17. neil
    Member
    Posted 9 years ago #

    Why not just put the preview thumbnail in its own frame?

  18. ringmaster
    Member
    Posted 9 years ago #

    @neil:
    Because the frames take up a lot of space already. I lament the fact that I already need to keep my browser unreasonably wide when using Exhibit to appease my quirky aesthetic sense.
    If you've got a cocktain napkin and can draw something better, let's have a look.

  19. neil
    Member
    Posted 9 years ago #

    @ringmaster:
    I don't think that adding one more frame to the right of the folder browser would be too bad...maybe you could make the folder tree a bit shorter too? I dunno, I'm not saying I had a better idea, just throwing it out there.
    I'm still having trouble preserving the ordering of pictures...how does Exhibit handle this so I can have a crack at trying to sort it out?

  20. ringmaster
    Member
    Posted 9 years ago #

    @cdownie:
    Are you using the Mingus release of WP or one of the RCs? The popup script is supposed to be inserted into the header of your page when you have the config set like you have it set, and it's not being done. The only excuse I can think of for this is that your WP is not calling the "wp_head" hook, which was a problem with the RCs of 1.2. This would explain why you're not getting the stylesheet include, either, which is also inserted in the head.
    Be sure you're using Mingus or upgrade to 1.3, Exhibit should still work. There is also a thread on this forum somewhere (one of the Exhibit ones) that talks about how to fix this issue in the 1.2 RC, but I'm too lazy to go searching at the moment. :p
    @neil:
    Hmm. You must have a particularly large screen, my friend. Much larger than mine here at work. I hate work. I digress.
    Exhibit displays the photos in natural order. Which is to say, possibly the order in which you added them, possibly random. (Even if it seems random, there is actually a reason to it - filling in previously deleted records.) Unless you want to do it yourself, you'll have to wait for my next big revision to reorder the images. It's going to require an additional field in the table to implement.

  21. Anonymous
    Unregistered
    Posted 9 years ago #

    *next big version* ... waiting dude! good work :)

  22. Tinwelint
    Member
    Posted 9 years ago #

    I have a strange problem.
    I installed exhibit1.1b on my Wp1.2 mingus as the instruction told me, activated the plugin and vas eager to use it. But then, there showed up no exhibit-area in post page. I have the same problem with the Adhesive plugin too. The little sticky tickbox doesn't show up. I'm beginning to think that this error is caused by WP as it affects two plugins but i have no idea why.

  23. Anonymous
    Unregistered
    Posted 9 years ago #

    I have the same problem as you!
    I thought it might be some plugins conflict problem. Then I instaledl a new and clean WP site, but it still didn't work. I am so frustrated, but I am afraid that it's because I am stupid. I have to go back to the side of the good and old WP-photos hack (thx to alex's nice work).
    Why?
    Is it because I am using 2-byte characters?(I am not a native English speaker, excuse my poor English:P)
    Any suggestion would help.

  24. AtomicPlayboy
    Member
    Posted 9 years ago #

    Hi.
    I just intalled and have a small problem.
    When I get my post all set up and done and click on "save and continue editing" if I look at teh preview of the post at the bottom of my page everything works great. I click on the thumbnail and the pop-up page works.
    BUT
    When I go to the gallery on the website and click on the thumbnail I get an js error. http://www.alacarde.ca/babyblog/index.php?cat=2
    Thanks in advance

  25. AtomicPlayboy
    Member
    Posted 9 years ago #

    Thanks ringmaster. That was the trick.

  26. Tinwelint
    Member
    Posted 9 years ago #

    No, it doesn't seem to work.

  27. Tinwelint
    Member
    Posted 9 years ago #

    It still doesn't work. Tried the 1.1c version. But it partially works, i can see that in my posts where the call to the exhibit-table goes wrong as it is not created.

  28. Anonymous
    Unregistered
    Posted 9 years ago #

    I really mean no offense.
    I really want to try your promising plugins.
    And I know I am not a wizard. But I am not a totally dumb, either.
    So I know what is 1.2 Mingus. As I said, I have tried to install a whole new 1.2 mingus WP, then install your plugins. It didn't work.
    Thx for your suggestion, I mean it.
    I am sorry for my poor English and I can't use it to express my true feeling about my appreciation for your hard work. If my words make you feel bad or angry, I am truly sorry.

  29. ringmaster
    Member
    Posted 9 years ago #

    I'm not upset, I just want to see it work. It might be helpful if I could see the problem for myself. How broken does it leave your site? Could you let one post sit and give me a link to it?
    Did you finally get the interface to appear? You need to create the table via the interface before you can expect posts to appear with images. There is a link to do this from the WP admin Write page.

  30. Tinwelint
    Member
    Posted 9 years ago #

    I know that there should be a link in the WP admin Write page to create the table but nothing related to exhibit shows up there.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.