Support » Plugins and Hacks » Exhibit 1.0c Photo Gallery Plugin

  • My Exhibit photo gallery plugin for WordPress has reached version 1.0c!
    New features:

    • Image upload
    • Directory creation
    • Paginated thumbnails
    • Add single images
    • Resample uploaded full-sized images

    It retains features of the prior versions, including:

    • Automatic thumbnail creation
    • Popup full-sized images
    • Per-post override display settings
    • Other good stuff

    Download here.
    Sample site here.

Viewing 15 replies - 31 through 45 (of 87 total)
  • Gah! Just noticed a typo in the height/width code I posted earlier (http://wordpress.org/support/10/7599#post-24):
    >> Right before
    Should be “Right after”

    I’ve been thinking about this chgrp thing. it’d be really useful if it could be set to the group “whatever my username is or something” and this could be set in the config file or something like that so it’d be easy for people to change the group.
    the thing is that I’ve done a search on chgrp and I see how to add this to the t-folder code sort of because I understand that part of the code. but I don’t really know how to add it to the code where the user creates folders because I don’t know enough php. 🙂 like, if I am not getting this totally wrong, you have to define which folder to change the group of, and I don’t know how to define that folder.
    there’s also the problem that if I add a chgrp to the thumb-folder-code, I get “operation not permitted” (chgrp). is this because the t-folder is inside my imagefolder which have my username set as the group while exhibit seem to “belong” to group 99 (and user 99) and therefore cannot change group of files/folders inside my imagefolder.
    could that be fixed in some way? otherwise is umask the only solution that I can see :/

    Is there any workaround to the wrapping issue in IE?

    @node:
    This issue actually has been annotated before (maybe another thread?) and should be pretty easy to fix. In exhibit10.php, go to like 220:
    $ev = <<< EOC
    Change this to:
    $ev = "
    Change line 226 from:
    EOC;
    To:
    ";
    @SlitherImp:
    You need to change the float: setting in your exhibit.css file. Open exhibit.css and look for this line:
    /*float:right;*/
    Remove the comment marks so it does this:
    float:right;
    Feel free to change “right” to “left” if you like. The configuration settings for top and bottom will affect what text the image preview floats near. Just remember that the styles in the exhibit.css (or your main wordpress CSS file) also affect the images, making it easy to style your pictures to whatever CSS you use for the rest of your site.
    @mufflonen:
    I wish I knew what was going on on your box. I think there must be some odd permissions at work. It’s conceivable that you have been denied access to the chgrp() command by your host.
    That chmod to 0664 doesn’t work is really strange. I don’t understand why you would need the execute bit set for an image file to be able to erase it.
    I’ll just have to incorporate an unlink feature into the next release.
    FYI, the thumbnail folder is created on line 1474 in the make_thumbnails function.

    yea, I know where the thumbnils are created in the php-file, it’s more where chgrp should be added to the other subfolder-function that confuses me 🙂
    664 is not a problem, the problem was that the folders were created with 755 permissions…I could change that to 664 or whatever preferred with umask.
    I definitely think an unlink feature would be good. I miss deletion of files from inside exhibit now when I can upload them 😀

    @ringmaster:
    Thanks for your response. You’re right, I had overlooked your earlier posting on the topic. However, I don’t think that the “here document” (<<<) syntax is the problem in this case. I made the changes you suggested, and now I get a slightly different error message displayed in the same place as before:
    Fatal error: Call to undefined function: add_action() in [my site root]/wp-content/plugins/exhibit10.php(227) : eval()'d code on line 2

    I also tried using the “here document” syntax in another test PHP script on the same server (Dreamhost, which runs PHP4.3.4), and it worked fine. Any other ideas?

    hi,
    how can I disable the “onclick” function? Is there a way to display the picture in the same size I uploaded it. Without resizing..
    Thanks a lot
    dexter

    I like the upload interface provided with your plug-in, however i want to hide the main upload page. Is this possible. I don’t want to provide two ways to upload images. I tried playing around with the upload levels but it did not work. Actually I think I discovered a bug in the process. When you specify minimum upload level in WP to 2 then you must have level 3 to upload using the Exhibit plug-in and level 2 for the normal WP upload page. Anyway, I would prefer a seperate upload level for Exhibit, is thios possible?

    the class “feedback” needs to clear the float:left from the gallery.
    .feedback { clear:left; } should solve your problem.

    Thankyou very much RingMaster and igotch4, it’s exactly as I want it now 😀

    to get pictures to display in the same size that you uploaded it, this modification will effect the display of the preview (thumbnail) image…
    1. open up exhibit.css file and change:
    .ex_thumb_preview img {
    width:100%px;
    }
    2. open up exhibit10.cfg and change:
    thumb_width=640
    thumb_height=640
    you can edit thumb_width and thumb_height to be however large you want your maximum image resolution to be.
    if you want the actual original image (rather than the preview) to be displayed, here’s what you can do… after you’ve added an image to your blog entry, double-click on the image thumbnail in the left-hand column of the exhibit section and it’ll insert the html anchor and image tag into the entry body. sorta like this:
    <img src=”http://www.domain.com/wp/images//t/IMG_8663.jpg” alt=”” border=”0″ />
    in the img src code, remove the “/t” directory so the image will point to your original image and not the thumbnail.

    I have WP1.2 and Exhibit 1.0c.
    I changed the permissions in exhibit.cfg to be 0777.
    When trying to upload I get
    /uploads
    Fatal error: Call to undefined function: imagecreatefromjpeg() in /docs/cgi.media.mit.edu/emonic/eblog/wp-content/plugins/exhibit10.php on line 1489
    Also:
    – clicking “rebuild” does nothing.
    – clicking on any image icon (or its name) does nothing.
    – “t” folder has been created but nothing is inside.
    – files upload all right but then it is followed by the fatal error above.
    which (based on the comments above) is a sign that GD is not installed? My sysadmin however, assures me that GD is installed and is working.
    He says: “libgd is in /usr/local/lib.”
    Is there a way to point the Exhibit to use this version? Or, to check whether GD really is installed properly?
    Thanks much…

    phpinfo(); will tell you. Just create a file that has only:
    <?php phpinfo(); ?>

    I uploaded everything and changed all files as need be, but when I edit, it tells me I still need to chnage the name of the varibale from CHANGEME to something else. I did make the change but it’s still telling me to change the name. I only made the edit in exhibit10.php. Did I forget it somewhere else?

    uhm. I created a post with some exhibit-stuff, it looks great. but if I go back to edit the post once published, it won’t let me remove pictures or change the caption…what’s wrong?

Viewing 15 replies - 31 through 45 (of 87 total)
  • The topic ‘Exhibit 1.0c Photo Gallery Plugin’ is closed to new replies.