Tag: image

Proxmox VM boot from USB image

Proxmox VM boot from USB image

To boot from USB image in VM, such as USB image of memtest86-usb.img, import the disk as hard disk using following command.

qm importdisk 100 memtest86-usb.img upool1

Then

Add Unused disk into VM using Proxmox VM UI interface.

Then

Change boot order to new hard disk first in VM Options.

References

Attach a raw image as a USB disk to the VM

Usable Image with Different Size in WordPress

Usable Image with Different Size in WordPress

I was trying to find out the available pictures for same image in WordPress to enable fast download of small pictures in same page.

There are many pictures in different size, they can be found in WordPress html folder. Depending on the media configuration, maybe in different location. Here, only lists default location.

Location

The resized images files are in html/wp-content/uploads/<year>/<month> directory as the format of <picture_name>-<width>x<height>.jpg.

URL

Original image

Can be found at bottom Edit Media page as <picture_name>.jpg.

Scaled image

Can be found in text box File URL as <picture_name>-scaled.jpg

Other size images

Can change the scaled image URL to <picture_name>-<width>x<height>.jpg