WordPress.org

Ready to get started?Download WordPress

Forums

Exhibit 1.1 Photo Gallery Plugin (142 posts)

  1. symantix
    Member
    Posted 10 years ago #

    Is there a way to have paginated thumbnails begin on the first page of the post?

  2. ringmaster
    Member
    Posted 10 years ago #

    You can have thumbnails begin on the last text page of a multi-page post or on the page after the last page of a multi-page post.
    So if your post is only one page long, yes, you can. Set on_last_page=true in the config, or use the Post Config dropdown to set this ("Paginated thumbs start on last page").
    There is currently no way to start the thumbnails on the first page of a multi-page post and continue to subsequent pages. If this is your question, how would you suggest that it work?

  3. symantix
    Member
    Posted 10 years ago #

    I understand now. I think that's what I need. I saw the "begin paginated thumbs on last page" tag, but the "word" last wasn't computing in my brain right. But it makes sense now. Let me try it. Thanks.

  4. cyber6
    Member
    Posted 10 years ago #

    Hi,
    Now I understand !
    Great plugin-many thanks.
    Neil
    http://www.cyber6.org

  5. ringmaster
    Member
    Posted 10 years ago #

    @symantix:
    Your request is currently running in my dev version code as a new config option. You can toggle it on/off in the config or per-post, just like the other paginate settings. :)

  6. symantix
    Member
    Posted 10 years ago #

    sweet. :) Had you already implimented it, or did you do it just now?

  7. ringmaster
    Member
    Posted 10 years ago #

    I did that and some other stuff between when I asked and when I replied. :)

  8. valiot
    Member
    Posted 10 years ago #

    Here I go again with the requests...
    Have you thought of the idea of having a watermark automatically added to each image upon uploading?

  9. ringmaster
    Member
    Posted 10 years ago #

    So when you upload an image, Exhibit puts a watermark on it then. Any images that are derived from that image (thumbnails, rotated) don't add additional watermarks, but assume that the uploaded image has one already. Is this what you're thinking?

  10. sindas
    Member
    Posted 10 years ago #

    All of my pictures have ugly borders on them, I have tried everything with the css.
    whats the problem?
    http://www.sethbrammer.com is where they are..
    HELP!!

  11. valiot
    Member
    Posted 10 years ago #

    Yes, ringmaster...
    Add a watermark upon upload and maintain that. Don't keep adding a watermark. Of course if the image is deleted then re-uploaded you would add a watermark again. You can specify the location (on the server) of the watermark image in the config file. Also you can specify placement location (bottom right, left, top right, left etc.).
    If you're curious, the site I am using it on is here:
    http://www.lavausergroup.org/niweek2004/
    Check the Tutorial link on the right. Might give you an idea for an Exhibit manual?

  12. valiot
    Member
    Posted 10 years ago #

    Sorry, ringmaster...
    I just thought about it some more. It doesn't make sense to add the watermark upon uploading and keep it. What will happen is if you rotate the main image then the watermark will be rotated as well which is not nice.

  13. Anonymous
    Unregistered
    Posted 10 years ago #

    How can one edit the caption (comment) below images?

  14. ringmaster
    Member
    Posted 10 years ago #

    True, and since the thumbnail is then rebuilt from the rotated image, the thumbnail will contain the watermark too.
    On the other hand, I don't think I'm willing to maintain a pristine copy of an image on the server along with the resampled and watermarked version just so I can get "nice" watermarks when the image is rotated.
    Do you see any other solution to this issue? Perhaps a watermark that can be removed and replaced after rotation? That kind of defeats the purpose, maybe.

  15. symantix
    Member
    Posted 10 years ago #

    If you want to rotate the image, why not just delete the copy on the server, rotate it on your machine, and upload a new copy? That doesn't seem like it would be too much trouble.

  16. Anonymous
    Unregistered
    Posted 10 years ago #

    Nevermind, it can be edited next to the checkboxes for remove/preview.

  17. symantix
    Member
    Posted 10 years ago #

    RM, I don't know if this is asking too much, but might there be a way to set the new versions up in a way to where you can easily upgrade a prior version without losing your current configuration or css? Perhaps it's already that way, meaning that in your upgrades, you're no longer changing the layout of the .cfg or .css files. If that's the case, great. I was just wondering. I'd like to keep current with your upgrades, but right now I can't take the time to compare the cfg and css files or redo the settings that I've achieved thus far.

  18. kXe
    Member
    Posted 10 years ago #

    Both the 'click to create a single thumbnail' or 'update all thubnails' does nothing at all, t just reloads the page, changes nothing
    I have tried on an wp 1.2 install and the 13.alpha.
    I can upload/delete/make directories just fine, it just cannot make thumbnails.
    Both the servers i tested on have GD '2.0 or higher' installed according to phpinfo().
    Anyone knows what the problem here is?
    thanks

  19. freelancer
    Member
    Posted 10 years ago #

    Sorry about the confusion! I have it working great on 1.2 mingus now. Thanks :)

  20. valiot
    Member
    Posted 10 years ago #

    @ringmaster:
    At first I thought I had this watermark feature locked in but now it seems that it is more complicated than I thought.
    Remove watermark? Is this even possible? I thought that when you add a watermark you end up with a merged image. How can you remove it and then re-apply it?
    I think I have an intermeadiate solution. Why not apply the watermark when you click on the icon to transfer the image over to the blog post. This makes sense because you would normaly do all your rotations before you add the image, no? Now that you have the preview pop-up you can tell before you add the image if you need to rotate it or not. In the end, if you really screw up then you can always remove the image from the post (and the directory) and re-upload it.
    @symantix
    I love rotation on the server! Also, judging by the quality of work that ringmaster puts into his code, do you think he would settle for a solution like that? No, no. If you're gonna do it then you might as well do it right. I'm sure we can add watermarking with proper usability.

  21. Anonymous
    Unregistered
    Posted 10 years ago #

    i cant seem to activate it. the readme file seems to be written from the perspective of someone who knows something, or some extra step taht I'm not aware of.
    Is there a DETAILED step by step installation guide? I did exactly as it asks, and I actually don't seem to have an OPTION to enable any plugins... i can't even FIND that..
    help would be appreciated.

  22. Anonymous
    Unregistered
    Posted 10 years ago #

    a question from a complete novice; I know it is a bit off-topic but perhaps someone could point me in the right direction? -
    i installed the plugin, everything seems fine but gives me an error that, after i looked at the comments in this and other threads, indicated that my server is not compiled with the GD option. And indeed, it wasn't.
    I asked our sysadmin to recompile it accordingly. She said she tried and it fails.
    I asked what is the error that she gets.
    Her reply:
    "The error is:
    Cannot load /usr/local/apache/libexec/libphp4.so into server: dlopen:
    cannot load /usr/local/apache/libexec/libphp4.so
    This is typically a path problem, i.e. cannot find a required library
    in the path, but I have eliminated that."
    Any idea what might be a reason for this or what would be a good place to find a solution?
    Thanks much...

  23. Anonymous
    Unregistered
    Posted 10 years ago #

    is there a way that it will NOT alter my image size/shape? I have my images pre-optimized before uploading,.. then when i upload them, either exhibit or wordpress re-sizes them again and makes them distorted, blurry and odd sizes...
    any tips?

  24. Anonymous
    Unregistered
    Posted 10 years ago #

    also, i have to wonder: if we're uploading large images that exhibit is editing down to a smaller image, are we using our internet bandwidth/traffic quota?
    My digicam takes enormous photos, at more than 1mb per shot........
    what does everyeone else do? BTW, http://www.idealflaw.com has examples. notice the larger gallery post i made has weak image quality... the single pic gallery of the tree is quite good, however,.. i uploaded that from teh enormous source photo...

  25. lazymonster
    Member
    Posted 10 years ago #

    I set the maximum resolution to 1600*1200 but the scrollbars doesn't show. Is there an option to show scroll bars in the pop up window? thanks

  26. ringmaster
    Member
    Posted 10 years ago #

    Wow guys; It seems I shouldn't sleep.
    Regarding upgrades:
    If you don't replace the config file, the defaults in the actual code are set to work the same as if you used the new settings in the new config file. At least, that's the theory. I've been adding all of the new config options to the bottom of the file, above the Post Config options, so they're easy to locate. Bottom line- Just don't copy over the new config file and you should be OK.
    Regarding not finding the Plugin activation page:
    WordPress restricts access to this admin tab based on user level. Be sure you are logged in as a user with a high enough level to be able to see this tab before becoming convinced that something is wrong with Exhibit.
    Regarding installing GD:
    Sorry, when I was using Linux my PHP came packed with working GD and I never cared to learn how to recompile anything. When the time came that I needed to upgrade, I switched to Windows (where I'm personally more comfortable) and everything's been working swell.
    Regarding resampling the original image:
    The config file tells you exactly what to do to not resample the originals: "Use 0 if you don't want to resample."
    Regarding uploading huge images:
    Depending on the metering to your server, yes you are sucking up a lot of bandwidth. But it's your choice to upload the big files as opposed to the small ones. Actually, I resample nearly everything before I toss it online. But for the occasional file, I just want to upload it and be done, so I make use of the online resampler.
    Note that you can also zip all of your images and upload them. Exhibit will unzip them into the directory in the file picker. This works if your PHP has the zip extensions.
    Regarding bad resampled image quality:
    There is an option to turn on antialiasing in GD, but the version of PHP required is too new (5?), I think. I'll look into it. But if you're not happy with the quality of the images that are resampled by the server, then the logical course of action is to resample them locally. Exhibit is not Photoshop, and I wouldn't expect Photoshop performance from it. Resampling locally will save you some bandwidth, too.
    Regarding scrollbars in the popup:
    There are a couple of ways to do this. You could edit the Exhibit popup code. Around line 267 in exhibit10p.php. Or (perhaps better for upgrades) you could create your own popup page and set the configuration file appropriately. I leave either of these options as an exercise for the user, since I have already written my fair share of popup code here. :)
    Regarding watermarks:
    I think that applying the watermark to the full image when adding it to a post might be the way to go because it'll give you the chance to manipulate it a bit before the watermark is applied. I can check the database when the image is added to the post and if it's not already in the table, the watermark will be applied.
    The more I think about it, I think this way might be the way to go. Get your transparent PNGs ready, friends, otherwise all of your images will say "Exhibit" on them!
    Removing a watermark can be done if the watermark is applied with an XOR operation. I don't know if GD (I doubt it) supports such a thing, but now I don't have to bother looking. :)
    At some point, I need to try getting some actual work-work done. Perhaps I will finish up with the watermark stuff today and release 1.1b. Maybe.

  27. ringmaster
    Member
    Posted 10 years ago #

    My guess is that you're using the preview_like_single option. Dang it!
    Somewhere around line 506 is this code:
    $ret = '<div id="exhibit_thumbs">'."\n";
    Change the "id" to "class" and update your CSS accordingly. This item is fixed in the dev build of 1.1b.

  28. symantix
    Member
    Posted 10 years ago #

    what file do I make this change in?

  29. symantix
    Member
    Posted 10 years ago #

    Okay, I figured it out, and that fixed it. My site is flawless again. ;)
    However, now that I have changed the id to a class in my css, it has removed the border from around the grouping of thumbs on each post. The border attribute was not changed; only the id to class. It doesn't look that bad, but I think I may like having the border better. Any ideas why that's happening?

  30. symantix
    Member
    Posted 10 years ago #

    Okay, the border is back now for some reason. I think it was a caching issue.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.