how to get a image upload option for ckeditor - php

I am not able to insert file manager and image upload option for ckeditor, please can some one share the php code for that, i tried to make this, not getting upload image option

You Can use a plugin in your ckeditor to image upload,
there are many image upload plugins available for ckeditor 2 are here
simpleuploads-plugin-for-ckeditor Demo.
ckfinder

Related

Joomla 3.0 custom video and image URL upload option

i have a joomla 3.0 component for movies sales (PICSELL) but i want to add an option where i can choose to upload movies using (Custom URL to upload movie and Images) the component already has file manager where to upload movies,images,prices,movie type (zip file or flv) and i want to add an option to it so that ones i put the url it will call both video and image from my server due to uploading problems and internet connection problem by uploading from file manager.while adding the URL option other information should be same in the file manager.so the option button will be shown ontop of the file manager to choose between uploading via file manager or via URL
how do i do that? what code will i use and where to use the code?
You want load videos from upload file or url path
i see the documentation and using multiple site.
Its totally free
General Video : Select when you upload video from your hard disk or
through a direct video file path
I have suggest yendif player

Upload Plugin Cakephp

I'm new in CakePHP and trying to learn but I don't understand this part very well..
I'm using this CakePHP Upload plugin to upload images for users(avatars) and using imagick it resize image to certain sizes(thumbs)...
I follow Upload plugin instructions for uploading image. I manage to store image file and image directory in database. So column photo in database would be (imagename.jpg) and photo directory would be userid,
for example (35). Image also appear in files/user/userid/imagename.jpg
Now may be it's funny but how I output this image and display in view file ? Also is there possibility to randomize file name ? (so the file name is not same as uploaded)
to view your upload in view files of CakePHP
you write in ctp files like
$html->link($html->image('files/user/".$userId."/".$ImageName."', array('alt'=>"User Image", 'border'=>"0"))
,'#',array('id'=>$userId, 'escape'=>false));
let me know if i can help you further,

image uploading through editor

I am trying to upload image for my application through an editor. I am using php. I think default tinymce is not so much flexible at least for a user. So is there any editor by which user can add image which will be from their computer? If so please let me know.
Great one, but paid:
Readctor - http://imperavi.com/redactor/
Easy-looking, easy-writeble functions (and for custom uploading ajax script too)

ckeditor, php, image display issue

I have a download.php file to display images on a web page as well as downloading files like pdfs, docs, etc.
in ckeditor if the src for the image is /download.php it dispalys like there is no image or broken link image, if the src for the image is http://www.mydomain.com/download.php my image displays just fine in ckeditor.
Any thoughts? And no i cant just make it put the full domain. There is a reason to long, complicated, and stupid to explain thanks to the web hosting company.
In the configuration you need to set the baseHref to the full path, then it will add that to the images/files you upload and insert.

Image upload and jCrop and codeigniter

I am trying to build a system that allows a user to select an image from their own computer, and crop it using the jCrop tool from jQuery. My question is can I show the image the user has selected from their system without uploading it to a system, I dont really want to do two uploads, unless I can do the first upload silently? Any help would be great.
Thank you.
You don't have to upload twice. Just upload the image at first time
Use jCrop and send image Thumbnail's coordinates(x,y), width and height.
Resize Image according to them
AFAIK, not using JavaScript and HTML (4) at the moment.
Flash can do image processing before upload - SWFUpload for example can resize images before uploading (doesn't support cropping though), but I don't know an Open Source implementation of a Cropping tool in Flash.
It will probably also be possible using HTML 5.
However, I don't see how you would need two uploads to do this? Isn't it 1. Upload 2. Show with Cropper 3. send Crop info to PHP script that processes the uploaded file?

Categories