Does it resize the full-size images on upload or only create thumbnails?
Does it resize the full-size images on upload or only create thumbnails?
This version only creates thumbnails of directories of existing images.
The next version will optionally resize full-sized images when they're uploaded.
If it matters to you, you might want to double-check your XHTML compliance and see what can be done to get closer to it. Nice photos BTW! :-)
I have been trying to get thumbnails to work with no effect since I installed WP 1.2.
(more than a week ago)
When I upload a pic and ask for a thumbnail I get the errore message:
"Filetype not supported. Thumbnail not created"
No matter how hard I try, jpg, gif, jpeg, makes no difference, I haven't been able to ovecame this.
I must miss the obvious, perhaps some enabling code but how does it work?
Can anybody shed some lite?
added the plugin (great idea!) and can add pictures. however, the thumbnail doesnt show up in the post until you look at the comments.
i poked through your exhibit10.php and your validation issues stem from a few (5-7, dont remember the exact number) instances of image tags not being close ( /> ). I fixed it in my own copy of the file, but you may want to sort through and fix those few lines for other users.
i successfully validated after uploading the corrected file.
figured out how to get the images displayed on my main page, but i found out the thumbnail sizes i chose (default of 160px) was simply too large. if i dont have enough text in a post, the preview overlaps into other posts.
the problem lies in the fact that when the thumbs are created, they are done so with 664 permissions as 'nobody' for the owner. i cannot change the permissions using my actual account name.
the plugin does not have any option for deleting the thumbs from the 'edit' page and it does not give you the option to create thumbs unless it sees new images without thumbs.
see the problem yet? i want to make smaller thumbs for a couple of test images i have uploaded... but i cant delete the larger thumbs ... and i can't recreate/overwrite new ones for older ones.
i'll keep testing :D -- Michael
i added a new image and created a thumbnail, seems to have dynamically resized the other images as well ... i would still like the option to delete them should i choose to.
Very nice plugin. One issue I've seen is that before I add any images to a particular post, I get this error:
Database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
SELECT * FROM wp_exhibit WHERE post_ID = ;
It seems to be cosmetic only...I can add images to the post, and then everything works correctly.
Thanks for the contribution!
I was having the same problem as you with not being able to delete the thumbnails that it created. I discovered that with the filemanager plugin (check the wiki) I was able to delete the files one at a time. I'm guessing that on our ISP's servers, the scripts run as a different username than the one our account is under. Permissions seemed to be 644, which means that only the owner has write access.
thanks for the tip global guy, i'll give that a try.
I'm ready to send ringmaster, just need an e-mail addy. :)
this is nice ! - any way you can have these images display in an actual post instead of the bottom of the page ??
Would have been more easier if the images to be included in the post were selectable from a single list with thumbnails instead of two lists (one with image thumbnails and the other all images in folder listing, as is now).
This looks good in Mozilla and Opera (though it has some validation issues). However, the pictures don't show up at all in IE6. I haven't changed any of the options or the code, and the links still exist where the images should be. I'm guessing this is a CSS issue.
I seem to have found the problem. It had to do with the fact that I had a background attribute specified for my #content div. Fortunately, that attribute was redundant (I had the same background defined in #rap), so I was able to delete it, but this could be a problem. According to the document structure, this shouldn't be a problem. My guess is that it has something to do either with validation or with the fact that the exhibit stuff uses a separate CSS file.
a copy of exhibit10.php that i've modified to validate can be found here
Just wondering, how to create sub-folders under the images folder so as to arrange the photos/thumbnails better. I can't seem to find any way of creating subfolders and uploading images to different sub-folders from the admin interface.
Thanks and yeah a great plugin!
You have to FTP in and create the directories/upload the images within the "images" folder. You are correct, there is nothing in the admin section to create sub folders... yet... ::cough::but sure would be nice ::cough::
Note: the "validated" file you gave still doesn't validate. You can't have ampersands in the URLS without using the
& character. If you just have an ampersand, then the validator expects it to be the beginning of a special character, and it produces errors.
If one were to craft a way in which one might create new directories or allow the deletion of thumbnail files, what WordPress permission might one like that to be tied to? A minimum user level?
Also, validation looks pretty good in this, xircom, except you missed one input tag. I corrected that in my source, and will include it in my next release.
As far as ampersands go, they're prefectly legal in URLs, as long as you're using them like you're supposed to - to separate parameters. I sent the pages that Exhibit modifies to the validator, and they all work pretty well. At least, no errors having to do with ampersands. Actually in what I have here, there are two validation errors in the WordPress source, which makes it less valid than what code Exhibit is producing. ;)
ringmaster: "If one were to craft a way in which one might create new directories or allow the deletion of thumbnail files, what WordPress permission might one like that to be tied to? A minimum user level?"
I think its feasible to just have the admin (level 10) manage the directory creation and thumbnail deletion. This plugin is great in that it allows a gallery integration of sorts but it still lacks in adequate gallery management.
What sorts of features would better enable gallery managemenr? I'll consider them for addition to my next release.
One thing I am thinking about adding is a Gallery-like feature that will allow you to upload a zip file of images. The plugin will automatically unzip all of the photos into a directory, resize the originals according to your preferences, and create their thumbnails. The PHP upload size limit might cause issues here, but that's my general plan. I'm also planning on including a new uploading doo-dad that lets you pick/create sub directories for uploading.
All of this is relevant to security because you might want a user with a lower level to have upload access like this.
i dont know how the wordpress levels translate into file permissions, but given these are simply image files a chmod of at least 775 would be nice, so that we can delete them from sources outside of the WP interface.
sorry about the input field *blush*...
sounds like you have some cool plans for this plugin ... i look forward to seeing them.
Sweet plugin man! This is exactly what I was hoping for in a WordPress gallery plugin. Excellent job!
One nice little addition would be to have the ability to add small captions to the images while adding them to a post. Right now the captions all get set to Â©2004, it'd be neat to be able to change that when posting.
And the ability to create subdirectories would rock too, but that's already been mentioned.
Thanks again for a great plugin!
ummm....you CAN change that ... just type what you want in the little box next to the thumbnail ...
Holy crap, I'm a moron. Thanks xircom.
nah ... i've only met a few REAL morons in my short life. it took me a while to pay attention and realize you could change the text. it took me even longer to figure out that the preview option is what puts a photo in post on the main page. ; )
I don't have GD on my server, so can I use this?
I have installed this plugin as stated in the directions, and when I put photos in my images folder I can see them in the advanced edit portion for EXIBIT of an existing post, but I can't make anything happen.
I have uploaded my own thumbnails into a sub-folder called "t" with the photos having the same exact names as the thumbnails.
In any case, I can't anything to happen when I click "add current directory" the page just slowly reloads. In the "exibit" box it just says "no images ..."
Is this standard if I don't have GD on my server? I thought it would be possible to manually upload thumbs, and I sure wish I could, this looks to be a plugin I'd like to use. So, is there a hack for this plugin to make it use thumbs already in existence?
If that's already possible is it that my directory name should be different? Here is what I have on my site:
Example would be I have original photo in "birds" as below, and thumbnail with same name in "t" as below.
So is there a change in the above I should make?
Is there a hack to put into exibit10.php somewhere to make the above work?
Or is there something else that could be happening that is making my install of EXIBIT plugin not work? Any thoughts on this welcomed!
georgianlady: I've tried Exhibit with my GD disabled, and it works fine if the thumbnails are already there. There might be other features disabled in your PHP that are keeping it from working properly. As far as what you've written, it looks like it should work.
Debugging the post page is very difficult because of how it's constructed to return a result quickly, rather than waiting for everything to commit to the database. Is there some other plugin you have installed that acts on posts when you post them?
I would be happy to work on this with you off-board if you want (and I'm available, which is the tough part), just drop me an email. ringmaster[at]midnightcircus[dot]com or AIM: RngMstrOW
Thanks for the help ringmaster. I just starting playing around with it again, and finally just reloaded all the EXIBIT files and retried it all. Finally I found that something on my computer or on the server renamed my thumbnails making the "P" a small "p" and that made everything go funky, so it seemed to be a two-fold problem of some kind.
Basically, I was uterly confused as well when I found that renaming all my thumbs to "thumb-" in front of the regular name, and putting a copy of that in the "t" folder as well as a copy of each thumb into the same directory as the main photos, then EXIBIT recognized it all, but not the main photos ... ;)
So that told me to keep plugging away, something had to work. My server had messed my photos up, and it had something to do with the "make" feature in EXIBIT, when I clicked that yesterday to see if anything at all would happen ... oi.
If that sounds confusing, just know that it's all working fine now!
And for you others that may have problems:
Upload your photos into your images folder in a new directory: put your thumbs with the SAME EXACT NAME as the full size photos in a folder inside that named "t". (make a new directory inside of "images" for your photos, to sort them well, by date and subject, for instance) This is the manual way to do it, I do it with SFTP, so however you use a utility to upload onto your site, that'll work.
If it doesn't work. Try deactivating the plugin and reloading all the files.
All of the above was messed up at more than one time, causing my frustration. I'm usually very techy about stuff, so it was very frustrating to feel so dumb with this ;)
This topic has been closed to new replies.