Google Drive WP Media
[resolved] Error with the URL Rewrite (5 posts)

  1. Kalyan Brata Das
    Posted 2 years ago #


    You just added a great feature. However, it seems there is an issue in implementing this. I am getting the following error when I clicked on the non-visible image link

    Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /*****/********/public_html/dainikjanakantha.net/wp-content/uploads/gdwpm_images/index.php on line 4


  2. sJnhguVlgrPv
    Posted 2 years ago #

    I have with the URL Rewrite too.
    I create folder and files. But when I try to upload new media through Add media I have error upload.
    See picture at bottom of page:

  3. Moch Amir
    Plugin Author

    Posted 2 years ago #

    @Kalyan Brata Das, you have manually add index.php file, right?
    edit index.php
    change this line

    $gdurl = "https://docs.google.com/uc?id=$_GET['imgid']&export=view";


    $gdurl = "https://docs.google.com/uc?id=" . $_GET['imgid'] . "&export=view";

    @sJnhguVlgrPv, if you create index.php manually then you can try to edit it too

    i'll fix this, thanks.

  4. Kalyan Brata Das
    Posted 2 years ago #

    just what the doctor ordered... thank you very much Moch.. It's perfectly working now.. really thankful for your lovely support.. kudos..

  5. sJnhguVlgrPv
    Posted 2 years ago #

    Thanks Moch! Its working. You are great man :)
    It would be still very good, if you added the ability to:
    WP to sliced ‚Äč‚Äčimages of different sizes and save them to google drive. Because now all the pictures on Google Drive it scales using css.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Drive WP Media
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.