src/content/post/how-to-create-a-weekly-photo-zine.mdx 8.0 K raw
1
---
2
title: "How To Create a Weekly Photo Zine"
3
publishDate: "08 June 2023"
4
description: "Learn how to use ChatGPT and Pinata to make a custom web photo zine with zero developer experience"
5
tags: ["web development", "ai", "chatgpt"]
6
ogImage: "https://miro.medium.com/v2/resize:fit:1400/format:webp/1*2Ym-4FvWAD65UiaTVZ67uA@2x.png"
7
---
8
9
import { Image } from "@astrojs/image/components";
10
import medium from "../../assets/medium.png";
11
import OutLinkButton from "../../components/OutLinkButton.astro";
12
import { YouTube } from "@astro-community/astro-embed-youtube";
13
14
<OutLinkButton
15
	link="https://medium.com/pinata/how-to-create-a-weekly-photo-zine-9f592e7a5ae2"
16
	site="Medium"
17
	image={medium}
18
/>
19
20
It’s no secret that AI has revolutionized the tech space, and we’ve already seen some incredible things made with it. ChatGPT was one that immediately proved valuable to everyday people, being capable of answering any kind of question, have an ongoing conversation, and do things you never could before. Beyond that, AI is quickly becoming a tool to democratize the creation of web content.
21
22
<YouTube id="3_5jdgiCrXI" />
23
24
Typically, if you want a custom web experience you would either need to hire a professional agency, perhaps get half way with a website builder, or learn to code yourself. But, that may not be the case soon. With AI the average person can ask the right questions and create elementary web content for their brand. In this guide, I’ll show you how to create a simple photo zine using ChatGPT and Pinata and how to update it on a weekly basis. Or, watch the video tutorial above.
25
26
## Pinata
27
28
First, you’ll want to sign up for an account with Pinata. I would recommend choosing the Picnic plan for this project as we will utilize its speed and flexibility for hosting our content. Once you have an account, you’ll want to start uploading all your images to be used for the zine. In this demo I’ve selected some of my favorite images from a trip I took a few years ago.
29
30
<Image
31
	src="https://miro.medium.com/v2/resize:fit:4800/format:webp/1*DIwVzCaXQliVmZNmaBmlDQ@2x.png"
32
	alt="Pinata Add Files"
33
	width={1920}
34
	aspectRatio={16 / 9}
35
/>
36
37
Once you have your content uploaded, you can click on the preview button to see your photo. Copy the URL for that image and paste it somewhere for later and repeat the process for however much content you want to put in your zine.
38
39
<Image
40
	src="https://miro.medium.com/v2/resize:fit:4800/format:webp/1*fOoOKMn_texWENXvLbyUwg@2x.png"
41
	alt="Pinata Preview"
42
	width={1920}
43
	aspectRatio={16 / 9}
