Tag: images

Grav: Putting white space around an Image with CSS

I’ve done it for a long time, so it was just a matter of time before I could figure it out with Grav. With its distinct combo of markdown and HTML I had to find the right combination.

The problem was that once I put up an image with text flowing around it, the text would be placed right beside the image, leaving no extra white space. This is unpleasant to the eye and makes the text more difficlt to read. A mere 10 pixels of white space make all the difference.

Saving PSB Images from Chinese QQ QZone Wall

Chinese QQ QZone's photo image display javascript gets in the way of saving large images

Chinese QQ QZone’s photo image display javascript gets in the way of saving large images

On Chinese QQ QZone people have walls similar to FB. QZone uses an image display script in your browser. If the image is large when you right click and you can save the image as .PSB or .JPG, but it will not render in your browser, as .PSB is an unknown file type. I believe QQ’s javascript manipulated the image so you can zoom and move around, but this gets in the way if you want to see the original pic and zoom for yourself.