Jacob Dunn
Forum Replies Created
-
Still sounds like a bug, even if you didn’t need the feature. Thanks for bringing it to my attention!
Forum: Reviews
In reply to: [PB Responsive Images] Wow! This is exactly what I have been looking forAwesome! Glad it helped.
Forum: Plugins
In reply to: [PB Responsive Images] thumbnails image dissapearsHonestly, there’s just not enough information here to even start guessing at the problem. A link to an example is the ideal, really. Just to throw something out, I’d check to see if your permalink settings are correct, check the “Permalinks” tab in the contextual help screen for the plugin to find some debugging information.
Forum: Plugins
In reply to: [PB Responsive Images] update on orientation changeAwesome! Glad that helped.
Forum: Plugins
In reply to: [PB Responsive Images] update on orientation changeI’d say take a look at what header tags you’re using for controlling scaling on the iPhone first, actually. If you’re using the same tags as the 2014 theme:
<meta name="viewport" content="width=device-width">
Then the actual width of the browser window never changes, it just scales to fit the width of the orientation. The following viewport tags is my preferred method:
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
That will actually resize it correctly on rotate – which the polyfill this plugin uses should pick up on. If that doesn’t fix it, a URL to the site would help me determine the cause.
Forum: Plugins
In reply to: [PB Responsive Images] WordPress 3.9 visual editor blankHey guys,
I’ve released a bug fix for this issue, which will get this plugin working with 3.9. There will be a larger upgrade hitting soon which will make the plugin much more user-friendly, as well.
Thanks!
Forum: Plugins
In reply to: [PB Responsive Images] WordPress 3.9 visual editor blankThat’s no bueno. I’ll take a look at this immediately – thanks for the heads up.
Forum: Plugins
In reply to: [PB Responsive Images] After Activation, Images Disappeared.That would be my guess as well, but I can’t give any advice as to what the issue may be without seeing the problem. As a guess, if mod_rewrite or .htaccess are causing issues, you can bypass them by setting the base url to ‘{plugin-url}/slir/index.php?r=’ in the plugin settings.
Forum: Plugins
In reply to: [PB Responsive Images] After Activation, Images Disappeared.Hey Lisa,
No, it’s still under active maintenance – I just wasn’t able to get to this post, as I was under a particularly heavy work load at the time. It’s odd that the images aren’t showing up, do you have a url I can go to to see an example? Any additional information would be helpful, really.
Thanks!
Forum: Plugins
In reply to: [PB Responsive Images] sidebar positionHey Onsab,
It looks like the images aren’t responsive, nor would this plugin cause issues with the sidebar, unless there were some very odd side-effects in play here.
I’d recommend you take a look at your javascript console and revalidate the entire site, it’s more likely your issues are being caused by another plugin or script.
Forum: Plugins
In reply to: [PB Responsive Images] Minor code bugsHey Marblegravy,
Thanks for the heads up on the errors – I’ll get these patched in, it’s always nice having the fix along with the error report. As far as the last issue, it’s related to your other thread, in that
the_post_thumbnail()
doesn’t return a string for the plugin to work with, leaving it with the src undefined. I’ll add a sanity check in to just return nothing if it’s passed nothing (or probably better, throw an error, if in WP_DEBUG mode), but hopefully you’ll be able to resolve the separate issue there.Thanks!
Forum: Plugins
In reply to: [PB Responsive Images] Resizing the Featured Image?This code seems almost there, just a few things:
RIP::get_picture
only returns a string, it doesn’t output itthe_post_thumbnail
outputs a string, but doesn’t return it
Those two things in combination are why it always just shows the result from
the_post_thumbnail
. Try paring your code down to:<?php if ( has_post_thumbnail() ) : // check if the post has a Post Thumbnail assigned to it.?> <a title="<?php the_title_attribute( "echo=1" ); ?>" rel="bookmark" class="featured-image-link"> <?php if (class_exists( 'RIP' )){ echo RIP::get_picture(get_the_post_thumbnail()); } else { the_post_thumbnail(); }?> </a> <?php endif; ?>
Hope that helps!
Forum: Plugins
In reply to: [PB Responsive Images] centered imagesSure – this becomes a CSS issue, and can be solved by a few quick corrections. If you look at the styles in the twentytwelve theme as an example, they have the following styles for images:
/* Images */ .alignleft { float: left; } .alignright { float: right; } .aligncenter { display: block; margin-left: auto; margin-right: auto; }
To apply those styles to images contained within those selectors, you just have to refactor them slightly:
/* Images */ .alignleft, .alignleft img{ float: left; } .alignright, .alignright img{ float: right; } .aligncenter, .aligncenter img{ display: block; margin-left: auto; margin-right: auto; }
I kept the previous selectors in there as well, as it causes no issues to keep the backwards compatibility in this instance, just in case.
Hope that helps!
JakeForum: Plugins
In reply to: [PB Responsive Images] Newbie Instructions NeededMarking this as resolved, let me know if you’re still having issues!
Forum: Plugins
In reply to: [PB Responsive Images] Pre Set Settings IdeaAlso,
- A.) This is totally the place for feature requests – let me know if you have any other ideas here, contributions are always welcome.
- B.) I really wish this editor had a preview pane. I edited the crap out of that last message post publish – so ignore whatever you may have seen in the notification email… ??
Enjoy!
Jake