Aesqe
Forum Replies Created
-
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] Pagination problem?@rickone – I’ll take a look and fix it for RC-11
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] Feature request: add filesyes, I’ve added the upload button in v1.7-RC11, which is coming this weekend. It’s calling the default WordPress media upload window, nothing special, tho. Maybe I’ll include the upload process in the metabox itself, later on, but it seems like an overkill at the moment.
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] Image Sizes@trixienolix: the media settings page sets options for the File Gallery metabox only – it doesn’t have anything to do with how galleries are displayed within posts.
The size used for the bigger image is “medium” and is hardcoded into the template, I’m afraid.
Forum: Plugins
In reply to: [Plugin: File Gallery] Simple template not work..@everyone – this sounds like the javascript part of the simple template isn’t loading for some reason.
Could anyone please post a link to an online version of a non-working example?
Thanks!
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] 1.7 RC10 and saving postsOK, found the problem and fixed it in RC11, will upload it soon.
It’s actually WordPress’ “fault” – if an attachment is not linked to the attachment page and has a “rel” value of “attachment”, WP will rewrite the link so it points to the attachment page. I’ll try to find the actual source code for this and find out why this is so.
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] 1.7 RC10 and saving posts@li-an: I suppose you’re talking about the single image insert, not gallery?
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] Template tag: does it make sense?another thread about css and javascript enqueueing when using shortcodes in template files: http://wordpress.org/support/topic/plugin-file-gallery-file-gallery-singlephp?replies=4#post-2385207
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] file gallery single.phpI’ll write up a tutorial to explain best practices when using the shortcode within template files.
And this could be a way to do it from the plugin point of view:
add a new attribute to the shortcode, ‘force_enqueue’ (true or false)
if set to true, enqueue javascript files in footer and, depending on a second new attribute – ‘force_enqueue_css’ (‘inject’ or ‘inline’), inject css links into header using javascript (I really dislike this part), or get css file contents and prepend them inline to HTML (in HTML5, if used with the ‘scope’ attribute, <style> tags are allowed inside <body>)
I’ll think some more about it, but, without output buffering, I don’t think there’s another way to do it…
I’ll definitely write up a tutorial as soon as I can 🙂
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] file gallery single.phpwhen calling the shortcode directly from the template, the CSS and JavaScript files are NOT enqueued automatically – you’ll have to do that manually.
The reason for this is, the CSS <link> tags must be in the <head> of the document, and since you’re calling the shortcode from within your template, the head part is already generated.
The only way would be to use JavaScript to inject the CSS <link> in the document after it has loaded – but I really don’t think that’s an generally acceptable solution.
that’s really where another plugin should step in, I currently see no need (and also don’t have the time :/) to add that functionality to File Gallery.
Attachments are also posts, so any favorites plugin should do. Visual display is then just a matter of a custom File Gallery template.
I’ve had no trouble working with (and modifiying) WP-Favorites plugin.
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] Template tag: does it make sense?yes, you should use wp_enqueue_style() to avoid linking of the same CSS files more than once 🙂
I’ve taken a look at Attachments Pro, and I don’t think that there is anything that plugin can do that File Gallery can’t 🙂
Writing open source code for mass market, for free, can be a painful process sometimes. Writing documentation for the code can be even more painful 😀
I think v1.7 is stable enough and ready with the release of File Gallery 1.7-RC10, so I’ll focus on refreshing the help files next.
Any ideas on how I can make File Gallery easier to use? Just write them here 😉
Forum: Plugins
In reply to: [File Gallery] File Gallery Plugin: supported media types?This mostly depends on the lightbox script you’re using.
Please download the latest release candidate from here: File Gallery 1.7-RC10.
Previous versions had lightboxes limited to images only – my mistake, sorry…
I’ve tested it out with PrettyPhoto and everything seems to work alright.
I’ve added PrettyPhoto support in latest release candidate of File Gallery.
Please download it from here: File Gallery 1.7-RC10
To make it work you need to:
1.) on the WP Admin -> Settings -> Media page, add ‘prettyPhoto‘ to the list of auto enqueued lightbox scripts (“Auto enqueue lightbox scripts for which link classes (separate with commas)?“)
2.) set [gallery] link class value to ‘prettyPhoto’
Please let me know if this works OK for you! 🙂
please check out File Gallery 1.7-RC10 and tell me if it looks alright now, I’ve made some minor modifications to the rtl css file.
you can download it from here: File Gallery 1.7-RC10
thanks! 🙂
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] Minor Slideshow Issuehey, Ironic_8b49 🙂
could you please post a link so I can see figure out what the problem is?
thanks!