jquery maximage with editable background image?
Permalink
Hi Everyone,
I am trying to implement the jquery maximage plugin as a background image:http://www.aaronvanderzwan.com/maximage/bg.php,... but I wish to have the background image editable / changeable when in edit mode. Has anyone firstly used this and secondly managed to edit the site background dynamically?..
cheers
Paul
I am trying to implement the jquery maximage plugin as a background image:http://www.aaronvanderzwan.com/maximage/bg.php,... but I wish to have the background image editable / changeable when in edit mode. Has anyone firstly used this and secondly managed to edit the site background dynamically?..
cheers
Paul
Anyone help on this I'm getting desperate!
Add a file attribute (edit properties), then in your code you can access the file object
So this code probably won't work as it is.. but it should get you going in the right direction.
<?php $f = $c->getAttributeValue('attribute_handle'); $src = $f->getRelativePath(); ?>
So this code probably won't work as it is.. but it should get you going in the right direction.
check this thread out:
http://www.concrete5.org/community/forums/customizing_c5/page_attri...
http://www.concrete5.org/community/forums/customizing_c5/page_attri...