Posted in Images
4478
1:31 am, May 1, 2022
 

Auto Changing Image URL

Here is a picsum url that you can use to generate image sizes, just change the numbers in the url to change its generated size. 

Some examples of the sizes you can use are below. 

HTML

<h3>A 20x20 Image URL, that changes every time its reloaded.</h3>
<img src='https://picsum.photos/20/20'>
<h3>A 120x120 Image URL, that changes every time its reloaded.</h3>
<img src='https://picsum.photos/120/120'>
<h3>A 300 x 300 Image URL, that changes every time its reloaded.</h3>
<img src='https://picsum.photos/300/300'>
<h3>A 800 x 600 Image URL, that changes every time its reloaded.</h3>
<img src='https://picsum.photos/800/600'>

A 20x20 Image URL, that changes every time its reloaded.

A 120x120 Image URL, that changes every time its reloaded.

A 300 x 300 Image URL, that changes every time its reloaded.

A 800 x 600 Image URL, that changes every time its reloaded.

View Statistics
This Week
125
This Month
396
This Year
1416

No Items Found.

Add Comment
Type in a Nick Name here
 
Other Items in Images
Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote

'Dawnie' used to say, "It's really quite simple: Be kind, and the rest takes care of itself. Never do anything that's not kind".


Dawn Atherton
Random CSS Property

counters()

The counters() CSS function enables nested counters, returning a concatenated string representing the current values of the named counters, if there are any. The counters() function has two forms: counters(name, string) or counters(name, string, style). It is generally used with pseudo-elements, but can be used, theoretically, anywhere a <string> value is supported. The generated text is the value of all counters with the given name, from outermost to innermost, separated by the specified string. The counters are rendered in the style indicated, defaulting to decimal if no style is specified.
counters() css reference