56 |
Usage
57 |
Basic
58 |
59 | -
60 | Return aya 14 from surah 2 (al Baqarah)
61 |
placequran.com/2/14
62 |
63 |
64 | -
65 | Return aya 10 to 18 from surah 3 (ali Imran)
66 |
placequran.com/3/10-18
67 |
68 |
69 |
70 |
Mix aya
71 |
72 | -
73 | Return aya 20, 25, and 33 from surah 4 (an Nisa)
74 |
placequran.com/4/20,25,33
75 |
76 |
77 | -
78 | You can mix individual and range of aya. Below will return aya 2, 5, 7 - 10, and 13 from surah 5 (al Maidah)
79 |
placequran.com/5/2,5,7-10,13
80 |
81 |
82 |
83 |
Translation
84 |
85 | -
86 | Return aya 40 to 42 from surah 6 (Surat Al-'An`ām), with Arabic and Malay translation
87 |
placequran.com/6/40-42/ar,ms
88 | Below are the supported translations. (will add more upon request)
89 |
90 | - ar Arabic (Original Al-Quran Text)
91 | - en English (Yusuf Ali)
92 | - ms Malay (Basmeih)
93 | - in Indonesian (Bahasa Indonesia)
94 |
95 |
96 |
97 |
Size
98 |
By default, image size automatically adapts to the viewing device. To request a specific size regardless of the viewing device, put the size as prefix.
99 |
100 | -
101 | Always return the small image size.
102 |
placequran.com/s/2/14
103 | Where size can be s / m / l.
104 |
105 |
106 |
107 |
Use in HTML
108 | Since every request to the URL will get image response, you can put the URL inside any image source link.
109 |
<img src="https://placequran.com/2/70,71/ar,en"/>
110 |
111 |
Limitation
112 |
113 | - The first request will take few seconds, as it being generated. Subsequent requests will be blazing fast as it load from the CDN.
114 | - In a single image, only 15 aya and 3 translations can be displayed. Feel free to generate another one if you need more.
115 |
116 |