44
/>
45
46
## ChatGPT
47
48
After you have done this it’s time to visit [ChatGPT](https://chat.openai.com). I would recommend starting with a prompt that tells ChatGPT who it is and what it will help you with, and ask if it has any questions. This will help set you up to make sure you have all the ground covered. Here is an example of what I said to start:
49
50
```
51
You are a mobile web developer. You have complete understanding of being able to prompt
52
ChatGPT. You will guide me through building a webpage. What questions do you have?
53
```
54
55
It will respond with several questions, so simply provide the answers like you see below.
56
57
<Image
58
	src="https://miro.medium.com/v2/resize:fit:4800/format:webp/1*al2t7LEUktAmcd2qKSDikA@2x.png"
59
	alt="ChatGPT Response"
60
	width={1920}
61
	aspectRatio={16 / 9}
62
/>
63
64
Below my last answer I went ahead and gave ChatGPT the content of text and image links, and just like that it generated the html content to start with. If it doesn’t finish generating all the code at once, you can click “continue generating” and it will keep going where it left off. Also be sure it includes all your content, make sure it knows you have zero programming knowledge and it needs to write everything on its own. Once it does this there should be a copy button at the top of the code box, so go ahead and click that:
65
66
<Image
67
	src="https://miro.medium.com/v2/resize:fit:4800/format:webp/1*vWdVJTZgck3BBA5oqHF0-g@2x.png"
68
	alt="ChatGPT Response"
69
	width={1920}
70
	aspectRatio={16 / 9}
71
/>
72
73
## Replit
74
75
Now to actually paste our code and see what it does, we will be using an online code editor called [Replit](https://replit.com). Just sign up for a free account, and in the top right corner you will want to click “Create Repl.”
76
77
<Image
78
	src="https://miro.medium.com/v2/resize:fit:4800/format:webp/1*d6dOx50styHgfdzVUSkPcQ@2x.png"
79
	alt="New Repl"
80
	width={1920}
81
	aspectRatio={16 / 9}
82
/>
83
84
After that you will want to select the HTML, CSS, and Javascript template and give your project a name.
85
86
<Image
87
	src="https://miro.medium.com/v2/resize:fit:4800/format:webp/1*6DZYT_oYQ-3ejp4rmRa_ZA@2x.png"
88
	alt="Choose repl template"
89
	width={1920}
90
	aspectRatio={16 / 9}
91
/>
92
93
Once you’re in your repl project, delete out the starter HTML and paste in your own code from ChatGPT, then hit CMD/CTR + S to save it. After that you should see on the right side your project:
94
95
<Image
96
	src="https://miro.medium.com/v2/resize:fit:4800/format:webp/1*Ve3BV5meR4oHFcPhKmaBuw@2x.png"
97
	alt="Repl screen"
98
	width={1920}
99
	aspectRatio={16 / 9}
100
/>
101
102
You can also change the size of your webview by clicking and dragging the pane to shrink it more towards a mobile view if that’s what you’re after.
103
104
Now your project will likely not be perfect right out of the gate, and you will want to make some changes. Since ChatGPT keeps that conversation history, you can go back and forth with it for the changes you want.
105
106
<Image
107
	src="https://miro.medium.com/v2/resize:fit:4800/format:webp/1*kJwlNIUnxBRselpxW8f-ig@2x.png"
108
	alt="ChatGPT Adjustments"
109
	width={1920}
110
	aspectRatio={16 / 9}
111
/>
112
113
The key is to make sure you are precise in what changes you want, and that ChatGPT gives you the updated code afterwards. Once you’ve gotten your zine looking the way you want it, click on the little dropdown arrow next to the index.html file and click “Download.”
114
115
<Image
116
	src="https://miro.medium.com/v2/resize:fit:4800/format:webp/1*29kNYSjhvijup06Mi6OeOA@2x.png"
117
	alt="Download HTML"
118
	width={1920}
119
	aspectRatio={16 / 9}
120
/>
121
122
After you have download the file, go ahead and upload it to Pinata just like you did for your image files. Then just click on that file to see your zine. You can view mine with this link:
123
124
[A Venture to the North East](https://stevedylanphoto.mypinata.cloud/ipfs/QmWAUQfKhJ19kZqcJLP6nPbHFRToiaFquGJ71gJEA4cRVT)
125
126
![Gif of zine](https://miro.medium.com/v2/resize:fit:1124/1*3XuUbuzy-CZAB-78TR-tTQ.gif)
127
128
## Gateway tip
129
130
Now here’s the bonus info: if you wanted to make this a weekly update, Pinata provides a pretty neat way to do that. First you would of course need to give ChatGPT your code and the update content and it could swap it out for you (or you could even take your hand at changing it in Replit!), and once you have uploaded the new index.html to Pinata, you can click on the “more” button next to the file and select “Set gateway as a root”
131
132
<Image
133
	src="https://miro.medium.com/v2/resize:fit:4800/format:webp/1*kZZWMcyP0tjhGDU_pCZj-w@2x.png"
134
	alt="Set gateway as root"
135
	width={1920}
136
	aspectRatio={16 / 9}
137
/>
138
139
What this will do is redirect my base url “https://stevedylanphoto.mypinata.cloud” to the new index.html file that was uploaded. I could keep updating it with each new file every week with a new photo zine, as well as improve it over time. Of course if you don’t like the “mypinata.cloud” domain for your zine, you could very easily use your own domain like “stevephotozine.com” and it would work exactly the same. My personal photography website is stevedylanphoto.com, so I just used “zine.stevedylanphoto.com” as a dedicated domain for this zine. Check it out:
140
141
[zine.stevedylanphoto.com](https://zine.stevedylanphoto.com)
142
143
We’re excited to see what you’ll make using these tools.
144
145
## Pinata Links:
146
147
[Explore our plans and start building today!](https://www.pinata.cloud/pricing?utm_source=medium&utm_medium=referral&utm_campaign=photo_zine_blog)
148
149
[Twitter](https://twitter.com/pinatacloud)
150
151
[Instagram](https://www.linkedin.com/company/pinatacloud)
152
153
[YouTube](https://www.youtube.com/c/Pinatacloud)
154
155
[Website](https://www.pinata.cloud/)
156
157
[Discord](https://discord.gg/pinata)