Aesqe
Forum Replies Created
-
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] check-all images fix [WP3.2]This is because WP 3.2 has the latest jQuery. The fix: replace all
.attr("checked"calls to.prop("checked"Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] Pagination fix@alx359: thank you for all your fixes and bug reports, they help a lot! 🙂
For this bug, the fix is simple – on line 902 in templating.php, instead of this:
while( 1 < $limit )there should be:
while( 1 < $limit && 0 < $c )I’m swamped with other work and can’t tell when 1.7 is coming out, but as WP 3.2 is here and there are some “real” bugs that need to be fixed, I hope to get to it within next few days.
Thanks again!
@joo-joo: I’m currently not able to spend any time developing File Gallery. I’ve asked for another developer’s help and I hope we’ll get it fixed soon.
The thing is – it should be working, as File Gallery’s javascript makes a clean call to the function the same way WP does. I’m sorry this bug has been present this long, I really hope we’ll be able to check it in as fixed soon.
My apologies :/
@danielkleindesign: you can change the document icon by using one of these two filters: ‘file_gallery_non_image_thumb_link’ or ‘file_gallery_crystal_url’.
you can find more info about them in the help file: http://skyphe.org/wp-content/plugins/file-gallery/help/index.html#filters
Forum: Plugins
In reply to: [File Gallery] Pagination links not working@satdaya: I’d say that the problem is in your ‘js.js’ file on line 47, where it says:
$j("a[rel^='prettyPhoto'], .prettyPhoto, .gallery a").prettyPhoto({try changing that to something more specific, like this:
$j("a[rel^='prettyPhoto'], .prettyPhoto, .gallery-item a").prettyPhoto({because ‘.gallery a’ selector catches the pagination links too 😉
Forum: Plugins
In reply to: [File Gallery] Paginate in Page Gallery@workpressed: can you paste here the code you’re using? thanks!
Forum: Plugins
In reply to: [Plugin: File Gallery] alignment of captions@pattaya_web: that’s how the default WordPress gallery template looks too, the code in the default template was more or less copy/pasted from WP 🙂
The easiest way would be to add something along these lines to your theme’s CSS, or create a custom File Gallery template with these same lines in ‘gallery.css’ file:
.gallery.columns_3 .gallery-item, #content .gallery.columns_3 .gallery-item { width: 30% !important; margin-right: 3% !important; }how you want to style the columns is, of course, all up to you. this code will force a 30% column width, with a 3% right margin.
here’s the help file section about custom File Gallery templates: http://skyphe.org/wp-content/plugins/file-gallery/help/index.html#your_own_templates
let me know if you get stuck 🙂
Forum: Plugins
In reply to: [Plugin: File Gallery] Simple template not work..hi dados 🙂
when you say “it doesn’t work”, what do you exactly mean?
does the gallery show up and the images won’t open in thickbox, or does the gallery not show up at all?
from the top of my head, File Gallery is too dependable on WordPress administration features to be easily incorporated into your frontend variant…
but if you only need a list of attached images, without any editing features, you can use either the default WordPress function
echo do_shortcode('[gallery mimetype="image" link="none"]');or
echo file_gallery_shortcode( array('mimetype' => 'image', 'link' => 'none') );?hi, danielkleindesign 🙂
try something like this:
echo file_gallery_shortcode( array('mimetype' => '*dwg,*pdf', 'link' => 'file') );if you need to add a custom mimetype to the list of allowed ones, take a look here: http://wordpress.stackexchange.com/questions/16222/can-upload-doc-and-pdf-but-not-ppt-not-permitted-for-security-reasons
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] featured imagesHi dashaluna 🙂
The easiest way would be to move the featured image to the first position in the thumbnails list on your post editing screen. You can drag and drop thumbnails to rearrange them and then click the “save attachment order” button to, well, save their order 🙂
That way, the featured image will be the first one in your array.
The other way is a bit more complicated and requires you to fetch the featured image id, check if the current attachment’s id is that same id in that foreach loop, remove it from array when found, and then push it back in at the beginning.
Let me know if you need more help 🙂
Forum: Plugins
In reply to: [File Gallery] Problem with magnify preview.hi cramdesign, and thank you for the compliment 🙂
I believe I’ve fixed this in the latest development version. Please download it from here and see if it works better for you: http://downloads.wordpress.org/plugin/file-gallery.zip
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] Problems after WP upgrade to 3.1OK, here goes the stupidest question of all: does it still pop up if you disable File Gallery?
Sorry, but I’m all out of ideas… :/
One other thing you could do is take a look at the “Error console” in Firefox. If it’s enabled, it will be available from the Tools menu. If not, then please follow these instructions on how to enable it: https://developer.mozilla.org/en/Error_Console.
So, open the Error console and click the Clear button.
Now open/refresh the page that pops the alert box and see if any error has been logged. If it has, then please paste it here.
It probably won’t show anything, but, like I said, I’m all out of ideas…
If it’s an option for you, smilenj and security_man, I’ll gladly take a look at your site’s backends and try to solve the mystery, and I’m guessing it would not take me more than 5 minutes.
You can contact me either via e-mail (aesqe at skyphe dot org) or skype (username: skyphe).
thanks 🙂
@joo-joo: I’ve been able to reproduce it, thanks for catching it! 🙂
I’ll fix it before 1.7 is out (should by out on Monday).
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] "simple" template – validatorwell, that’s because it’s in 1.7 (without RC) which I’ll upload to trunk when I get home from work (in an hour or two) – forgot to mention, sorry 🙂