WordPress.org

Ideas

Allow images inserted in posts to link to the medium/large version

  1. davejuk
    Member

    12345

    When images are uploaded, I usually use a plugin (e.g. Imsanity) to resize the original to a more sensible size than some of the 10MP monsters some users like to upload - usually I specify max 1600x1600 which means I end up with 2MP photos at 1600x1200.

    When I insert one of these into a post, I usually use a thumbnail size around 150x150 and then link to a larger version using a Lightbox effect.

    The problem is that the WordPress editor only offers 3 automatic link generation options: None, File URL, and Attachment Post URL. Obviously the only option that will work with lightbox is File URL but this only allows me to link to the original 1600x1200 image. If I do this and someone is viewing the site at 1024x768 then a large portion of the image is off the screen and there is no obvious way to close the Lightbox windows.

    I suggest that instead of the "File URL" button, there should be "Medium File URL", "Large File URL", and "Original File URL". [Since this would mean there are now 5 options, maybe it would be more sensible to use a drop down menu?]

    At present I am forced to manually enter and test the Medium and Large image links every time I insert a thumbnail into a post. Not much fun.

    Thoughts?

    Posted: 2 years ago #
  2. Justin Tadlock
    WordPress God

    I actually agree that this might be a useful feature but not for the reason stated.

    If I do this and someone is viewing the site at 1024x768 then a large portion of the image is off the screen and there is no obvious way to close the Lightbox windows.

    This is enough of a reason to use another lightbox-type script that properly handles images based on the screen size. You'll run into this issue no matter what WordPress does with even smaller screen sizes. I recommend looking around for a better script.

    Posted: 2 years ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    5 Votes
  • Status

    This idea is under consideration

No tags yet.