How to upload image in CKEditor using PHP | File Upload with HTML text editor - CKEditor

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024

Комментарии • 30

  • @azamani-x9s
    @azamani-x9s Год назад +1

    Thank you . After a lot of searching, finally solved it with your video

  • @luishernandez-nq2vq
    @luishernandez-nq2vq Год назад +1

    Hey! thank you very much for your video! it was helpful for me.

  • @duyphi5035
    @duyphi5035 Год назад +1

    Thanks you very much for your detailed steps. I wonder when we press the button "Send it to server" the image is moved to the specified folder first, then it will appear in the editing frame. But if we delete that image because of wrong selection and choose a new image again, how do we delete the old image from the server folder?

    • @TechnoSmarter
      @TechnoSmarter  Год назад

      For that insert that image name with extension in a database table for gallery purpose. You can create a database table for images and insert that image name in that database table from the upload.php file . After that fetch all images and delete using unlink if you don't want to use . You can reuse any image.
      Just create gallery and delete or resuse using image url .

  • @user-ke2tu7dt8j
    @user-ke2tu7dt8j Год назад +1

    Thank you my friend, your great and smart ^_^

  • @GovindLowanshi-j8q
    @GovindLowanshi-j8q Год назад +1

    hello sir
    i am getting this issue ;- An Error Was Encountered The action you have requested is not allowed.
    while uploading the image and i am deployingin fileZila
    how can i resolve this

    • @TechnoSmarter
      @TechnoSmarter  Год назад

      It looks like permission issue in your hosting . First of all , try it on localhost then move to live server.

    • @GovindLowanshi-j8q
      @GovindLowanshi-j8q Год назад

      @@TechnoSmarter hello sir thank you for the response , but can we connect ?
      it will be kind!

    • @TechnoSmarter
      @TechnoSmarter  Год назад

      You can contact on facebook or instagram page . Links are in description box.

  • @kavishkahenderson5724
    @kavishkahenderson5724 Год назад +1

    How can we solve the issue where a user uploads an image named "image1.png", later deletes it, and replaces it with another image named "image2.png", but the storage or database system fails to delete the previously deleted "image1.png" so that not database have Two images but we are using only one. any solution?

    • @TechnoSmarter
      @TechnoSmarter  Год назад

      Use unlink function while updating user image . The unlink() function deletes a file. First of all, fetch old image name and delete with unlink function then update and move new image in a folder.
      You can understand with this tutorial
      technosmarter.com/php/how-to-upload-image-display-edit-and-delete-in-php

  • @NIKHILSCI-t3g
    @NIKHILSCI-t3g Год назад +1

    can we make responsive image this uploaded image ?

    • @TechnoSmarter
      @TechnoSmarter  Год назад

      Yes , why not
      Use css to make it responsive .

    • @NIKHILSCI-t3g
      @NIKHILSCI-t3g Год назад

      but in my project uploaded image not make responsive with css @@TechnoSmarter

    • @TechnoSmarter
      @TechnoSmarter  Год назад

      .responsive-image {
      height: auto;
      width: 100%;
      }
      Or use bootstrap

    • @NIKHILSCI-t3g
      @NIKHILSCI-t3g Год назад

      in my case image upload with original width and height lnline css@@TechnoSmarter

  • @mishradheerajk
    @mishradheerajk Год назад

    My image properties are not editable why?? Also link,tables everything not editable

    • @TechnoSmarter
      @TechnoSmarter  Год назад

      Install proper working ckeditor.
      Watch this video .
      ruclips.net/video/KJttrJZXFOI/видео.htmlsi=Vrufkst3A13t6FWC

  • @haneefmyfitness5017
    @haneefmyfitness5017 10 месяцев назад

    Boss how to add templates in ck editor

    • @TechnoSmarter
      @TechnoSmarter  10 месяцев назад +1

      You will need to use inline css template and paste in code snippet of ck editor.

  • @GovindLowanshi-j8q
    @GovindLowanshi-j8q Год назад

    now i can make URL but i am getting broken image , how can i fix this issue?

    • @TechnoSmarter
      @TechnoSmarter  Год назад

      You have to set your image folder path in upload.php also check if image has uploaded in folder or not. Available in folder or not .

    • @GovindLowanshi-j8q
      @GovindLowanshi-j8q Год назад

      @@TechnoSmarter no it is not getting upload

    • @TechnoSmarter
      @TechnoSmarter  Год назад

      You have to write code to move image file. Watch complete video and write code .

    • @GovindLowanshi-j8q
      @GovindLowanshi-j8q Год назад

      i have message you on insta ,can we plz connect!

    • @GovindLowanshi-j8q
      @GovindLowanshi-j8q Год назад

      @@TechnoSmarter i have watch your video and write a complete code , still it is not getting upload