Posts by OurWebMedia

552 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 100+ members
  • Located in Canada
  • Has collected 100+ items on Envato Market
+1 more
OurWebMedia says

function owm_get_attachment_id_from_url( $attachment_url = '' ) {

    global $wpdb;
    $attachment_id = false;

    // If there is no url, return.
    if ( '' == $attachment_url )
        return;

    // Get the upload directory paths
    $upload_dir_paths = wp_upload_dir();

    // Make sure the upload path base directory exists in the attachment URL, to verify that we're working with a media library image
    if ( false !== strpos( $attachment_url, $upload_dir_paths['baseurl'] ) ) {

        // If this is the URL of an auto-generated thumbnail, get the URL of the original image
        $attachment_url = preg_replace( '/-\d+x\d+(?=\.(jpg|jpeg|png|gif)$)/i', '', $attachment_url );

        // Remove the upload path base directory from the attachment URL
        $attachment_url = str_replace( $upload_dir_paths['baseurl'] . '/', '', $attachment_url );

        // Finally, run a custom database query to get the attachment ID from the modified attachment URL
        $attachment_id = $wpdb->get_var( $wpdb->prepare( "SELECT wposts.ID FROM $wpdb->posts wposts, $wpdb->postmeta wpostmeta WHERE wposts.ID = wpostmeta.post_id AND wpostmeta.meta_key = '_wp_attached_file' AND wpostmeta.meta_value = '%s' AND wposts.post_type = 'attachment'", $attachment_url ) );

    }

    return $attachment_id;
}
This is very useful in my case. Best thing, it doesn’t fail if the native image ends in -200×300.jpg (or some thing similar).
552 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 100+ members
  • Located in Canada
  • Has collected 100+ items on Envato Market
+1 more
OurWebMedia says
function owm_get_attachment_id_from_url( $attachment_url = '' ) {

    global $wpdb;
    $attachment_id = false;

    // If there is no url, return.
    if ( '' == $attachment_url )
        return;

    // Get the upload directory paths
    $upload_dir_paths = wp_upload_dir();

    // Make sure the upload path base directory exists in the attachment URL, to verify that we're working with a media library image
    if ( false !== strpos( $attachment_url, $upload_dir_paths['baseurl'] ) ) {

        // If this is the URL of an auto-generated thumbnail, get the URL of the original image
        $attachment_url = preg_replace( '/-\d+x\d+(?=\.(jpg|jpeg|png|gif)$)/i', '', $attachment_url );

        // Remove the upload path base directory from the attachment URL
        $attachment_url = str_replace( $upload_dir_paths['baseurl'] . '/', '', $attachment_url );

        // Finally, run a custom database query to get the attachment ID from the modified attachment URL
        $attachment_id = $wpdb->get_var( $wpdb->prepare( "SELECT wposts.ID FROM $wpdb->posts wposts, $wpdb->postmeta wpostmeta WHERE wposts.ID = wpostmeta.post_id AND wpostmeta.meta_key = '_wp_attached_file' AND wpostmeta.meta_value = '%s' AND wposts.post_type = 'attachment'", $attachment_url ) );

    }

    return $attachment_id;
}

This is very useful in my case. Best thing, it doesn’t fail if the native image ends in -200×300.jpg (or some thing similar).

552 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 100+ members
  • Located in Canada
  • Has collected 100+ items on Envato Market
+1 more
OurWebMedia says

Wow, congrats!

Two very impressive mile stones passed in the last few days! I haven’t been here nearly as long as many of you but in the last 2 years (almost 3) I have seen many changes on Theme Forest. Its amazing just to be able to participate in its growth.

Thanks Kriesi for being such an inspiration! Congrats!

- Bryce Wisekal

552 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 100+ members
  • Located in Canada
  • Has collected 100+ items on Envato Market
+1 more
OurWebMedia says

Absolutely inspiring! Congrats! You deserve it!

552 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 100+ members
  • Located in Canada
  • Has collected 100+ items on Envato Market
+1 more
OurWebMedia says

