Forums

default images folder?

moomoochoo 16 Mar, 2009
Hi everyone,
I am trying to add an image to my form.
The problem I have is that I'm not sure where the default folder is. Do I put the picture file in the same folder as the css file or is it the default joomla images file, or somewhere else entirely?
I know I can change the location of the image file and edit the html/css accordingly, but if I don't know the default location it's a little hard.
Sorry for the noob question.
GreyHead 16 Mar, 2009
Hi moomoochoo,

There is no default image folder for ChronoForms. I suggest that you load the image to the Joomla images/stories folder and link to it there.

Bob
moomoochoo 16 Mar, 2009
Sorry, maybe I wasn't quite clear.
If I typed "background-image:url(images/mybackgroundimage.jpg); would the images folder mentioned in my code be referring to the joomla images folder? I.E. in my case /home/eigotab1/public_html/images??? <this is where joomla stores my pics
I guess what I'm trying to say is I'd like to know the starting reference folder that my code above refers to.
I know this is a noob question, but 've tried putting the pic into several folders and testing the page, but either I've messed up the code (which is quite possible) or I am referring to a folder that doesn't contain my image.
GreyHead 16 Mar, 2009
Hi moomoochoo,

If I remember correctly url(images/mybackgroundimage.jpg) will be relative to the current folder (which could change from place to place) and url(/images/mybackgroundimage.jpg) - with a leading / - will be relative to the site root.

With Joomla it's always safer to make your urls and paths as unambiguous as possible so I'd create a url relative to the root.

Bob
This topic is locked and no more replies can be posted.