Integration of jalbum in wordpress part 2
PLEASE NOTE: I no longer respond to questions submitted in the comments as I have given up using jalbum. But if you want to integrate jalbum in wordpress the information below should be helpful.
Okay, so the original setup of jalbum integration on this site started to bother me, so I tried out a new solution and I like this a lot better.
Cinematic Gold
Lad dig imponere af Blu-ray-film eller HDTV
To some this will sound like the simplest thing ever and for others it will probably sound a bit advanced, but I assure you that it’s really not. So here’s what you do if you want to integrate jalbum as a page in wordpress.
You have to make a custom page file (this is the part that might sound a bit advanced to some users, but just do as instructed and it should be quite easy).
Create a new textfile, and insert the following text in it:
<?php /* Template Name: photoalbum
*/ ?>
<?php get_header(); ?>
<center> <object data=”http://jalbum.url/index.html” width=”600″ height=”2500″ id=”gallery” name=”gallery”>Â Your browser could not include this object </object> </center>
<?php get_footer(); ?>
You of course have to put in the correct URL for your jalbum files instead of jalbum.url. Save this file as photoalbum.php in yourwordpress theme folder.
Now go to your wordpress control panel, and create a new page, now you should be able to select photoalbums as template for your page, select this and just give the page the headline photoalbumspublish it and you’re done.
And if you still want to have a sidebar on the page just insert the followin as the secondlast line in yourphotoalbums file:
<?php get_sidebar(); ?>
Anbefal denne artikel |
||
|
|
Tweet | |

Hi,
Thanks for the sugesstion.
I constantly am getting the error:Your browser could not include this object
Can you please help me?
Thanks a lot,
G.
this also happened to me once because wordpress didn't know how to translate the code, did you remember to paste the code on the HTML tab?
Hi,
Which HTML tab? Where can I find it?
you can see it on this picture
http://evmedreview.com/wp-content/uploads/2008/06…
Hi,
I though that I have to create a new file:
"You of course have to put in the correct URL for your jalbum files instead of jalbum.url. Save this file as photoalbum.php in yourwordpress theme folder."
sorry, you're right, I was thinking of the first solution i posted in part 1, so scratch me previous answers :s
did you remember to put a headline on the page after you selected it as a template?
what is a headline?
hey so i uploaded the photoalbum.php but i cant select it as a template on the new page tab…all i have under templates is archive ,default and links….please help how do i do it?
Hej Dorthe.
Dit indlæg var røget i spamfolderen så du må undskylde jeg først svarer nu. Kan ikke se dit album, så er lidt svært at svare på, du har jo nok slettet det fordi du blev træt af at vente, men skriv gerne igen hvis der er noget, dine beskeder skulle ikke ende i spamfiltret mere.
Just put this in a page with the album adjusted for page size … and insert the .css below
<iframe name="I1" src="http:///album URL" width="550" height="700">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
iframe {
border: 0px solid #ffffff;
}
.I1 {
margin-left: 10px;
position: relative;
width: 500px;
border:0px;
background-color:#fff;
}
as i can asume.. this album can notbe published in wordpress.com, mean free hosting scheme… Am i right.. ? pls confirm
hi ive been trying to get your method to work and i just keep having the same problem as the above user where it displays the cannot display message, on top of bunch of "par"s in random places all over my page. i included the head tag using the html tab that said photoalbumspublish. so what am i doing wrong?
where do i cand find html tab?
it wont work here
Leave your response!
Følg popcore.dk
Du kan altid få de seneste opdateringer fra popcore.dk ved at følge med på en af ovenstående tjenester.
Hvad er RSS?
Relaterede artikler
Menu
Nyeste artikler
Populære emner
Adventure spil android anmeldelse back to the future Bag siden billeder branding cebit 2011 computerhistorie computerspil En nemmere hverdag Evernote facebook Firefox geekculture google google plus internet iphone jalbum jon stewart Lucasarts marketing Medier Michael Jackson Microsoft Monkey Island msn.com nethandel politik reklamer Reportager review rock sjov startside Stephen Colbert Telltale Games tilbage til fremtiden Tips og tricks twitter wikipedia Wordpress xmarks youtube
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.