Support » Plugins and Hacks » Add Linked Images To Gallery » [Plugin: Add Linked Images To Gallery] Only getting thumbnail. Doesn't work with HTTPS

  • This is a great plugin, and with a little tweaking I was able to get it to work with Pages as well as Posts, but I am now running into two issues:

    1) The IMG tag in my case is linking to a thumbnail copy of the image and the outer a href is pointing to the full sized image. This plugin only grabs a copy of the thumbnail.

    2) It doesn’t work with images that are linked using HTTPS.

    http://wordpress.org/extend/plugins/add-linked-images-to-gallery-v01/

Viewing 1 replies (of 1 total)
  • I may have partially solved my own issue. Line 305 of import-external-images.php has the following code:
    preg_match( '/^http:\/\//' , $uri )

    I changed it to:
    `preg_match( ‘/^http/’ , $uri )’

    Now it includes HTTPS links, which as it turns out were what my full image hrefs started with.

    However I am running into a few more issues:
    1) This isn’t finding files that end with all caps (i.e. JPG)
    2) It doesn’t seem to gracefully handle image URL’s with %20’s in them.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Add Linked Images To Gallery] Only getting thumbnail. Doesn't work with HTTPS’ is closed to new replies.