Showing posts with label images. Show all posts

Every User Can Upload Images in WordPress Blogs



It may be WordPress security measure (is it? Really?). The users have different roles. Each role gets a certain set of privileges. But not having option to upload images for contributors is really hindering, isn’t it?


                                            where is the add images option?
  
                                                          



Image courtesy of David Castillo Dominici / FreeDigitalPhotos.net


If you are the only person to compose and publish posts, there’s no problem. You’ll never need to allow contributors to upload image. But what if it is a multi-authored blog? What if you welcome lots of guest posts? Is it not nuisance to receive preferred images in email, upload them and publish in the post written by your contributors?

I write posts for some great blogs – Ileane’s BasicBlogTips, Stephane’s Dukeo, Enstine’s emFastIncome, Erik’s NoPassiveIncome.com & Bashir’s Ajnabii. I will be writing soon for Devesh’s WPKube. And the problem is not less obstructing to me as well. In some cases, I compromised with the image the publisher set for my post and in some other cases I sent the images separately and requested them to fix it for me. I wish if they allow contributors to upload image.

Simply wonder why we not allowed to upload images.

When I was fixing images for Ambika’s post, I planned to look for ways so that the Bivori contributors can upload and insert images in their post. I went to Mr. know all – Google, and had a brief conversation.

Though the problem looks really big, the solution is startlingly simple! You can allow contributors to upload images within a couple of minutes if you’re not scared to touch the code of your theme

Okay, don’t be afraid, it is not that risky and we’ll not tough any core files!

How to  upload images?

Okay, to make this change in WordPress, you need a code snippet and know where to paste the snippet. Every theme has a functions.php file to add some codes to extend functionality of your blog. Find that file.

I got to it through Appearance » Editor » Theme Functions (functions.php)

Did you get that file? Does it already contain some codes? Fine, no problem. You’ll add the new code at the end of this file.

Now let’s fetch the required code.


if ( current_user_can(‘contributor’) && !current_user_can(‘upload_files’) )
add_action(‘admin_init’, ‘allow_contributor_uploads’);

function allow_contributor_uploads() {
$contributor = get_role(‘contributor’);
$contributor->add_cap(‘upload_files’);
}


Copy above code and paste it at the end in your functions.php file. Great! You did it!

Now your guest authors will be happy because they know what image goes best at where in their post. They are allowed to upload images in their posts!

Easy to Convert Video, Audio & Images For Different Devices With Adapter



We do almost everything with our smartphones and tablets now including swap multimedia fileswith friends. However, as most of us would subsequently be annoyed to find out, different devices require different formats of the same file to be able to play it properly.



Whether it is a video, music or audio clip, or even just image files, to find compatibility you will need a one-size-fits-all super conversion tool.

Adapter is that converter tool to help you convert videos, audio clips and images to popular and less than popular formats. You will never look at a converter tool the same way again.   



Using Adapter

Get adapter here, it is supported on both Windows and Mac platforms, and it is free. For videos, audio and image conversion, you can do batch conversions instead of converting files one by one.

Check out what conversions Adapter can do for you:

  • Video to Video
  • Video to Audio
  • Video to Image
  • Audio to Audio
  • Image to Image

Video To Video


When converting videos, Adapter lets you pick the platform you want to convert your videos into. By choosing which platform it will convert the video for, the settings will be optimized to suit the chosen platform.





With this feature, even if you don’t know which formats are the right ones, everything is done for you. You can choose to optimize videos for devices by:

  • Apple
  • Android
  • Sony
  • Microsoft
  • Nintendo
  • Blackberry
  • Nokia





Time Cropping

Adapter also has a few handy tools like for example, Time Cropping.

Once you have a video that you want to convert, you can choose to crop the sections of the videos you want and ready them for conversion. This way, you need not waste time converting parts of the video that you don’t want included.

Set the starting point of the video and the ending time and the cropping will occur at the start of the video conversion.





Working Within ITunes

For Apple device owners, Adapter allows you to directly convert and save the video to iTunes, so you can sync the video straight into your devices after the conversion.



Formats

According to settings, the converted video will be converted to the format which is compatible with the platform that you set for. But if you want to convert the files individually to other formats, you can.

Adapter can convert videos from and to:

  • MPG
  • FLV
  • SWF
  • AVI
  • MP4
  • MKV
  • GIF

Or you can create custom settings.


Video To Audio

If you need to convert a video to audio, Adapter does that too. The created audio files are saved in MP3, OGG, M4A and M4R format. If those don’t work, you can convert it further in the audio section.



Video To Image

Adapter also has this feature where you can export video frames and save it as an image file. If there is any scene from the video that you want screenshot, just click ‘Export Frame’. The image will be saved in JPEG format.



Audio To Audio

As for audio conversion, you can convert the audio to:

  • MP3
  • M4A
  • AC3
  • ACC
  • WAV
  • OGG
  • MKA
  • M4R



Similar to the feature for ‘video’, for audio you can cut the video and convert it at the same time. And, the converted audio file can be directly saved into iTunes.

And like other converters, you can adjust the settings for sample rate, bit rate, audio channelsand encoder.


Image To Image

Other than converting videos and audio, Adapter converts images too. It can convert images to:

  • BMP
  • PNG
  • GIF
  • TIFF
  • JPG

There are only minimal and basic settings for images: you can resize the image and adjust the image quality. Most of the time, that’s enough.




Extra: Download Video

Other than converting, Adapter can download videos from sites like YouTube straight from the application. After loading the video, if you press the ‘video’ tab, the downloaded video will be there. With that, you can get it converted straight instead locating the file and putting it into Adapter.




Limitations

As you can see Adapter is a great converter tool that has almost every conversion required figured out, in one application. But as with all tools, there are some minor limitations.

At the time of this writing, conversions aren’t supported for iPhone 5 yet, only up to iPhone 4S. We believe this is easily rectifiable. Another problem has to do with the video download feature – it isn’t actually working. We got the ad downloaded instead of the video plus the built-in browser doesn’t load very smoothly. But we still love Adapter because it is a conversion machine! Would you try it?
Related Posts Plugin for WordPress, Blogger...

- Copyright © 2013 All Ping