How to embed a php/javascript photogallery in a page of an html/css website?


Tags: php,javascript,css,embed

Problem :

I have downloaded a freeware photo gallery called Minishowcase (freeware http://minishowcase.net/?main) to use in my website. The gallery works fine as its own site, but I can't figure out how to embed it in a page of my own site, which is largely css. I think I just need a line or two of code to incorporate the gallery, but I'm new to php and javascript.

Minishowcase is a folder containing a php index file and multiple folders (cache, config, galleries, libraries, etc.)

Can anyone tell me how to embed the whole photo gallery into a page of my website?

Thanks!



Solution :

ok, this is pretty simple. first check to see if PHP is installed on the server your site is located in. a simple question to the admin would do the trick. to be honest most servers that host have php installed. then to check if php really works where your website is located, create a file info.php inside it to make sure php is installed incase the admin take long time to reply back to you.

<html>
<head>
<title> PHP Test Script </title>
</head>
<body>
<?php
phpinfo( );
?>
</body>
</html> 

Afterwards, open your browser and type in the address to view that page. Something like... http://www.yourdomain.com/info.php

phpinfo is one of the "built-in" functions that PHP does. There are many others, but this one is a nice one to use to start of as a test.

Ok this being done. then you simply follow the installation instructions given to you by minishowcase. Dont worry its not as hard as it seems. php is a very friendly programming language which is why many people use it. so just give it a go. if you need help setting minishowcase up even after having a go at following the instructions then just give me a shout.

Although you have enough information here to get on with it :D

If you need any more help do let me know.

PK


    CSS Howto..

    How to make sure pressed button remain “pressed down”

    how to select the 2nd child Div of a div using CSS

    How can I make responsive image take up 100% of its parent's height?

    How to pass parameter in CSS and then how to apply if..else on that parameter in ASP.NET?

    how to make div shadow only in belly part of box - css

    How to draw a centered line with a rectangle to one side in CSS

    How to make a CSS/javascript feature like this website? [closed]

    How to find out if an element is in a fixed positioned container?

    How to make entire div clickable with css only

    How to hide

    How to write syntax in internal css to external css?

    how to give top property define in css for chrome or firefox

    PHP foreach, CSS and jQuery script.. How to interact?

    CSS: 2-column table, how to make one column as small as possible but no wrap and the other as big as possible?

    How with JQuery cause Hover on diffrent element than mouse is currently on top of

    How to move the scrollbar down

    How to go from scrolling to fixed header [closed]

    how to change button icon on click?

    Couldn't understand CSS selectors meaning in the juizy slideshow stylesheet code

    How are multiple spaces showing in HTML, without pre, nbsp or white-space: pre?

    how to include absolute css path using add_editor_style() in wordpress

    How to separate settings and css in a less?

    How to override CSS style assigned to element

    How to define alternative font-family corresponding to font-size CSS

    How do I display div's next to each other within a wrapper div?

    How to move image slowly with animation when appending the image to tag

    Semantic UI css messing with min-width property. How do I fix?

    how to use font-faces in css file within spring 3

    how can i style processing.js element?

    Qt: Hower effect overlapped with selected tab