#12789 Images on the planet have weird sizes
Closed: Fixed by ankursinha. Opened by ankursinha.

NOTE

If your issue is for security or deals with sensitive info please
mark it as private using the checkbox below.

Please check https://www.fedorastatus.org for known outages
before filing a ticket about an outage.

Describe what you would like us to do:


Images seem to have weird sizes on the planet. Here's an example.
This is on Akash's website:

<!!image>

This is what it looks like on the planet, though:

<!!image>

I wonder if there's something in the planet theme that does this. For the NeuroFedora planets, we have this scriptlet in the theme that seems to keep images to a sane size:

https://neuroblog.fedoraproject.org/planet-neuroscientists/

  <script type="text/javascript">
    $( document ).ready(function(){
    $("img").addClass("img-responsive");
    $("figure").addClass("img-responsive");
    });
  </script>

Maybe something similar can be added to the template here to make images look more sane?

When do you need this to be done by? (YYYY/MM/DD)


Not urgent at all, just something I noticed.


Images didn't upload:

  • https://ankursinha.fedorapeople.org/misc/planet-images.png
  • https://ankursinha.fedorapeople.org/misc/planet-images-1.png

Metadata Update from @zlopez:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: low-gain, medium-trouble

Metadata Update from @phsmoura:
- Issue assigned to phsmoura

Metadata Update from @phsmoura:
- Issue tagged with: sprint-0

I updated CSS to create a standard size for images, videos and widgets separating them by context. It's not easy to change the style of images without them becoming distorted; not altering images in the entire page or that works well for all contexts, but I believe this issue has been solved.

@ankursinha please take a look when you have time

That looks much better + readable now. Thanks very much.

Metadata Update from @ankursinha:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @zlopez:
- Issue untagged with: sprint-0

Metadata