This example use the align-items value of stretch which results in all cards stretching to the maximum height. This is the initial value anyway. Auto-fill wll fit as many cards in each row, Each card has a minimum width of 250 pixels.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from PIL import Image | |
# Function to convert WebP images to PNG and upscale by 200% with 300 DPI | |
def convert_and_upscale_images(source_directory, destination_directory): | |
# Create the destination directory if it doesn't exist | |
os.makedirs(destination_directory, exist_ok=True) | |
for filename in os.listdir(source_directory): | |
if filename.endswith(".webp"): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Replace SmartObject’s Content and Save as JPG | |
// 2017, use it at your own risk | |
// Via @Circle B: https://graphicdesign.stackexchange.com/questions/92796/replacing-a-smart-object-in-bulk-with-photoshops-variable-data-or-scripts/93359 | |
// JPG code from here: https://forums.adobe.com/thread/737789 | |
#target photoshop | |
if (app.documents.length > 0) { | |
var myDocument = app.activeDocument; | |
var theName = myDocument.name.match(/(.*)\.[^\.]+$/)[1]; | |
var thePath = myDocument.path; |
- make sure to have Greasemonkey/Tampermonkey/Violentmonkey installed
- click here to install the
midjourney.user.js
userscript below. - confirm your intention to install the userscript.
- the "Open in discord" links should now open in your Discord app.
MidJourney batch image download solution that works with Chrome on desktop.
- Add this extension to Chrome: https://www.imageye.net/
- Then, go to discord.com and choose Open Discord in Your Browser.
- Navigate to where all your image generations are (for me that's the Midjourney Bot but it might be a channel, whatever)
- Scroll backward so all the images you want to download are in the browser (usually it shows just the most recent, so just scroll back until all the ones you want are loaded).
- Click the extension. It will say Searching Images.
- If the URL filter is not visible in the extension popup, click Tools to show it.
- Click "URL" in the extension popup and enter your username, then press Enter to filter for only images containing your username (so you only get your images).
- It will show a list of images that it found.
- Choose some other filters if you just want Large images or whatever.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row clearfix"> | |
<div class="col span_6 fwImage"> | |
<div id="video-gallery" class="royalSlider videoGallery rsDefault"> | |
<a class="rsImg" data-rsVideo="https://vimeo.com/45830194" href="https://b.vimeocdn.com/ts/319/715/319715493_640.jpg"> | |
<div class="rsTmb"> | |
<h5>Stanley Piano</h5> | |
<span>by Digital Kitchen</span> | |
</div> | |
</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="shortcut icon" href="favicon.ico"> | |
<title>Responsive Video Gallery</title> | |
<link rel="stylesheet" href="css/main.css"> | |
<link href='https://fonts.googleapis.com/css?family=Noto+Sans:400,700' rel='stylesheet' type='text/css'> |
NewerOlder