This is a great idea! I hope I’m able to participate but if not than I at least look forward to see who contributes images because @Steve that costume is absolutely awesome! I hope to see others creative like that. Homepage LEGO Man is inspirational ;)

- Bryce Wisekal

552 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 100+ members
  • Located in Canada
  • Has collected 100+ items on Envato Market
+1 more
OurWebMedia says

Hello,

It’s been nearly two years since I registered the name “Our Web Media” here in British Columbia Canada as my business name and lucked out enough to get the domain to match.

For the last two years I’ve been working as a “for-hire” developer and as things picked up, the direction of my company went from a one-man-show to a few freelancers working together, a company that also consults projects for Web Design and Development, software and etc.

I don’t claim to be the best, but I am fairly good at what I do and my team completes me where I’m weakest. There most definitely are people out there far more Superior in their skills and talents, but I cannot complain since I’ve not been working from home for 2+ years.

So anyways, now that you’ve a small glimpse into myself / business, I’ve never really taken time to build a portfolio or even brand our company. Now that I have enough clients and projects to include in a portfolio, I’m trying to think of the best way to approach it.

Before I can do anything though, I need to find my look and style. So my question is:

When you hear a company called “Our Web Media”, what do you think first? Furthermore, if you saw the company logo, what would you expect to see, just imagine it of course :)

Some suggestions, help, feedback, for logo inspiration and perhaps even a motto, would be fantastic and I’d forever be thankful of this assistance!

Kind regards, Bryce

552 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 100+ members
  • Located in Canada
  • Has collected 100+ items on Envato Market
+1 more
OurWebMedia says

Hi friends I hope that can you help me, i need a site that in the first page have a video and not a slide, also that have a blog page, if are in wordpress that better

Most templates for WordPress offer the ability to either deactivate the homepage slider or to enable another page template as your homepage. As well, lots support videos. You may just want to grab a coffee, clear your schedule for an hour or two and start sifting through the WordPress category for templates. There’s loads!

Depending on what exactly your wanting to do though, you may require development. You can always contact the authors of the templates that interest you and ask them about development rates and what would be required to accomplish specifically what it is you want.

Best of luck.

- Bryce Wisekal

552 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 100+ members
  • Located in Canada
  • Has collected 100+ items on Envato Market
+1 more
OurWebMedia says

Can anyone recommend some good shared hosting plan which is affordable and provides unlimited bandwidth and disk space? I’ve looked around a lot but can’t decide on anyone. I’m looking for something around $2 to $8 per month.

Sent you an email via your profile page. I didn’t want to spam the boards with my own hosting company but I offer authors exclusive rates and hosting plans. If your interested, shoot me back an email once you’ve read it :) Best of luck!

552 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 100+ members
  • Located in Canada
  • Has collected 100+ items on Envato Market
+1 more
OurWebMedia says

Thank you so much for your help! The shadow still won’t reach the full 875px to fill the container, though, and now it’s staying in a fixed position completely (I assume from the ‘fixed’ position addition) and when I scroll down over the images, it covers the images… ahhh it’s driving me crazy! I’ve tried changing SO many settings, and nothing so far has helped. Thank you for your help, though – I really appreciate it :-)

Are you still needing assistance with this? I saw your thread and clicked the link, I see your shadow is still having some issues. Where exactly are you wanting the shadow to show up?

For the “fixed” issue, just edit in the file “style.css”

Line #398 #slider-container-shadow { position: fixed; } to what you want it instead. Or you can always remove it entirely but to position where you want you’ll have to modify the css slightly.

552 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 100+ members
  • Located in Canada
  • Has collected 100+ items on Envato Market
+1 more
OurWebMedia says

Facebook is personal in my opinion.

Only people I have on my Facebook friends list are strictly Family. Twitter is where I spend a lot of my time being myself, talking, sharing and retweeting random things of interest.

I link to my Facebook account, but its not my personal Facebook account. It links to my Fanpage instead ;) Plus, I’m not that big a fan of Facebook nowadays. I love my Twitter! =)

I agree with lots said above though!!

by
by
by
by
by
by