Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on Make images easily clickable for full-size viewing

Parent

Make images easily clickable for full-size viewing

+3
−0

I want to propose a feature that makes embedded images easily clickable, allowing them to be opened in full size (ideally in a new tab or lightbox-style overlay).

Currently you have to right-click on the image to open up the context menu:

  • Copy Image Link -> open it in a separate tab
  • Open Image in New Tab

Example

This comment by Olin makes me believe that this procedure isn't very intuitive or well known.
(I wanted to respond to his comment, but wasn't able to, because as a new user, I can only comment on my own posts and answers to them.)

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

Have you tried middle click to directly open the image in a new tab? (3 comments)
Show more
Post
+3
−0

Workaround

Until it's decided whether to implement an easier way to view a large version of the image (and how that should work from a user perspective), here's a way you can already make the image viewable with a single left click, to make things simpler for your readers:

Markdown allows making an image a link, so that clicking on it opens the link target.

Markdown for a standard image

![Description](URL to be displayed)

Black Mandelbrot set on a white background

This requires the user to work out how to open the image in a new tab, and it will remain at this low resolution. Hovering over the image shows a standard mouse cursor with no hint to the user.

Markdown for an image as a link

[![Description](URL to be displayed)](URL to be linked to)

Clickable black Mandelbrot set on a white background

This is a link to the image that the user can simply click on (to open in the same tab) or ctrl-click / cmd-click / middle-click (depending on their operating system and browser) to open in a new background tab. Hovering over the image shows the mouse cursor associated with a clickable link, making it easier for the user to discover this functionality. In many cases it will be worth also mentioning this explicitly (particularly as not every device can display a mouse cursor, for example touchscreens).

Notice that the two URLs do not have to be identical. You can display a low resolution image in the post, and link to a much higher resolution image to be viewed by users who choose to click on it (as has been done here - you can try clicking on it).

It isn't just the resolution that can be different. In the example in the question, just the central diagram could be displayed in the post, with the full image with surrounding context shown when clicked on (or whatever works best for your particular question).

Image attribution

The small image used in both examples:

The large image linked to in the second example:

  • Joshi1983, Public domain, via Wikimedia Commons
History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

This would be the ideal solution if the image uploader generated the image link in the format you sug... (2 comments)
This would be the ideal solution if the image uploader generated the image link in the format you sug...
Velvet‭ wrote 1 day ago · edited 1 day ago

This would be the ideal solution if the image uploader generated the image link in the format you suggested: "[![Some Description](Some URL)](Some URL)"

trichoplax‭ wrote 1 day ago

I like the idea of this provided it's still easy for people to upload a single image when they don't need this functionality. Perhaps the current behaviour but with a checkbox for "make image a link", which then gives more options.

It could get complicated though. The second URL doesn't even need to be an image. For example, you can include an image of a frog in your post, and make it a link to an article about frogs.