Log in

View Full Version : url images problem


Jocla
06-08-2013, 02:15 AM
Hi, i installed script and have a problem with element style. Header images no display

so, i checked the url and:

http://domain.com/home/cpanelusername/public_html/adoptables/templates/elements/inc/images/center.png

¿what is wrong?

i think the url should be

http://domain.com/adoptables/templates/elements/inc/images/center.png

when i installed script completed the form as follows:

define('DOMAIN', 'mydomain.com'); //Your domain name (No http, www or . )
define('SCRIPTPATH', '/adoptables'); //The folder you installed this script in


in template.tpl i find this:

<img src="{$root}templates/elements/inc/images/center.png">


pd. sorry my english is bad :cfrown:
pd2: the same happens with left and right images :littlecfrown:

Hall of Famer
06-10-2013, 06:46 PM
umm the issue here is that the css for header image in element style uses relative path, which is tricky to get it right with the new script. I do not recommend using element style at this point though, but I can still have Tequila help with this problem if necessary.

Jocla
06-11-2013, 03:24 PM
so this is just a problem of style/theme?

i thought it was worse :bucktard:

but i don't know why {$root} make a loop

http://domain.com/home/cpanelusername/public_html/

in image's url

Alaric
06-12-2013, 12:32 AM
Hi, i installed script and have a problem with element style. Header images no display

so, i checked the url and:

http://domain.com/home/cpanelusername/public_html/adoptables/templates/elements/inc/images/center.png

¿what is wrong?

i think the url should be

http://domain.com/adoptables/templates/elements/inc/images/center.png

when i installed script completed the form as follows:

define('DOMAIN', 'mydomain.com'); //Your domain name (No http, www or . )
define('SCRIPTPATH', '/adoptables'); //The folder you installed this script in


in template.tpl i find this:

<img src="{$root}templates/elements/inc/images/center.png">


pd. sorry my english is bad :cfrown:
pd2: the same happens with left and right images :littlecfrown:

Have the same question.... :pleased: