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.

How to resize images

+5
−0

I received a comment on my answer to https://proposals.codidact.com/posts/289594 about the image size. It is a perfectly valid point. For comparison, in StackExchange it is possible to resize by adding an m or s to the filename.

Do we have any similar capabilities here to resize images? I know I can resize my image locally, but that is not as practical for many users, plus I can see situations where a single image might be referenced in multiple posts (or multiple sections of one post) and resizing via some sort of code in the markdown text would be very helpful.

And if we already have this capability, can we add it to a help page so people (like me) can find it?

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

2 comment threads

You could do it manually (6 comments)
Slight improvement for wide images (1 comment)

1 answer

+5
−0

Technically, you can do it by writing HTML manually:

Code

<img src="https://codidact.com/community-assets/meta/logo-large.png" alt="Codidact logo" width="100px">

<img src="https://codidact.com/community-assets/meta/logo-large.png" alt="Codidact logo" width="200px">

Result

Codidact logo Codidact logo

This is rather tedious though, and relies on some knowledge of HTML, so it would be nice if this was integrated somehow.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »