Jump to content

Fancybox can't find image


supercel80

Recommended Posts

I want to implement fancybox in a cms page in the frontoffice. But when i click the image, fancybox pops-up. But no image is shown, just this message:

 

The requested content cannot be loaded. Please try again later.

 

This is how i implemented fancybox, included in the header.tpl:

 

<link href="{$base_dir}js/jquery/plugins/fancybox/jquery.fancybox.css" rel="stylesheet" type="text/css" media="screen" />

<script type="text/javascript" src="{$base_dir}js/jquery/plugins/fancybox/jquery.fancybox.js"></script>

<script>

$(function(){

$('#bigpic').fancybox({});

})

</script>

 

example:

http://tabletsuperstore.nl/content/9-wat-is-een-tablet

 

I could use some help or suggestions

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...