Jump to content

Bug while editing description of new cache


Team Fjordies

Recommended Posts

I am creating a page for a new cache and came across a weird (and for me somewhat annoying) bug. On the page I want to include a picture that, for reasons I don't want to discuss here, is just 25x25 pixels. Since that isn't really viewable for humans I want to make the image larger on the webpage. That is not too hard, since I can change the width & height just fine. But since it's a pixelated image, the image does not look like I want to.

 

Since we're not allowed to use a style-block (understandably), I try to use inline css. This is my code:

<img src="#insert-image-url-here#" style="width: 400px; height: 400px; image-rendering: pixelated; image-rendering: -moz-crisp-edges; image-rendering: crisp-edges;">

On my testpage (plain HTML) this works fine, but if I use this on my cachepage, the html changes to this after saving:

<img src="#insert-image-url-here#" style="width:400px;height:400px;image-rendering:crisp-edges;" />

And that is not the same... The page looks fine on FireFox, but on Chrome the image does not look like I want to.

Edited by Team Fjordies
Link to comment

As a workaround, perhaps you could take a screenshot of the expanded image when it's displayed the way you want, trim, and instead use that larger image.

 

I'm guessing it's a puzzle, exact behavior is important, and this solution wouldn't help.  In which case, never mind, good luck.

 

Edited by Viajero Perdido
  • Helpful 1
Link to comment
1 hour ago, Viajero Perdido said:

As a workaround, perhaps you could take a screenshot of the expanded image when it's displayed the way you want, trim, and instead use that larger image.

 

I'm guessing it's a puzzle, exact behavior is important, and this solution wouldn't help.  In which case, never mind, good luck.

 

The exact image is quite important in this case, but thanks for the suggestion :)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...