WordPress.org

Ready to get started?Download WordPress

Forums

125

Exhibit 1.1 Photo Gallery Plugin (142 posts)

  1. ringmaster
    Member
    Posted 10 years ago #

    Exhibit 1.1 is a huge step forward in terms of admin UI.
    1.1 adds image upload/delete, directory creation/deletion, zip-file upload extraction, individual thumbnail creation, optional user-based image directories, and no post edit page reloads. I've fixed a bunch of stuff, too, including some umask/chmod stuff (crosses fingers), the annoying untiled floating issue, and the images appearing under the sidebar in IE.
    Everything validates as valid XHTML, both on the published side and the admin side, and all of the features of Exhibit that you've come to cherish remain in there.
    I moved the installation instructions into a new readme file that should explain enough to get you going. Feel free to ask questions here, though I'll be gone over the weekend on a trip to D.C. (Darn, no Philly WP meetup for me. :( )
    Enjoy!

  2. ringmaster
    Member
    Posted 10 years ago #

    Well, drat...
    It seems that Exhibit 1.1 works only on WordPress 1.3 since it requires the admin_footer hook. There's an interesting development.
    I'll see if I can get it back into 1.2...

  3. symantix
    Member
    Posted 10 years ago #

    What? I just got it working on my 1.2... (?)

  4. ringmaster
    Member
    Posted 10 years ago #

    The publish part will work fine in 1.2 without changes, but you won't get an Exhibit interface in the admin pages without them.

  5. symantix
    Member
    Posted 10 years ago #

    One thing. There is no longer the option put images from an entire directory into a post; it appears that you now have to click them one by one. At least that's what I am seeing; the button to grab all the images in a directory appears to be gone. Is that what you intended?

  6. symantix
    Member
    Posted 10 years ago #

    do_action('wp_header', '');
    I'm not seeing that line anywhere, nor even the "do_action" part, anywhere in admin-functions.php

  7. symantix
    Member
    Posted 10 years ago #

    <?php do_action('admin_footer', ''); ?>
    this line is already in admin-footer.php, just above the </body> tag.

  8. symantix
    Member
    Posted 10 years ago #

    So how do I know if the hooks are working? What am I looking for in the admin area?

  9. symantix
    Member
    Posted 10 years ago #

    Also, you need to rename "exhibit_delete.GIF" to "exhibit_delete.gif", because that is the name of the file that the code is looking for in the publishing interface.

  10. symantix
    Member
    Posted 10 years ago #

    Also, what happened to the "resample thumbnails" link? Or the "make thumbs" link? I could see the possibility of the "make thumbs" being automated, but the "resample" link is still necessary, imo, in case you decide to change the max thumb size in the .cfg file.

  11. ringmaster
    Member
    Posted 10 years ago #

    All the little icons do something. Click on them. Even the folders.

  12. symantix
    Member
    Posted 10 years ago #

    I see. I figured out how to add all images in a directory. But what about making and rebuilding thumbnails? I still don't see where that is.
    Also, is there any way to make the thumbnails in a single post look like they do as a series of previews on the front page? I love that "show preview post like single post" tag, but I like the way that thumbnails are displayed inline on the front page, as small icons in one box, and that's lost when that tag is used. Any way to re-format the thumbnails so that they look the same as a sequence of previews?

  13. symantix
    Member
    Posted 10 years ago #

    Nevermind on the second part...I'm figuring out the css slowly.
    As for the making and rebuilding of thumbnails, I'm not even sure if it's necessary anymore, but I still don't see where to do it, and your instructions seem to indicate that the link is somewhere in the publishing interface.

  14. michiko
    Member
    Posted 10 years ago #

    hi,
    i have just installed exhibit 1.1 and encountered problem after activating it. whenever i click any link on the admin page i always got this error message:
    Warning: main() [function.main]: Unable to access exhibitimg/exhibit10i.php in /home/www/htdocs/barkada-network.com/diary/wp-content/plugins/exhibit10.php on line 179
    Warning: main(exhibitimg/exhibit10i.php) [function.main]: failed to create stream: No such file or directory in /home/www/htdocs/barkada-network.com/diary/wp-content/plugins/exhibit10.php on line 179
    Fatal error: main() [function.main]: Failed opening required 'exhibitimg/exhibit10i.php' (include_path='') in /home/www/htdocs/barkada-network.com/diary/wp-content/plugins/exhibit10.php on line 179
    i have tried to edit it like it is said above but couldn't find the line as well. can you please help me solve this problem?
    michiko

  15. michiko
    Member
    Posted 10 years ago #

    i solved the problem by changing the path from:
    // File was executed in admin or plugin
    require_once('exhibitimg/exhibit10i.php');
    require_once('exhibitimg/exhibit10p.php');
    to:
    require_once('/home/www/htdocs/mysite.com/diary/wp-content/plugins/exhibitimg/exhibit10i.php');
    require_once('/home/www/htdocs/mysite.com/diary/wp-content/plugins/exhibitimg/exhibit10p.php');
    thanks and sorry as well
    michiko

  16. Anonymous
    Unregistered
    Posted 10 years ago #

    i got a problem too ;)
    at http://www.dexteressentials.com/_blog/ you can see a gallery in the 2nd posting. but the gallery its a bit to wide. how can put the last 6 pics on a new row?
    thanks
    dex

  17. bdrydyk
    Member
    Posted 10 years ago #

    This is great. Exhibit handles photos the way I think blog software should.
    However, are there any simple mods to have a clicked image link to a gallery program (pictorialis II for example). Would this defeat the purpose of the plugin?
    I like the control of where and how to post images, but it would be nice to be able to use exhibit as a blog-post front end to a gallery. Anyone have ideas on this, any other solutions?
    -brandon

  18. valiot
    Member
    Posted 10 years ago #

    Ringmaster, great plugin and great features.
    One thing I would like to see is the ability to remove images just as easy as it is to add them. Since you already have code that triggers when someone clicks on an icon to add the images to the preview column, there is no reason that you can't have this feature to remove images. You can have a little button labeled "remove" next to each thumbnail. When you click on the remove button, that image will be removed instantly from the list. This would be consistent with the behavior required to add images. maybe add in a "remove all" button as well.

  19. ringmaster
    Member
    Posted 10 years ago #

    Geez... I go away for a weekend...
    @symantix:
    If you change the config directly you won't need the special tag each time. Just change it to "preview_like_single=true". Otherwise, I'm not exactly sure what you're after. Keep playing with the CSS, I'm sure there are enough classes in there to get what you want.
    The rebuild thumbnails option is missing in 1.1, but not in the shortly to be released 1.1a. With extra bonus flavor! (You guys are gonna love this new thingie...)
    @dexter:
    There currently isn't a way to break up the previews into separate lines. I've always thought it was a bonus that Exhibit didn't make you count anything to have a nice layout.
    @bdrydyk:
    The reason I wrote this is because I didn't want to install another gallery program. I was considering writing a separate page that displays just the photos in a gallery-like way. I'm not sure if I'll actually do that, though. What sort of link did you have in mind? Most of the possibilities I can think of are outside of my scope for this project.
    @valiot:
    You're onto me! I didn't do exactly that in this release because I wanted to see how the javascript picker flew first. We'll see if I can swing it. Probably not before I get a couple of other things cleaned up.

  20. Anonymous
    Unregistered
    Posted 10 years ago #

    Just a note ringmaster, I don't have access to my config file right now but it is possible to change the image tag to include title="IMGCAPTION" or something of that sort title="whateverthecaptionvariableis" within the image tag to get a nice tooltip with the caption in newer versions of MSIE and Mozilla when the non-previews are moused over.

  21. Anonymous
    Unregistered
    Posted 10 years ago #

    Hi Ringmaster, I'd really like to use your Exhibit, but there comes up always the same error, when I try to upload files. I created a new directory, changed to this directory and chosed a file to upload. Upload-progres hat been shown and after this error appears:
    Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 937 is not allowed to access /home/www/web145/html/goelog/images/geismar owned by uid 33 in /home/www/web145/html/goelog/wp-content/plugins/exhibitimg/exhibit10f.php on line 654
    Warning: copy(/home/www/web145/html/goelog/images/geismar/taka0.jpg): failed to open stream: No such file or directory in /home/www/web145/html/goelog/wp-content/plugins/exhibitimg/exhibit10f.php on line 654
    Sorry. Couldn't upload your file, "/home/www/web145/html/goelog/images/geismar/taka0.jpg".
    Do you habe any idea, what I could do?

  22. ringmaster
    Member
    Posted 10 years ago #

    You need to not run PHP in safe mode?
    This is probably out of your control. You'll need to talk to your host about enabling file uploads for PHP in safe mode, or turning off safe mode entirely. Usually, they don't like that.
    Basically, PHP's safe mode is restricting your access to the directory in which PHP caches your uploaded files. Exhibit tries two methods to move these files, but your server security could be such that you just can't do it.
    Keep in mind that you can still upload images and thumbnails via FTP and use Exhibit to load the pictures into your posts, but you won't have any use for the k3wl upload/resample/rotate features that have been added in the last few iterations.

  23. ringmaster
    Member
    Posted 10 years ago #

    Oh, by the way...
    Version 1.1a is online.

  24. valiot
    Member
    Posted 10 years ago #

    Ringmaster, again... praise for this plug-in.
    Another feature request. I know you're working on improving the images removal procedure so I won't re-iterate that request. One thing I find annoying is to have to click on the preview checkbox for all uploaded images. It would be nice to add a setting in the cfg file to assume preview "on" for all attached images. This would eliminate the need for even showing the selector.

  25. freelancer
    Member
    Posted 10 years ago #

    While I would love to use this plugin I am having installation issues which honestly make me feel like a moron.
    When finishing the installation (I double checked the file locations and activated the plugin) during the "The table required to use Exhibit (wp_exhibit) is not installed." stage after I click the link I simply get a 404. Any thoughts?
    Thanks for the help!

  26. cyber6
    Member
    Posted 10 years ago #

    I get stuck at this point too-unable to get the wp-exhibit table installed-404 error.
    Anybody any ideas?

  27. Anonymous
    Unregistered
    Posted 10 years ago #

    testing

  28. ringmaster
    Member
    Posted 10 years ago #

    You folks with 404 errors: You need to follow the instructions closely when they say...

    Edit an existing post (or draft) and click on the link in the Exhibit area to create the required database table (if it doesn't already exist).

    You can't click that link on a new post, only an existing one. Assuming you did, you should change the "&" to a "?" in the URL that gives you a 404 error, and everything would work fine.
    I'll see if I can smooth this out in the code.
    Also... preview_by_default is a configuration option in my current dev version. So please - I beg you - stop asking me for it. :)

  29. Anonymous
    Unregistered
    Posted 10 years ago #

    Sorry for the "testing" post.
    Ringmaster (or anyone else that has seen this) - I installed 1.2 Mingus last night and got it working and then installed version 1.1a of Exhibit. In the window below the "Reset to image/path" hotspot I have the following error:
    Current directory: /
    Warning: mkdir(/home/xbluene/public_html/requiest/images): Permission denied in /home/xbluene/public_html/requiest/wp-content/plugins/exhibitimg/exhibit10f.php on line 386
    '/home/xbluene/public_html/requiest/images' is not a valid directory on this server. Check your image directory settings in Exhibit.
    You may need to create a user directory before you can use the file picker.
    I have the images directory created and have the CHMOD set to 777 (what should it be set to?) but I'm not sure what else to do. Line 386 does have to do with the directory but I can't figure out where it is set.

  30. Anonymous
    Unregistered
    Posted 10 years ago #

    I'm an idiot - didn't read the instructions properly. DISREGARD!!

125

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.