Aesqe
Forum Replies Created
-
Forum: Plugins
In reply to: file_gallery_shortcode helpyou could do something like this:
$images = file_gallery_shortcode(array("id" => $post->ID, "tags" => "example-tag", "tags_from" => "current", "link" => "file", "size" => "medium", "orderby" => "post_date", "output_type" => "array")); $image = $images[0];$image would then contain an array with all the information about the first image found for those args.
$image[‘params’] would contain additional image information supplied by File Gallery, something like this:
[params] => Array ( [image_class] => [link_class] => [rel] => [title] => IMG_2205 [caption] => [description] => [thumb_alt] => [link] => http://wpcl.localhost/wp-content/uploads/2010/09/IMG_2205.jpg [thumb_link] => http://wpcl.localhost/wp-content/uploads/2010/09/IMG_2205-300x225.jpg [thumb_width] => 300 [thumb_height] => 225 )hope this helps 🙂
I believe I’ve figured out what the problem is – I didn’t clarify well enough what the ‘default values’ options one the media settings page do.
They just set the default values for the File Gallery box on the post editing page – they don’t override the options you put in the shortcode.
However, I could implement that functionality, if needed.
Or did I get it wrong again? :/
Forum: Plugins
In reply to: file_gallery_shortcode helpHi, ttiefenbach 🙂
It seems I’ve overlooked the ID part of the original WordPress gallery implementation. Right now, it is only used if you specify a media tag list and set ‘tags_from’ to true…
I’ll try to release a new version today to fix this.
Sorry for the inconvenience :/
Please do send me the screenshots at aesqe@skyphe.org, I’ll be looking into this problem tomorrow. Thanks 🙂
Hi Lisa 🙂
1) When I click on that link, both galleries have the ‘file-gallery’ template applied :/ Maybe File Gallery caching is turned on?
2) Not from the top of my head, but if you could describe the process a bit – how you think it could work, that would certainly help 🙂
hi maor 🙂
I’ve added a CSS fix in latest development version. It will be included in next version, but I’ve also updated it in current stable (1.6.0.1), so you can re-download and re-install that one, if you wish.
thanks for reporting it 😉
Forum: Plugins
In reply to: [Plugin: File Gallery] Excluding a rel tag@raw-m:
The feature is implemented in the latest beta, along with plenty other improvements, including complete tinyMCE integration (although it only fully works in Firefox and Opera, for now).You can download it from here:
http://skyphe.org/code/wordpress/file-gallery/#comment-15482Forum: Plugins
In reply to: [Plugin: File Gallery] Excluding a rel tagThank you for the suggestion, Raw-m 🙂
I’ll try to release a new version with something like [gallery rel="false"] as soon as I can, probably by tomorrow.
Would that be OK, an option within shortcode?
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] Slide show display?Thank you, Lisa, I’m glad you like the plugin 🙂
Could you post a link or two of some slideshow examples/plugins, so I know what sort of template to create?
Forum: Plugins
In reply to: File Gallery is Highly Recommendedmerontofino: Could you tell me if the theme in question is a custom one or is it available for download somewhere? I’d be more than happy to make my plugin compatible with your slider.
Also, if my plugin has made some of your images disappear from posts and pages, could you explain that a bit further? I would really appreciate that, I certainly do not want that to happen to anyone.
And please feel free to contact me via e-mail if you prefer that way of communication (aesqe@skyphe.org).
Thanks in advance 🙂
Forum: Fixing WordPress
In reply to: A simple redirect using comment_post_redirect in functions.phpoh, the above worked? ok, haha, glad i could help 😉
Forum: Fixing WordPress
In reply to: A simple redirect using comment_post_redirect in functions.phpsorry, that should’ve been:
add_filter('get_comment_link', 'redirect_after_comment'); function redirect_after_comment($location) { return preg_replace("/#comment-([\d]+)/", "#comments", $location); }Forum: Fixing WordPress
In reply to: A simple redirect using comment_post_redirect in functions.phphaven’t tried it, but this should work 🙂
add_filter(‘comment_post_redirect’, ‘redirect_after_comment’);
function redirect_after_comment($location)
{
return preg_replace(“/#comment-([\d]+)/”, “#comments”, $location);
}Forum: Plugins
In reply to: File Gallery is Highly RecommendedThanks, guys, I’m glad you find it useful 🙂
Forum: Fixing WordPress
In reply to: Attach image to post from media libraryThanks for posting a link to my plugin, gasgarage 🙂
The plugin is in a stable state now and undergoing testing.
I’ll probably release it into the repository next week or the week after.Among other features, it offers detaching attachments from posts/pages, and also copying attachments from one post to another.
Please check it out and let me know how it works for you:
http://skyphe.org/code/wordpress/file-gallery/Thanks! 🙂