Category: MMD2
-
Images in Child Themes / Themes
How to display images in a theme or childtheme in WordPress. For code samples see here. On Linux and perhaps some Mac systems you may have to change the owner of the folder to daemon:daemon and set chmod to 777 during development. When you launch the site online the file permissions must be more strict.…
-
Know WordPress
Create some posts. Just some text that comes to your mind. Add an image to the post. Why not share a video from YouTube. Tip: just paste the share link into your post. Save and see … Create a page. Adorn with videos and images you fancy. Add your page to the menu. Go to the frontend.…
-
How to write about code
In most projects at the Multimedia Communication and Design programme you will be asked to write an academic report following the academic standards from Harward. Since interaction and code has a weight of some 25% at the first and second semester and around 30% at the third semester it is natural to expect a similar…
-
The image registration point
On at JavaScript canvas the registration point is the top left corner. So in hit detection you have to calculate the x-position, the image width and height. In layout you should be able to figure out where to plage the images, and illustrations. Y = “up / down” X = “left / right” ( I…
-
The X and the Y axis
On the HTML canvas the top left corner is x = 0 and y = 0. The y-axis is “up & down”. The x-axis is “left & right”.